[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BTF0ESZZ0NCF01DWXYA7HD":3,"skill-same:01M7BTF0ESZZ0NCF01DWXYA7HD":45},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7BTF0ESZZ0NCF01DWXYA7HD","token-playbook",null,"Token budget for Claude Code. Use when shrinking CLAUDE.md, choosing skills vs rules vs MCP, compressing tool output, or cutting always-on context.","sardul3\u002Fdev-conductor","sardul3","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F15206322?v=4","01M7BSB2NHRMBNC64JV4MS68FW","Sagar Poudel","01M7BTDJ7EB5S0711S7VCKYVX1",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsardul3\u002Fdev-conductor\u002Fblob\u002Fmain\u002Fskills\u002Ftoken-playbook\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: token-playbook\ndescription: Token budget for Claude Code. Use when shrinking CLAUDE.md, choosing skills vs rules vs MCP, compressing tool output, or cutting always-on context.\n---\n\n# Token playbook\n\nAlways-on text is paid on every turn. Prefer lazy load.\n\n## Where things go\n\n| Thing | Put it | Loads |\n| ----- | ------ | ----- |\n| Facts every session needs | Root `CLAUDE.md` | Every turn. Target **\u003C 200 lines \u002F ~500 tokens** |\n| Procedures | Skills (`SKILL.md`) | When invoked or relevant |\n| Language\u002Fstack law | `.claude\u002Frules\u002F*.md` with `paths:` | When a matching file is read |\n| Unscoped `.claude\u002Frules\u002F` | Do not | Same tax as CLAUDE.md |\n\nParent `CLAUDE.md` walks **up** from cwd. A fat file in `~\u002Fdev\u002FCLAUDE.md` taxes every repo under `~\u002Fdev`.\n\n## Work vs grill\n\n- Grill \u002F enrich: full sentences, numbered questions. No terse contract.\n- Work session (launched `claude --model`): short contract in the **prompt**, plus `PROMPT_ENRICH_WORK_SESSION=1`. Depth words (`thorough`, `walk me through`, `tutorial`) back the hook off.\n\nDo not install an always-on “be brief” skill. That fights interviews. Pattern from [denfry\u002Fclaude-skills token-efficiency](https:\u002F\u002Fgithub.com\u002Fdenfry\u002Fclaude-skills) (measured shorter replies); we scoped it to the work session only.\n\n## Tool output\n\nA 10k-line test log in context is worse than another prompt slot. `compress_output.py` (PostToolUse, Bash) replaces huge pytest\u002Fgradle\u002Fjest logs with **failures only** via `updatedToolOutput`.\n\n## MCP\n\nUnused MCP **schemas** load every session. User-scoped servers in `~\u002F.claude.json` cannot be “off by default” reliably ([issue #35591](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fclaude-code\u002Fissues\u002F35591)).\n\n- Keep Jira + IdentityIQ **out** of user scope. Enable per repo with `claude\u002Fmcp\u002Fenable-project-mcp.sh`.\n- Prefer `gh` over a GitHub MCP.\n- `\u002Fmcp` is per-session and easy to forget.\n\n## Skills vs agents\n\nSkill **descriptions** sit in a catalog; bodies load when relevant. Agent **descriptions** in `~\u002F.claude\u002Fagents\u002F` are always-on in the Task picker. Keep **few** agents (`code-reviewer`, `debugger`, `design-lead`). Put long procedures in skills.\n\n## Cursor\n\nA Java\u002FTemporal **User Rule** with always-apply is the same tax. Use `.cursor\u002Frules\u002F*.mdc` with `globs` and `alwaysApply: false`.\n","# Token playbook\n\nAlways-on text is paid on every turn. Prefer lazy load.\n\n## Where things go\n\n| Thing | Put it | Loads |\n| ----- | ------ | ----- |\n| Facts every session needs | Root `CLAUDE.md` | Every turn. Target **\u003C 200 lines \u002F ~500 tokens** |\n| Procedures | Skills (`SKILL.md`) | When invoked or relevant |\n| Language\u002Fstack law | `.claude\u002Frules\u002F*.md` with `paths:` | When a matching file is read |\n| Unscoped `.claude\u002Frules\u002F` | Do not | Same tax as CLAUDE.md |\n\nParent `CLAUDE.md` walks **up** from cwd. A fat file in `~\u002Fdev\u002FCLAUDE.md` taxes every repo under `~\u002Fdev`.\n\n## Work vs grill\n\n- Grill \u002F enrich: full sentences, numbered questions. No terse contract.\n- Work session (launched `claude --model`): short contract in the **prompt**, plus `PROMPT_ENRICH_WORK_SESSION=1`. Depth words (`thorough`, `walk me through`, `tutorial`) back the hook off.\n\nDo not install an always-on “be brief” skill. That fights interviews. Pattern from [denfry\u002Fclaude-skills token-efficiency](https:\u002F\u002Fgithub.com\u002Fdenfry\u002Fclaude-skills) (measured shorter replies); we scoped it to the work session only.\n\n## Tool output\n\nA 10k-line test log in context is worse than another prompt slot. `compress_output.py` (PostToolUse, Bash) replaces huge pytest\u002Fgradle\u002Fjest logs with **failures only** via `updatedToolOutput`.\n\n## MCP\n\nUnused MCP **schemas** load every session. User-scoped servers in `~\u002F.claude.json` cannot be “off by default” reliably ([issue #35591](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fclaude-code\u002Fissues\u002F35591)).\n\n- Keep Jira + IdentityIQ **out** of user scope. Enable per repo with `claude\u002Fmcp\u002Fenable-project-mcp.sh`.\n- Prefer `gh` over a GitHub MCP.\n- `\u002Fmcp` is per-session and easy to forget.\n\n## Skills vs agents\n\nSkill **descriptions** sit in a catalog; bodies load when relevant. Agent **descriptions** in `~\u002F.claude\u002Fagents\u002F` are always-on in the Task picker. Keep **few** agents (`code-reviewer`, `debugger`, `design-lead`). Put long procedures in skills.\n\n## Cursor\n\nA Java\u002FTemporal **User Rule** with always-apply is the same tax. Use `.cursor\u002Frules\u002F*.mdc` with `globs` and `alwaysApply: false`.\n",{"name":5,"description":7},"main","e34b29bf2163fe2ec07cc48ea9968ba527ad12b8","skills\u002Ftoken-playbook","https:\u002F\u002Fgithub.com\u002Fsardul3\u002Fdev-conductor","https:\u002F\u002Fgithub.com\u002Fsardul3","Software Engineer","2026-09-02 22:42:21",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add sardul3\u002Fdev-conductor --skill token-playbook",{"tool":37,"command":38},"bunx","bunx skills add sardul3\u002Fdev-conductor --skill token-playbook",{"tool":40,"command":41},"pnpm","pnpm dlx skills add sardul3\u002Fdev-conductor --skill token-playbook","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsardul3\u002Fdev-conductor\u002Fblob\u002Fmain\u002Fskills\u002Ftoken-playbook\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7BTF29TKRG4X6ZEN51MAE44","verify-before-done","Use before claiming work is complete, fixed, or passing, and before commit or PR. Run the proof command in this turn.","https:\u002F\u002Fgithub.com\u002Fsardul3\u002Fdev-conductor\u002Fblob\u002Fmain\u002Fskills\u002Fverify-before-done\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7BTEYMR6SZ108SFAG2ZZ3G5","test-writer","Write failing tests from a technical spec and public contracts only. Use in \u002Fdev-loop test-writer stage. Do not read implementation sources or write production code.","https:\u002F\u002Fgithub.com\u002Fsardul3\u002Fdev-conductor\u002Fblob\u002Fmain\u002Fskills\u002Ftest-writer\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7BTEVAZ353YZ6E9D7HEG80E","tdd","Use when implementing a feature or bugfix, before writing production code. Test first, watch it fail, then implement. Vertical slices at public seams.","https:\u002F\u002Fgithub.com\u002Fsardul3\u002Fdev-conductor\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7BTESN9S6ZXSVF7YQJB94R8","systematic-debugging","Use when hitting a bug, test failure, or unexpected behavior, before proposing a fix. Find root cause first.","https:\u002F\u002Fgithub.com\u002Fsardul3\u002Fdev-conductor\u002Fblob\u002Fmain\u002Fskills\u002Fsystematic-debugging\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},"01M7BTER6EM870R5PJF6SBBVTH","story-spec","Turn a Jira story into a technical spec via grill. Use in the spec stage of \u002Fdev-loop. Do not implement.","https:\u002F\u002Fgithub.com\u002Fsardul3\u002Fdev-conductor\u002Fblob\u002Fmain\u002Fskills\u002Fstory-spec\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},"01M7BTEP992DQ3VE0FMMYQKJB9","session-handoff","Compact this conversation into a handoff file for a fresh agent. Use when launching a clean Claude session or when the user asks for a handoff.","https:\u002F\u002Fgithub.com\u002Fsardul3\u002Fdev-conductor\u002Fblob\u002Fmain\u002Fskills\u002Fsession-handoff\u002FSKILL.md",[],[]]