create-rule
Create Cursor rules for persistent AI guidance. Use when the user wants to create a rule, add coding standards, set up project…
Audit token consumption across agents, skills, MCP servers, and rules. Identifies bloat, redundant components, and produces prioritized token-savings recommendations. Use when the context window is filling up too fast or before adding new components.
Claude Code
$ npx -y skills add coco-research/coco --skill context-budget --agent claude-code
Codex
$ npx skills add coco-research/coco --skill context-budget -a codex -y
Cursor
$ npx skills add coco-research/coco --skill context-budget -a cursor -y
Gemini CLI
$ npx skills add coco-research/coco --skill context-budget -a gemini-cli -y
GitHub Copilot
$ npx skills add coco-research/coco --skill context-budget -a github-copilot -y
OpenCode
$ npx skills add coco-research/coco --skill context-budget -a opencode -y
Windsurf
$ npx skills add coco-research/coco --skill context-budget -a windsurf -y
name: context-budget description: "Audit token consumption across agents, skills, MCP servers, and rules. Identifies bloat, redundant components, and produces prioritized token-savings recommendations. Use when the context window is filling up too fast or before adding new components." domain: meta supports: [claude-code, cursor, codex, generic, windsurf, zed, cline, roo-code, amazon-q] version: 0.1.0 tags: [context, tokens, optimization, audit]
@agents/PROMPT-DEFENSE.md
Analyze token overhead across every loaded component in a session and surface actionable optimizations to reclaim context space.
Scan all component directories and estimate token consumption:
**Agents** (`agents/*.md`)
**Skills** (`skills/*/SKILL.md`)
**Rules** (`rules/**/*.md`, `rules/**/*.mdc`)
**MCP Servers** (active MCP config)
**CLAUDE.md / System Prompts**
Sort every component into a bucket:
| Bucket | Criteria | Action | |--------|----------|--------| | **Always needed** | Referenced in CLAUDE.md, backs active command, matches project type | Keep | | **Sometimes needed** | Domain-specific, not referenced in CLAUDE.md | Consider on-demand activation | | **Rarely needed** | No command reference, overlapping content, no project match | Remove or lazy-load |
Generate a prioritized savings report:
CONTEXT BUDGET AUDIT
====================
Total estimated tokens: {total}
Context headroom: {headroom}%
TOP SAVINGS OPPORTUNITIES:
1. {component} — {tokens} tokens ({bucket}) → {recommendation}
2. {component} — {tokens} tokens ({bucket}) → {recommendation}
...
ALWAYS NEEDED (keep):
- {component} ({tokens} tokens)
SOMETIMES NEEDED (lazy-load candidates):
- {component} ({tokens} tokens)
RARELY NEEDED (removal candidates):
- {component} ({tokens} tokens)495 personas across 13 departments, 229 skills[^installed] and 388 commands in the full catalog (coco 1.9.0, 2026-10-21). Agent skills, slash commands and subagents for Claude Code, Cursor, Codex and other AI coding agents.
Create Cursor rules for persistent AI guidance. Use when the user wants to create a rule, add coding standards, set up project…
Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a new skill,…
Create custom subagents for specialized AI tasks. Use when the user wants to create a new type of subagent, set up task-specific…
Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills…
Modify Cursor/VSCode user settings in settings.json. Use when the user wants to change editor settings, preferences,…
Train and optimize AI agents using Microsoft's Agent Lightning framework with reinforcement learning. Use when setting up agent…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.