Local, evidence-based usage statistics for Codex Skills
No API key · No telemetry · Nothing leaves your machine
English | 简体中文
| Feature | Status |
|---|---|
| Skills statistics (current focus) | Logs + Hook collection, merged and deduplicated by default |
| MCP statistics | Incomplete; real usage pipeline unverified |
| Hook execution statistics | Incomplete; offline imports only |
hooks install and the Skills table's Hooks column collect and show Skill evidence; --hooks measures Hook executions themselves.
Requires Node.js ^22.18.0 || >=24.11.0 and pnpm. Run from the repository root:
pnpm install --frozen-lockfile
pnpm run build
node ./dist/index.mjs setup
node ./dist/index.mjs --days 30Sample output (synthetic data; reproduce with --skill-evidence docs/examples/skill-comparison-combined.json):
Date: 2026-10-28 Mode: Logs + Hooks Counts Resolved evidence
│ Skill │ Logs Explicit │ Logs Inferred │ Hooks │ Unique Total │ Last Recorded │
│ handoff │ 2 │ 3 │ 4 │ 6 │ 2026-10-28 18:35 │
6 skill-turns · 1 skill
| Goal | Command |
|---|---|
| Default (deduplicated logs + hooks) | --days 30 |
| Skills: Logs only / Hook-collected evidence only | --skill-method logs / --skill-method hooks |
| Skill provenance and licenses | --provenance |
| Export JSON / Markdown | --json --output a.json / --markdown --output a.md |
| Refresh the mapping after adding skills or plugins | skills refresh |
| Install the live Skill collector (via Hook) | hooks install |
Append these to node ./dist/index.mjs; full flags are in --help.
- In the Skills table, Logs Explicit means an explicit request or injection; Logs Inferred means only a
SKILL.mdread (weak evidence); Hooks means Hook-collected Skill evidence, not Hook execution counts. - None of them prove that a skill executed successfully.
Unique Totaldeduplicates by instance + session + turn + skill. - Unresolved candidates are counted separately and excluded by default;
--skill-counts strictshows—for counts affected by unresolved evidence.
- Run
skills refreshafter plugin updates, otherwise reads of the new versions stay unmapped. - Skill collection via Hook requires enabling Hooks in Codex and trusting PreToolUse / Bash via
/hooks; it only covers records created afterwards. - JSON / Markdown may contain skill names and path digests; review before sharing. Verified on Windows only.
Docs: docs/ · Maintenance: MAINTENANCE.md · License: LICENSE. The Codex collectors derive from skillusage (MIT); see NOTICE.