skill-monitor
Skill1 starsChanged 4 months agoMITView on GitHub
Monitor local Agent Skill usage, Rules/AGENTS.md context bloat, and Task / sub-agent startup cost (starts × system-prompt volume). Use for skill frequency, skill token estimates, unused skills, context bloat, AGENTS.md / rules size, subagent cost, backfill from transcripts, or project skill tracking. Also use for skill 监控, skill 统计, skill 频率, Rules 膨胀, AGENTS.md 体积, 子 Agent / Task 成本.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- bd-dxg/skillstheir own version, first seen Sep 6, 2026
- oliver-kriska/claude-elixir-phoenixtheir own version, first seen Jul 21, 2026
- guiyuan0619/skill-monitortheir own version, first seen Mar 22, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- oliver-kriska/claude-elixir-phoenix★ 573same name
- bd-dxg/skills★ 28same name
- guiyuan0619/skill-monitor★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
Files
Skill Monitor
Track skill usage, always-on context bloat, and sub-agent startup cost in the
project-local data/ directory. Capture is best-effort.
Quick setup
node .cursor/skills/skill-monitor/scripts/cli.mjs setup --project . --hooks
node .cursor/skills/skill-monitor/scripts/cli.mjs backfill
node .cursor/skills/skill-monitor/scripts/cli.mjs backfill-tasks
node .cursor/skills/skill-monitor/scripts/cli.mjs analyze --project . --write
node .cursor/skills/skill-monitor/scripts/cli.mjs bloat --project . --snapshot --write
node .cursor/skills/skill-monitor/scripts/cli.mjs analyze-tasks --project . --writesetup --hooks installs:
beforeReadFile→ recordSKILL.mdloadssubagentStart+preToolUse(Task) → record sub-agent starts with Rules/AGENTS volume
Commands
| Command | Purpose |
setup [--hooks] | Init data/; merge Cursor hooks |
record --path <SKILL.md> | Record one skill use |
analyze [--write] | Skill frequency + est. tokens |
bloat [--snapshot] [--write] | Rules / AGENTS.md bloat + budgets |
record-task --type <name> | Record one Task / sub-agent start |
analyze-tasks [--write] | Startup cost: starts × avg prompt volume |
backfill | Skills from Cursor transcripts |
backfill-tasks | Task/subagent starts from transcripts |
reestimate | Refresh skill estTokens |
list-skills / summary | Discovery / aggregates |
Data layout
data/events.jsonl— skill loads (estTokens)data/summary.json— skill aggregatesdata/tasks.jsonl— sub-agent starts (systemPromptTokens)data/context-snapshots.jsonl— optional bloat historydata/report.md/bloat-report.md/tasks-report.md
Agent workflow
- Skill stats →
analyze --write - Context inflation →
bloat --snapshot --write - Sub-agent cost →
analyze-tasks --write(after hooks orbackfill-tasks) - Mention limits: estimates are not provider billing; hooks are strongest in Cursor.
Manual fallbacks
node .cursor/skills/skill-monitor/scripts/cli.mjs record --path "C:/path/to/skill/SKILL.md"
node .cursor/skills/skill-monitor/scripts/cli.mjs record-task --type explore --project .Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

