AgentStack
SKILL verified MIT Self-run

Skill Monitor

skill-wei63w-skill-monitor-skill-monitor · by wei63w

>-

No reviews yet
0 installs
3 views
0.0% view→install

Install

$ agentstack add skill-wei63w-skill-monitor-skill-monitor

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

Are you the author of Skill Monitor? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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 → record SKILL.md loads
  • subagentStart + 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 aggregates
  • data/tasks.jsonl — sub-agent starts (systemPromptTokens)
  • data/context-snapshots.jsonl — optional bloat history
  • data/report.md / bloat-report.md / tasks-report.md

Agent workflow

  1. Skill stats → analyze --write
  2. Context inflation → bloat --snapshot --write
  3. Sub-agent cost → analyze-tasks --write (after hooks or backfill-tasks)
  4. 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.