[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DBSPWN1CWPXRCN10DN1KZE":3,"skill-same:01M7DBSPWN1CWPXRCN10DN1KZE":43},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7DBSPWN1CWPXRCN10DN1KZE","soldiers",null,"dreamfactory-gg\u002Fgutcheck","dreamfactory-gg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F296322377?v=4","01M7DBRRXF16SGVHG2HAV2B9EN","dreamfactory.gg","01M7DBRRZ8C01T9WNAZSEWAQ94",0,"MIT","https:\u002F\u002Fgithub.com\u002Fdreamfactory-gg\u002Fgutcheck\u002Fblob\u002Fmain\u002Ftokenmaxxing\u002Fskills\u002Fsoldiers\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: soldiers\ndescription: When handing a long tool loop (Studio, browser, debugger) to a subagent: reuse it while warm, retire it with a handoff note when large, off-topic or cold.\n---\n\n# Persistent soldiers: reuse while warm, retire with a note\n\nA soldier is a subagent you keep for a stretch of related work so its context (what it has read, what it learned) isn't rebuilt on every hand-off. Your judgment decides when to hand off at all; direct calls are the default.\n\n**Start.** Agent tool with a `name` (e.g. \"studio\") and a short brief: goal, ids and paths, how to verify, what you've ruled out. It replies with conclusions only.\n\n**Reuse** it with SendMessage (`to` = its name) while all three hold:\n- the work stays in the same area (same scripts, feature or bug);\n- it's warm: it answered within the subagent prompt cache lifetime (an hour with the 1-hour setting, 5 minutes by default; past it a resume re-reads its whole context at full price);\n- its context is still small.\n\n**Retire** it when its context is large, the topic changes or it has gone cold. SendMessage it:\n> retire: reply with your handoff note only. First line exactly `HANDOFF NOTE`, then under 30 lines: what you learned, the files (or scripts) and line ranges involved, what's done and what's open.\n\ntokenmaxxing saves that reply as the project's note for that agent type, and the next agent of the same type in this project gets it at start automatically (once). Then start the replacement with your brief as usual. `tokenmaxxing soldier-note [AGENT_TYPE]` prints the latest note (`--path` for its location).\n\n**Two costs to weigh.** A resume via SendMessage runs the agent in the background, so the main session spends about two extra turns per hand-off (wait, notification, result); a fresh launch in the foreground returns within the turn. And a subagent's prompt cache lasts 5 minutes by default (an hour only with `CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTL=1h` or a profile's `experimental: {cacheTtl: 1h}`), after which a resume re-sends its whole context at full price. Reuse pays only when the next piece of work is close, related and needs what the agent already read.\n\n**Per-type policies.** **Studio** (from a Studio MCP proxy's eval): call Studio directly while the main context is under ~100k; above that, start a fresh studio agent in the foreground for each Studio task and don't resume it. tokenmaxxing adds one line when a Studio call from a large main session should go to an agent, and one line if you try to resume a studio agent.\n\n**Thresholds.** When you resume an agent past them, tokenmaxxing adds one line suggesting retirement; it never blocks. They're in `~\u002F.config\u002Ftokenmaxxing\u002Fconfig.toml` under `[soldier]` (`max_context_tokens`, `max_idle_minutes`), per agent name or type under `[soldier.agents.\u003Cname>]`. The idle default follows the subagent cache lifetime (4 minutes, or 55 with the 1-hour setting); the size default is a placeholder.\n","# Persistent soldiers: reuse while warm, retire with a note\n\nA soldier is a subagent you keep for a stretch of related work so its context (what it has read, what it learned) isn't rebuilt on every hand-off. Your judgment decides when to hand off at all; direct calls are the default.\n\n**Start.** Agent tool with a `name` (e.g. \"studio\") and a short brief: goal, ids and paths, how to verify, what you've ruled out. It replies with conclusions only.\n\n**Reuse** it with SendMessage (`to` = its name) while all three hold:\n- the work stays in the same area (same scripts, feature or bug);\n- it's warm: it answered within the subagent prompt cache lifetime (an hour with the 1-hour setting, 5 minutes by default; past it a resume re-reads its whole context at full price);\n- its context is still small.\n\n**Retire** it when its context is large, the topic changes or it has gone cold. SendMessage it:\n> retire: reply with your handoff note only. First line exactly `HANDOFF NOTE`, then under 30 lines: what you learned, the files (or scripts) and line ranges involved, what's done and what's open.\n\ntokenmaxxing saves that reply as the project's note for that agent type, and the next agent of the same type in this project gets it at start automatically (once). Then start the replacement with your brief as usual. `tokenmaxxing soldier-note [AGENT_TYPE]` prints the latest note (`--path` for its location).\n\n**Two costs to weigh.** A resume via SendMessage runs the agent in the background, so the main session spends about two extra turns per hand-off (wait, notification, result); a fresh launch in the foreground returns within the turn. And a subagent's prompt cache lasts 5 minutes by default (an hour only with `CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTL=1h` or a profile's `experimental: {cacheTtl: 1h}`), after which a resume re-sends its whole context at full price. Reuse pays only when the next piece of work is close, related and needs what the agent already read.\n\n**Per-type policies.** **Studio** (from a Studio MCP proxy's eval): call Studio directly while the main context is under ~100k; above that, start a fresh studio agent in the foreground for each Studio task and don't resume it. tokenmaxxing adds one line when a Studio call from a large main session should go to an agent, and one line if you try to resume a studio agent.\n\n**Thresholds.** When you resume an agent past them, tokenmaxxing adds one line suggesting retirement; it never blocks. They're in `~\u002F.config\u002Ftokenmaxxing\u002Fconfig.toml` under `[soldier]` (`max_context_tokens`, `max_idle_minutes`), per agent name or type under `[soldier.agents.\u003Cname>]`. The idle default follows the subagent cache lifetime (4 minutes, or 55 with the 1-hour setting); the size default is a placeholder.\n",{},"main","f26a96bd6926328cdb08cf7a488ff9c6e805df7a","tokenmaxxing\u002Fskills\u002Fsoldiers","https:\u002F\u002Fgithub.com\u002Fdreamfactory-gg\u002Fgutcheck","https:\u002F\u002Fgithub.com\u002Fdreamfactory-gg","2026-11-06 04:10:24",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add dreamfactory-gg\u002Fgutcheck --skill soldiers",{"tool":35,"command":36},"bunx","bunx skills add dreamfactory-gg\u002Fgutcheck --skill soldiers",{"tool":38,"command":39},"pnpm","pnpm dlx skills add dreamfactory-gg\u002Fgutcheck --skill soldiers","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdreamfactory-gg\u002Fgutcheck\u002Fblob\u002Fmain\u002Ftokenmaxxing\u002Fskills\u002Fsoldiers\u002FSKILL.md",true,[],[44,51,58,65,71,78],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M7DBSM0V7JT6PWH19PMSV91D","report","Report what the tokenmaxxing hooks did over the last N days (default 7).","https:\u002F\u002Fgithub.com\u002Fdreamfactory-gg\u002Fgutcheck\u002Fblob\u002Fmain\u002Ftokenmaxxing\u002Fskills\u002Freport\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7DBSHPH2N3FXRCFRAREFR5B","recall","Search past sessions, memory, Codex logs and git history for an earlier decision, fix or approach.","https:\u002F\u002Fgithub.com\u002Fdreamfactory-gg\u002Fgutcheck\u002Fblob\u002Fmain\u002Ftokenmaxxing\u002Fskills\u002Frecall\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7DBSEYYSPR1TBJE2VCGMMZ0","lint-pair","Turn copied code or a bypassed helper into one helper plus an ast-grep rule that bans the second copy, scoped to one directory.","https:\u002F\u002Fgithub.com\u002Fdreamfactory-gg\u002Fgutcheck\u002Fblob\u002Fmain\u002Ftokenmaxxing\u002Fskills\u002Flint-pair\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7DBSCNWYXAJEFN8R641PSFT","jev","https:\u002F\u002Fgithub.com\u002Fdreamfactory-gg\u002Fgutcheck\u002Fblob\u002Fmain\u002Ftokenmaxxing\u002Fskills\u002Fjev\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7DBS9Z13CG15S72MDPZM3MN","init","Build or rebuild ~\u002F.config\u002Ftokenmaxxing\u002Fconfig.toml and the skill, doc and recall indexes from this user's history.","https:\u002F\u002Fgithub.com\u002Fdreamfactory-gg\u002Fgutcheck\u002Fblob\u002Fmain\u002Ftokenmaxxing\u002Fskills\u002Finit\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M7DBS6W5VXJR723VM21GV3KS","handoff","https:\u002F\u002Fgithub.com\u002Fdreamfactory-gg\u002Fgutcheck\u002Fblob\u002Fmain\u002Ftokenmaxxing\u002Fskills\u002Fhandoff\u002FSKILL.md",[],[]]