[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADEWPYPRYHSMV97WJATP8S":3,"skill-same:01M7ADEWPYPRYHSMV97WJATP8S":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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M7ADEWPYPRYHSMV97WJATP8S","cost-optimization",null,"Use when the user wants to reduce token, compute, or infrastructure costs. Covers context window budget, MCP selection, caching, model routing, and query optimization.","Leostruka\u002Fdevin-bundle","Leostruka","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81370685?v=4","01M7AD8MAK63VDNAWRDRRRW04N","leandro ostruka","01M7AD8MBS65YDS1KMMV7YPM07",0,"MIT","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fcost-optimization\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cost-optimization\ndescription: Use when the user wants to reduce token, compute, or infrastructure costs. Covers context window budget, MCP selection, caching, model routing, and query optimization.\ntriggers: [user, model]\n---\n\n# Cost Optimization\n\nReduce token, compute, and infrastructure spend.\n\n## When to use\n\n- Token bills are high.\n- Need to choose a cheaper model for a subtask.\n- MCP servers are bloating context.\n- Caching or routing can save cost.\n\n## Core protocol\n\n1. **Measure current cost.** Tokens per request, model tier, cache hit rate.\n2. **Audit context usage.** Use `mcp-context-audit` to find heavy MCP tool definitions.\n3. **Right-size effort.** Use `swe-2-max`\u002F`swe-2-flash-high`\u002F`swe-2-flash-medium` for subagents and `swe-2-high` for the free primary model; use paid models only when explicitly approved. After the SWE-2 free window closes (2026-11-30), `swe-2-flash-medium` is the only permanent-free variant.\n4. **Add caching.** Reuse previous tool outputs and summaries where safe.\n5. **Shorten prompts.** Remove unused context, prefer file snippets over full reads.\n6. **Re-measure.** Compare cost before and after.\n\n## Context and loop cost controls\n\n- **Subagents first.** Delegate heavy exploration to `swe-2-max` subagents; keep the main context lean.\n- **Token limit.** Use `tokens-limit` or equivalent budget guard when available; stop if the threshold is exceeded.\n- **Clear vs compact.** Default to `clear` between unrelated tasks; `compact` only when continuity is required. Compaction is lossy.\n- **Parallelism.** Limit concurrent subagents to 1-3. If a task suggests more than 3, alert the user and ask for approval.\n- **Loops cost money.** Every loop iteration increases token count. Cap retries, bounded loops, and unnecessary polling.\n\n## See also\n\n- `mcp-context-audit` - MCP server context-window cost.\n- `context-window-hygiene` - context-window management and `clear`\u002F`compact` decisions.\n- `cost-optimization` - general token, compute, and infrastructure spend.\n\n## Output rule\n\n- Report tokens\u002Fcost before and after, and the commands used to measure.\n","# Cost Optimization\n\nReduce token, compute, and infrastructure spend.\n\n## When to use\n\n- Token bills are high.\n- Need to choose a cheaper model for a subtask.\n- MCP servers are bloating context.\n- Caching or routing can save cost.\n\n## Core protocol\n\n1. **Measure current cost.** Tokens per request, model tier, cache hit rate.\n2. **Audit context usage.** Use `mcp-context-audit` to find heavy MCP tool definitions.\n3. **Right-size effort.** Use `swe-2-max`\u002F`swe-2-flash-high`\u002F`swe-2-flash-medium` for subagents and `swe-2-high` for the free primary model; use paid models only when explicitly approved. After the SWE-2 free window closes (2026-11-30), `swe-2-flash-medium` is the only permanent-free variant.\n4. **Add caching.** Reuse previous tool outputs and summaries where safe.\n5. **Shorten prompts.** Remove unused context, prefer file snippets over full reads.\n6. **Re-measure.** Compare cost before and after.\n\n## Context and loop cost controls\n\n- **Subagents first.** Delegate heavy exploration to `swe-2-max` subagents; keep the main context lean.\n- **Token limit.** Use `tokens-limit` or equivalent budget guard when available; stop if the threshold is exceeded.\n- **Clear vs compact.** Default to `clear` between unrelated tasks; `compact` only when continuity is required. Compaction is lossy.\n- **Parallelism.** Limit concurrent subagents to 1-3. If a task suggests more than 3, alert the user and ask for approval.\n- **Loops cost money.** Every loop iteration increases token count. Cap retries, bounded loops, and unnecessary polling.\n\n## See also\n\n- `mcp-context-audit` - MCP server context-window cost.\n- `context-window-hygiene` - context-window management and `clear`\u002F`compact` decisions.\n- `cost-optimization` - general token, compute, and infrastructure spend.\n\n## Output rule\n\n- Report tokens\u002Fcost before and after, and the commands used to measure.\n",{"name":5,"triggers":24,"description":7},[25,26],"user","model","main","02b95ddb62959a00b3c31442c2046aca0d19563c","skills\u002Fcost-optimization",1,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle","https:\u002F\u002Fleostruka.github.io\u002Fdevin-bundle\u002F","https:\u002F\u002Fgithub.com\u002FLeostruka","2026-11-15 05:19:58",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Leostruka\u002Fdevin-bundle --skill cost-optimization",{"tool":41,"command":42},"bunx","bunx skills add Leostruka\u002Fdevin-bundle --skill cost-optimization",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Leostruka\u002Fdevin-bundle --skill cost-optimization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fcost-optimization\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7E0K3MG2XC4FSRV0MK6SFR1","montador-de-ideias","Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening\u002Foptimization, and high-impact contact surfaces.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fmontador-de-ideias\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7E0J7JJWZ8QMK01RZ3B3C9Z","git-github-adaptive-engineering","Use when any task touches git history, GitHub issues\u002FPRs\u002Freleases\u002FCI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit\u002FPR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug\u002Ffinish skills.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fgit-github-adaptive-engineering\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7E0GJFRPFEVQQMXEM58EWDM","adaptive-agenda-calendar-routine-engine","Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions\u002Fgcal\u002Fwrapper.py.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fadaptive-agenda-calendar-routine-engine\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7AE2K9FTY0BVS48N0A9JFKF","demo","Use when demonstrating a skill in a fixture project.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7AE2G3DP38PTV3B1N7MW5TS","duplicate-skill","Use when testing duplicate skill name detection.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":86,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7AE2DBR8ZHT6T875MJ392GK","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]