[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71JV79N6F2ZMYFD2A29QBM1":3,"skill-same:01M71JV79N6F2ZMYFD2A29QBM1":80},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":61,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M71JV79N6F2ZMYFD2A29QBM1","context-budget",null,"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.","coco-research\u002Fcoco","coco-research","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F68911604?v=4","01M71JRE9C4NM4NSZM4JD0BJTB","Coco Research","01M71JREA0ZMR0PMH3CKA99SN1",631,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fskills\u002Fcontext-budget\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"Budget","context budget","context","windsurf","new","context window","when","window","zed","cline","recommendations","token","across","MCP","token-savings","up","Meta","audit","code","components","2026-11-10 10:12:30",false,"---\nname: context-budget\ndescription: \"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.\"\ndomain: meta\nsupports: [claude-code, cursor, codex, generic, windsurf, zed, cline, roo-code, amazon-q]\nversion: 0.1.0\ntags: [context, tokens, optimization, audit]\n---\n\n@agents\u002FPROMPT-DEFENSE.md\n\n# Context Budget Audit\n\nAnalyze token overhead across every loaded component in a session and surface actionable optimizations to reclaim context space.\n\n## When to Use\n- Session performance feels sluggish or output quality is degrading\n- You've recently added many skills, agents, or MCP servers\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## Audit Procedure\n\n### Phase 1: Inventory\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 — skip identical copies to avoid double-counting\n\n**Rules** (`rules\u002F**\u002F*.md`, `rules\u002F**\u002F*.mdc`)\n- Count tokens per file\n- Flag: files >100 lines\n- Detect content overlap between rule files\n\n**MCP Servers** (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\n\n**CLAUDE.md \u002F System Prompts**\n- Count tokens in CLAUDE.md chain\n- Flag: combined total >300 lines\n\n### Phase 2: Classify\nSort every component into a bucket:\n\n| Bucket | Criteria | Action |\n|--------|----------|--------|\n| **Always needed** | Referenced in CLAUDE.md, backs active command, matches project type | Keep |\n| **Sometimes needed** | Domain-specific, not referenced in CLAUDE.md | Consider on-demand activation |\n| **Rarely needed** | No command reference, overlapping content, no project match | Remove or lazy-load |\n\n### Phase 3: Report\nGenerate a prioritized savings report:\n\n```\nCONTEXT BUDGET AUDIT\n====================\nTotal estimated tokens: {total}\nContext headroom: {headroom}%\n\nTOP SAVINGS OPPORTUNITIES:\n1. {component} — {tokens} tokens ({bucket}) → {recommendation}\n2. {component} — {tokens} tokens ({bucket}) → {recommendation}\n...\n\nALWAYS NEEDED (keep):\n- {component} ({tokens} tokens)\n\nSOMETIMES NEEDED (lazy-load candidates):\n- {component} ({tokens} tokens)\n\nRARELY NEEDED (removal candidates):\n- {component} ({tokens} tokens)\n```\n\n## Token Estimation Formula\n- English text: ~1.3 tokens per word\n- Code: ~1.5 tokens per word (more punctuation\u002Fsymbols)\n- YAML frontmatter: ~1.2 tokens per word\n- MCP tool schema: ~500 tokens per tool definition\n\n## Integration Points\n- Run automatically before `\u002Fteam:ship` to verify context headroom\n- Feed results to learning system as optimization instincts\n- Cross-reference with Brain DB decisions about past context issues\n","@agents\u002FPROMPT-DEFENSE.md\n\n# Context Budget Audit\n\nAnalyze token overhead across every loaded component in a session and surface actionable optimizations to reclaim context space.\n\n## When to Use\n- Session performance feels sluggish or output quality is degrading\n- You've recently added many skills, agents, or MCP servers\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## Audit Procedure\n\n### Phase 1: Inventory\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 — skip identical copies to avoid double-counting\n\n**Rules** (`rules\u002F**\u002F*.md`, `rules\u002F**\u002F*.mdc`)\n- Count tokens per file\n- Flag: files >100 lines\n- Detect content overlap between rule files\n\n**MCP Servers** (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\n\n**CLAUDE.md \u002F System Prompts**\n- Count tokens in CLAUDE.md chain\n- Flag: combined total >300 lines\n\n### Phase 2: Classify\nSort every component into a bucket:\n\n| Bucket | Criteria | Action |\n|--------|----------|--------|\n| **Always needed** | Referenced in CLAUDE.md, backs active command, matches project type | Keep |\n| **Sometimes needed** | Domain-specific, not referenced in CLAUDE.md | Consider on-demand activation |\n| **Rarely needed** | No command reference, overlapping content, no project match | Remove or lazy-load |\n\n### Phase 3: Report\nGenerate a prioritized savings report:\n\n```\nCONTEXT BUDGET AUDIT\n====================\nTotal estimated tokens: {total}\nContext headroom: {headroom}%\n\nTOP SAVINGS OPPORTUNITIES:\n1. {component} — {tokens} tokens ({bucket}) → {recommendation}\n2. {component} — {tokens} tokens ({bucket}) → {recommendation}\n...\n\nALWAYS NEEDED (keep):\n- {component} ({tokens} tokens)\n\nSOMETIMES NEEDED (lazy-load candidates):\n- {component} ({tokens} tokens)\n\nRARELY NEEDED (removal candidates):\n- {component} ({tokens} tokens)\n```\n\n## Token Estimation Formula\n- English text: ~1.3 tokens per word\n- Code: ~1.5 tokens per word (more punctuation\u002Fsymbols)\n- YAML frontmatter: ~1.2 tokens per word\n- MCP tool schema: ~500 tokens per tool definition\n\n## Integration Points\n- Run automatically before `\u002Fteam:ship` to verify context headroom\n- Feed results to learning system as optimization instincts\n- Cross-reference with Brain DB decisions about past context issues\n",{"name":5,"tags":44,"domain":47,"version":48,"supports":49,"description":7},[21,45,46,36],"tokens","optimization","meta","0.1.0",[50,51,52,53,22,27,28,54,55],"claude-code","cursor","codex","generic","roo-code","amazon-q","main","cd89f013b617f7eea982a9bbc60e992974fda2aa","skills\u002Fcontext-budget",15,"https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco","https:\u002F\u002Fcocoresearch.org\u002Fcoco\u002F","https:\u002F\u002Fgithub.com\u002Fcoco-research","https:\u002F\u002Fcocoresearch.org","Local-first, open-source tools for people who work with AI agents: governed memory, agents that check their own work, and data that stays on your machine.","2026-11-11 12:18:13",{"source":8,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add coco-research\u002Fcoco --skill context-budget",{"tool":72,"command":73},"bunx","bunx skills add coco-research\u002Fcoco --skill context-budget",{"tool":75,"command":76},"pnpm","pnpm dlx skills add coco-research\u002Fcoco --skill context-budget","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fskills\u002Fcontext-budget\u002FSKILL.md",true,[],[81,104,113,125,147,164],{"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":39},"01M71KEJXF9KMT0BWCMRSRFA4M","trading-super-intelligence","Trading Super Intelligence Team. Named real-world personas across 8 cells. Built local-first (LM Studio) and validator-gated. Illustrative composites; see DISCLAIMER.md.","https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fsystems\u002Fsuperintelligence\u002Ftrading\u002FSKILL.md",[],[88,89,90,91,92,93,94,95,96,97,31,98,99,100,101,102,103],"super","trading super intelligence","intelligence","trading","validator","personas","local","composites","studio","team","world","first","gated","2026","lm studio","local-first",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":39},"01M71KEFWS3CMAP7DF1P0FWTDE","strategy-super-intelligence","Strategy Super Intelligence Team. Named real-world personas across 7 cells. Built local-first (LM Studio) and validator-gated. Illustrative composites; see DISCLAIMER.md.","https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fsystems\u002Fsuperintelligence\u002Fstrategy\u002FSKILL.md",[],[111,88,112,90,92,93,94,95,96,97,31,98,99,100,101,102,103],"strategy","strategy super intelligence",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":39},"01M71KED56ZEPK2QE84QSQPMT0","risk-compliance-super-intelligence","Risk & Compliance (GRC) Super Intelligence Team. Named real-world personas across 7 cells. Built local-first (LM Studio) and validator-gated. Illustrative composites; see DISCLAIMER.md.","https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fsystems\u002Fsuperintelligence\u002Frisk-compliance\u002FSKILL.md",[],[120,88,121,122,123,90,92,93,94,95,124,96,97,31,98,99,100,101,102,103],"risk","risk compliance super intelligence","compliance","risk compliance","grc",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":39},"01M71KE9A2FWSC74VA96W1EZSN","product-design-super-intelligence","Your product + design brain trust and decision partner. Named personas across 8 cells spanning product strategy, discovery\u002Fresearch, growth\u002Fmetrics, design foundations\u002Fusability, design leadership\u002Fcraft, UX\u002Fcontent, design systems, and a…","https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fsystems\u002Fsuperintelligence\u002Fproduct-design\u002FSKILL.md",[],[132,133,90,134,88,135,136,137,138,139,140,97,31,141,142,101,143,144,145,146],"design","product","product design","product design super intelligence","foundations","product-design","decision","design systems","usability","leadership","ux","brain","craft","metrics","trust",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":39},"01M71KE6H9FPSD9TECYFBPXZ8Y","legal-ip-super-intelligence","Your legal, IP, and regulatory brain trust. 31 named personas across 7 cells covering patent strategy, tech licensing, regulatory litigation, AI governance, open-source compliance, privacy law, and antitrust.","https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fsystems\u002Fsuperintelligence\u002Flegal-ip\u002FSKILL.md",[],[154,88,155,90,156,157,146,158,93,159,160,161,111,97,31,162,122,163,101,143],"ip","legal ip super intelligence","legal","sep","tech","litigation","ai governance","open","open-source","governance",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":39},"01M71KE36QRY610V6YVB9JWRND","healthcare-life-sciences-super-intelligence","Your healthcare and life sciences brain trust. 25 named personas across 7 cells covering drug discovery, medtech, biotech strategy, health policy, genomics, clinical trials, and healthcare economics.","https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fsystems\u002Fsuperintelligence\u002Fhealthcare-life-sciences\u002FSKILL.md",[],[171,88,172,173,90,157,146,174,175,93,176,177,111,97,31,178,179,180,181,101],"healthcare","healthcare life sciences super intelligence","life","economics","discovery","policy","clinical","clinical trials","health","trials","genomics"]