Install
$ agentstack add skill-wei63w-skill-monitor-skill-monitor ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
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 . --write
setup --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 | Record one skill use | | analyze [--write] | Skill frequency + est. tokens | | bloat [--snapshot] [--write] | Rules / AGENTS.md bloat + budgets | | record-task --type | 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 .
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: wei63w
- Source: wei63w/skill-monitor
- License: MIT
- Homepage: https://skills.sh/wei63w/skill-monitor
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.