[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7APDN752NM1V5XHREQGMH8Q":3,"skill-same:01M7APDN752NM1V5XHREQGMH8Q":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7APDN752NM1V5XHREQGMH8Q","context-budget",null,"Audits Claude Code context window 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 and the agents, skills, MCP servers, or rules consuming it need to be identified.","Cyrilthetecchieee\u002Fcyril-code-","Cyrilthetecchieee","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219787998?v=4","01M7AF0MMMKRAA0H61XMJPV92H","Julian Cyril D ","01M7AF0MQ10AVG6QJQ1C2BC0F5",2,"MIT","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fskills\u002Fcontext-budget\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: context-budget\ndescription: Audits Claude Code context window 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 and the agents, skills, MCP servers, or rules consuming it need to be identified.\nmetadata:\n  origin: ECC\n---\n\n# Context Budget\n\nAnalyze token overhead across every loaded component in a Claude Code session and surface actionable optimizations to reclaim context space.\n\n## When to Use\n\n- Session performance feels sluggish or output quality is degrading\n- You've recently added many skills, agents, or MCP servers\n- You want to know how much context headroom you actually have\n- Planning to add more components and need to know if there's room\n- Running `\u002Fcontext-budget` command (this skill backs it)\n\n## How It Works\n\n### Phase 1: Inventory\n\nScan all component directories and estimate token consumption:\n\n**Agents** (`agents\u002F*.md`)\n- Count lines and tokens per file (words × 1.3)\n- Extract `description` frontmatter length\n- Flag: files >200 lines (heavy), description >30 words (bloated frontmatter)\n\n**Skills** (`skills\u002F*\u002FSKILL.md`)\n- Count tokens per SKILL.md\n- Flag: files >400 lines\n- Check for duplicate copies in `.agents\u002Fskills\u002F` — skip identical copies to avoid double-counting\n\n**Rules** (`rules\u002F**\u002F*.md`)\n- Count tokens per file\n- Flag: files >100 lines\n- Detect content overlap between rule files in the same language module\n\n**MCP Servers** (`.mcp.json` or active MCP config)\n- Count configured servers and total tool count\n- Estimate schema overhead at ~500 tokens per tool\n- Flag: servers with >20 tools, servers that wrap simple CLI commands (`gh`, `git`, `npm`, `supabase`, `vercel`)\n\n**CLAUDE.md** (project + user-level)\n- Count tokens per file in the CLAUDE.md chain\n- Flag: combined total >300 lines\n\n### Phase 2: Classify\n\nSort every component into a bucket:\n\n| Bucket | Criteria | Action |\n|--------|----------|--------|\n| **Always needed** | Referenced in CLAUDE.md, backs an active command, or matches current project type | Keep |\n| **Sometimes needed** | Domain-specific (e.g. language patterns), not referenced in CLAUDE.md | Consider on-demand activation |\n| **Rarely needed** | No command reference, overlapping content, or no obvious project match | Remove or lazy-load |\n\n### Phase 3: Detect Issues\n\nIdentify the following problem patterns:\n\n- **Bloated agent descriptions** — description >30 words in frontmatter loads into every Task tool invocation\n- **Heavy agents** — files >200 lines inflate Task tool context on every spawn\n- **Redundant components** — skills that duplicate agent logic, rules that duplicate CLAUDE.md\n- **MCP over-subscription** — >10 servers, or servers wrapping CLI tools available for free\n- **CLAUDE.md bloat** — verbose explanations, outdated sections, instructions that should be rules\n\n### Phase 4: Report\n\nProduce the context budget report:\n\n```\nContext Budget Report\n═══════════════════════════════════════\n\nTotal estimated overhead: ~XX,XXX tokens\nContext model: Claude Sonnet (200K window)\nEffective available context: ~XXX,XXX tokens (XX%)\n\nComponent Breakdown:\n┌─────────────────┬────────┬───────────┐\n│ Component       │ Count  │ Tokens    │\n├─────────────────┼────────┼───────────┤\n│ Agents          │ N      │ ~X,XXX    │\n│ Skills          │ N      │ ~X,XXX    │\n│ Rules           │ N      │ ~X,XXX    │\n│ MCP tools       │ N      │ ~XX,XXX   │\n│ CLAUDE.md       │ N      │ ~X,XXX    │\n└─────────────────┴────────┴───────────┘\n\nWARNING: Issues Found (N):\n[ranked by token savings]\n\nTop 3 Optimizations:\n1. [action] → save ~X,XXX tokens\n2. [action] → save ~X,XXX tokens\n3. [action] → save ~X,XXX tokens\n\nPotential savings: ~XX,XXX tokens (XX% of current overhead)\n```\n\nIn verbose mode, additionally output per-file token counts, line-by-line breakdown of the heaviest files, specific redundant lines between overlapping components, and MCP tool list with per-tool schema size estimates.\n\n## Examples\n\n**Basic audit**\n```\nUser: \u002Fcontext-budget\nSkill: Scans setup → 16 agents (12,400 tokens), 28 skills (6,200), 87 MCP tools (43,500), 2 CLAUDE.md (1,200)\n       Flags: 3 heavy agents, 14 MCP servers (3 CLI-replaceable)\n       Top saving: remove 3 MCP servers → -27,500 tokens (47% overhead reduction)\n```\n\n**Verbose mode**\n```\nUser: \u002Fcontext-budget --verbose\nSkill: Full report + per-file breakdown showing planner.md (213 lines, 1,840 tokens),\n       MCP tool list with per-tool sizes, duplicated rule lines side by side\n```\n\n**Pre-expansion check**\n```\nUser: I want to add 5 more MCP servers, do I have room?\nSkill: Current overhead 33% → adding 5 servers (~50 tools) would add ~25,000 tokens → pushes to 45% overhead\n       Recommendation: remove 2 CLI-replaceable servers first to stay under 40%\n```\n\n## Best Practices\n\n- **Token estimation**: use `words × 1.3` for prose, `chars \u002F 4` for code-heavy files\n- **MCP is the biggest lever**: each tool schema costs ~500 tokens; a 30-tool server costs more than all your skills combined\n- **Agent descriptions are loaded always**: even if the agent is never invoked, its description field is present in every Task tool context\n- **Verbose mode for debugging**: use when you need to pinpoint the exact files driving overhead, not for regular audits\n- **Audit after changes**: run after adding any agent, skill, or MCP server to catch creep early\n","# Context Budget\n\nAnalyze token overhead across every loaded component in a Claude Code session and surface actionable optimizations to reclaim context space.\n\n## When to Use\n\n- Session performance feels sluggish or output quality is degrading\n- You've recently added many skills, agents, or MCP servers\n- You want to know how much context headroom you actually have\n- Planning to add more components and need to know if there's room\n- Running `\u002Fcontext-budget` command (this skill backs it)\n\n## How It Works\n\n### Phase 1: Inventory\n\nScan all component directories and estimate token consumption:\n\n**Agents** (`agents\u002F*.md`)\n- Count lines and tokens per file (words × 1.3)\n- Extract `description` frontmatter length\n- Flag: files >200 lines (heavy), description >30 words (bloated frontmatter)\n\n**Skills** (`skills\u002F*\u002FSKILL.md`)\n- Count tokens per SKILL.md\n- Flag: files >400 lines\n- Check for duplicate copies in `.agents\u002Fskills\u002F` — skip identical copies to avoid double-counting\n\n**Rules** (`rules\u002F**\u002F*.md`)\n- Count tokens per file\n- Flag: files >100 lines\n- Detect content overlap between rule files in the same language module\n\n**MCP Servers** (`.mcp.json` or active MCP config)\n- Count configured servers and total tool count\n- Estimate schema overhead at ~500 tokens per tool\n- Flag: servers with >20 tools, servers that wrap simple CLI commands (`gh`, `git`, `npm`, `supabase`, `vercel`)\n\n**CLAUDE.md** (project + user-level)\n- Count tokens per file in the CLAUDE.md chain\n- Flag: combined total >300 lines\n\n### Phase 2: Classify\n\nSort every component into a bucket:\n\n| Bucket | Criteria | Action |\n|--------|----------|--------|\n| **Always needed** | Referenced in CLAUDE.md, backs an active command, or matches current project type | Keep |\n| **Sometimes needed** | Domain-specific (e.g. language patterns), not referenced in CLAUDE.md | Consider on-demand activation |\n| **Rarely needed** | No command reference, overlapping content, or no obvious project match | Remove or lazy-load |\n\n### Phase 3: Detect Issues\n\nIdentify the following problem patterns:\n\n- **Bloated agent descriptions** — description >30 words in frontmatter loads into every Task tool invocation\n- **Heavy agents** — files >200 lines inflate Task tool context on every spawn\n- **Redundant components** — skills that duplicate agent logic, rules that duplicate CLAUDE.md\n- **MCP over-subscription** — >10 servers, or servers wrapping CLI tools available for free\n- **CLAUDE.md bloat** — verbose explanations, outdated sections, instructions that should be rules\n\n### Phase 4: Report\n\nProduce the context budget report:\n\n```\nContext Budget Report\n═══════════════════════════════════════\n\nTotal estimated overhead: ~XX,XXX tokens\nContext model: Claude Sonnet (200K window)\nEffective available context: ~XXX,XXX tokens (XX%)\n\nComponent Breakdown:\n┌─────────────────┬────────┬───────────┐\n│ Component       │ Count  │ Tokens    │\n├─────────────────┼────────┼───────────┤\n│ Agents          │ N      │ ~X,XXX    │\n│ Skills          │ N      │ ~X,XXX    │\n│ Rules           │ N      │ ~X,XXX    │\n│ MCP tools       │ N      │ ~XX,XXX   │\n│ CLAUDE.md       │ N      │ ~X,XXX    │\n└─────────────────┴────────┴───────────┘\n\nWARNING: Issues Found (N):\n[ranked by token savings]\n\nTop 3 Optimizations:\n1. [action] → save ~X,XXX tokens\n2. [action] → save ~X,XXX tokens\n3. [action] → save ~X,XXX tokens\n\nPotential savings: ~XX,XXX tokens (XX% of current overhead)\n```\n\nIn verbose mode, additionally output per-file token counts, line-by-line breakdown of the heaviest files, specific redundant lines between overlapping components, and MCP tool list with per-tool schema size estimates.\n\n## Examples\n\n**Basic audit**\n```\nUser: \u002Fcontext-budget\nSkill: Scans setup → 16 agents (12,400 tokens), 28 skills (6,200), 87 MCP tools (43,500), 2 CLAUDE.md (1,200)\n       Flags: 3 heavy agents, 14 MCP servers (3 CLI-replaceable)\n       Top saving: remove 3 MCP servers → -27,500 tokens (47% overhead reduction)\n```\n\n**Verbose mode**\n```\nUser: \u002Fcontext-budget --verbose\nSkill: Full report + per-file breakdown showing planner.md (213 lines, 1,840 tokens),\n       MCP tool list with per-tool sizes, duplicated rule lines side by side\n```\n\n**Pre-expansion check**\n```\nUser: I want to add 5 more MCP servers, do I have room?\nSkill: Current overhead 33% → adding 5 servers (~50 tools) would add ~25,000 tokens → pushes to 45% overhead\n       Recommendation: remove 2 CLI-replaceable servers first to stay under 40%\n```\n\n## Best Practices\n\n- **Token estimation**: use `words × 1.3` for prose, `chars \u002F 4` for code-heavy files\n- **MCP is the biggest lever**: each tool schema costs ~500 tokens; a 30-tool server costs more than all your skills combined\n- **Agent descriptions are loaded always**: even if the agent is never invoked, its description field is present in every Task tool context\n- **Verbose mode for debugging**: use when you need to pinpoint the exact files driving overhead, not for regular audits\n- **Audit after changes**: run after adding any agent, skill, or MCP server to catch creep early\n",{"name":5,"metadata":24,"description":7},{"origin":25},"ECC","main","57e7aa6b6e03bce1a7d7862ba9c2ec312f7f19b5","src\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fskills\u002Fcontext-budget",0,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee","https:\u002F\u002Fwithcyril.me\u002F","Hi, I’m Julian Cyril D, a Computer Science and Business Systems student at PSNACET.\r\nI’m passionate about full-stack development, UI\u002FUX design, and building sma","2026-11-04 23:28:50",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Cyrilthetecchieee\u002Fcyril-code- --skill context-budget",{"tool":41,"command":42},"bunx","bunx skills add Cyrilthetecchieee\u002Fcyril-code- --skill context-budget",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Cyrilthetecchieee\u002Fcyril-code- --skill context-budget","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fskills\u002Fcontext-budget\u002FSKILL.md",true,[],[50,59,66,74,81,88],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":55,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7AQV6CYX8RMC78420V9WZ62","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7AQV2895N3S1MEX6K76G6G2","youtube-downloader","Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fvideo-downloader\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7AQTRNX62DNKVZ5GXEHRBKB","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7AQTNNVHAAN9H6DA8T6ZVE0","template-skill","Replace with description of the skill and when Claude should use it.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftemplate-skill\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7AQTJ3MQ6AKX152MEX2MYCC","tailored-resume-generator","Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftailored-resume-generator\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7AQTD7D5MYET2YWG7HG9WM3","slack-gif-creator","Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like \"make me a GIF for Slack of X doing Y\".","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FSKILL.md",[],[]]