[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71JV79N6F2ZMYFD2A29QBM1":3,"skill-same:01M71JV79N6F2ZMYFD2A29QBM1":93},{"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":31,"publishedAt":52,"linkOnly":53,"markdownContent":54,"markdownBody":55,"frontMatter":56,"refName":69,"commitSha":70,"skillDirectory":71,"forksCount":72,"repositoryHtmlUrl":73,"repositoryHomepageUrl":74,"ownerHtmlUrl":75,"ownerBlogUrl":76,"ownerDescription":77,"updatedAt":78,"install":79,"resources":92},"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",[18,23,28],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",{"categoryNo":29,"categoryName":30,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000040","财务",[32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],"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":57,"domain":60,"version":61,"supports":62,"description":7},[34,58,59,49],"tokens","optimization","meta","0.1.0",[63,64,65,66,35,40,41,67,68],"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":80,"prompt":90,"zipAvailable":91},[81,84,87],{"tool":82,"command":83},"npx","npx skills add coco-research\u002Fcoco --skill context-budget",{"tool":85,"command":86},"bunx","bunx skills add coco-research\u002Fcoco --skill context-budget",{"tool":88,"command":89},"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,[],[94,118,128,144,179,198],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":101,"publishedAt":52},"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",[100],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[102,103,104,105,106,107,108,109,110,111,44,112,113,114,115,116,117],"super","trading super intelligence","intelligence","trading","validator","personas","local","composites","studio","team","world","first","gated","2026","lm studio","local-first",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":125,"publishedAt":52},"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",[124],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[126,102,127,104,106,107,108,109,110,111,44,112,113,114,115,116,117],"strategy","strategy super intelligence",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":138,"publishedAt":52},"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",[134,135],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":136,"categoryName":137,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000037","律师与法务",[139,102,140,141,142,104,106,107,108,109,143,110,111,44,112,113,114,115,116,117],"risk","risk compliance super intelligence","compliance","risk compliance","grc",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":163,"publishedAt":52},"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",[150,153,156,157,160],{"categoryNo":151,"categoryName":152,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":154,"categoryName":155,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":158,"categoryName":159,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000031","产品经理",{"categoryNo":161,"categoryName":162,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000032","设计师",[164,165,104,166,102,167,168,169,170,171,172,111,44,173,174,115,175,176,177,178],"design","product","product design","product design super intelligence","foundations","product-design","decision","design systems","usability","leadership","ux","brain","craft","metrics","trust",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":187,"publishedAt":52},"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",[185,186],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":136,"categoryName":137,"taxonomyType":26,"taxonomyTypeDesc":27},[188,102,189,104,190,191,178,192,107,193,194,195,126,111,44,196,141,197,115,175],"ip","legal ip super intelligence","legal","sep","tech","litigation","ai governance","open","open-source","governance",{"skillNo":199,"name":200,"nameZh":6,"description":201,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":202,"categories":203,"keywords":205,"publishedAt":52},"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",[204],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[206,102,207,208,104,191,178,209,210,107,211,212,126,111,44,213,214,215,216,115],"healthcare","healthcare life sciences super intelligence","life","economics","discovery","policy","clinical","clinical trials","health","trials","genomics"]