[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EV4CSH2YZBYE467EV9MBHV":3,"skill-same:01M7EV4CSH2YZBYE467EV9MBHV":67},{"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":47,"commitSha":48,"skillDirectory":49,"forksCount":14,"repositoryHtmlUrl":50,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":66},"01M7EV4CSH2YZBYE467EV9MBHV","tokenwise",null,"Measurement-driven model router for Claude Code. Routes Haiku\u002FSonnet\u002FOpus per task class, logs every routed task with real $ numbers, and A\u002FB tests cheaper tiers before you trust the savings.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fdeveloper-tools\u002Ftokenwise\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tokenwise\ndescription: \"Measurement-driven model router for Claude Code. Routes Haiku\u002FSonnet\u002FOpus per task class, logs every routed task with real $ numbers, and A\u002FB tests cheaper tiers before you trust the savings.\"\ncategory: developer-tools\nrisk: critical\nsource: community\nsource_repo: CodeShuX\u002Ftokenwise\nsource_type: community\ndate_added: \"2026-05-12\"\nauthor: CodeShuX\ntags: [model-routing, token-optimization, cost-reduction, anthropic, haiku, sonnet, opus, claude-code, ab-testing, measurement]\ntools: [claude]\nlicense: \"MIT\"\nlicense_source: \"https:\u002F\u002Fgithub.com\u002FCodeShuX\u002Ftokenwise\u002Fblob\u002Fmain\u002FLICENSE\"\nplugin:\n  targets:\n    codex: blocked\n    claude: blocked\n---\n\n# TokenWise — Measurement-Driven Model Router\n\n## Overview\n\nA Claude Code skill that auto-routes subtasks to the cheapest model that can handle them (Haiku for grunt work, Sonnet for scoped reasoning, Opus only for synthesis), then logs every routed task to a local NDJSON with real token + cost numbers. Includes an A\u002FB test subcommand that runs the same task across multiple tiers and scores quality, so the routing decisions are verified against the user's real workload — not estimated.\n\nAnthropic's own bug tracker (Issue #27665) reports 93.8% of Max-subscriber Claude Code tokens flow to Opus. Existing routers (claude-router, wshobson, VoltAgent) either pin models statically or route by vibes-based heuristics with no measurement. TokenWise fills the measurement gap.\n\n## When to use\n\n- Cutting Claude Code token spend without sacrificing output quality\n- Validating whether Haiku\u002FSonnet is \"good enough\" for a specific task class before trusting auto-routing\n- Auditing where Opus tokens are actually being burned\n- Logging per-session cost data for finance or chargeback\n\n## Subcommands\n\n- `\u002Ftokenwise:install` — guided installer with diff preview, automatic backups, and `--dry-run` mode\n- `\u002Ftokenwise:report` — per-session token + cost summary vs all-Opus baseline\n- `\u002Ftokenwise:summary [--week|--month|--all]` — historical aggregate with trend\n- `\u002Ftokenwise:ab \"\u003Ctask>\"` — A\u002FB test the same task at multiple tiers, generates a markdown comparison\n- `\u002Ftokenwise:undo` — restore CLAUDE.md \u002F settings.json from backup\n\n## Routing taxonomy\n\n| Tier | Model | Task class |\n|---|---|---|\n| Mechanical | Haiku 4.5 | file reads, grep, format, rename, simple edits, doc lookups |\n| Scoped reasoning | Sonnet 4.6 | single-file refactor, scoped research, test writing |\n| Synthesis | Opus 4.7 | architecture decisions, multi-file refactor, security review |\n\nSafety caps:\n- Haiku never spawns further subagents\n- Max spawn depth = 2\n- Subagents that need a smarter model return to parent — they never escalate on their own\n- Tasks under 100 chars with no file context run inline (subagent overhead > savings)\n- Subagent context >30k tokens bumps a tier\n\n## Privacy\n\nZero telemetry. All logs in `.tokenwise\u002Flog.ndjson` local to the project. Task descriptions truncated to 80 chars and stripped of file contents before logging. No analytics endpoint exists in the source.\n\n## Install\n\nIn any Claude Code session:\n\n```\n\u002Fplugin marketplace add CodeShuX\u002Ftokenwise\n\u002Fplugin install tokenwise@tokenwise\n```\n\nThen run `\u002Ftokenwise:install` and follow the guided prompts.\n\n## Limitations\n\n- Token counts approximate to ±2% vs Anthropic billing\n- A\u002FB test mode costs extra tokens (one task × N tiers) — intentional one-time validation\n- Anthropic-only by design (use LiteLLM or OpenRouter for cross-vendor)\n- Subagent `model:` param has known silent-fail bugs on some Claude Code builds — skill probes for this at install and refuses to configure if routing is broken\n\n## Source\n\n- Repo: https:\u002F\u002Fgithub.com\u002FCodeShuX\u002Ftokenwise\n- License: MIT\n- Author: CodeShuX\n","# TokenWise — Measurement-Driven Model Router\n\n## Overview\n\nA Claude Code skill that auto-routes subtasks to the cheapest model that can handle them (Haiku for grunt work, Sonnet for scoped reasoning, Opus only for synthesis), then logs every routed task to a local NDJSON with real token + cost numbers. Includes an A\u002FB test subcommand that runs the same task across multiple tiers and scores quality, so the routing decisions are verified against the user's real workload — not estimated.\n\nAnthropic's own bug tracker (Issue #27665) reports 93.8% of Max-subscriber Claude Code tokens flow to Opus. Existing routers (claude-router, wshobson, VoltAgent) either pin models statically or route by vibes-based heuristics with no measurement. TokenWise fills the measurement gap.\n\n## When to use\n\n- Cutting Claude Code token spend without sacrificing output quality\n- Validating whether Haiku\u002FSonnet is \"good enough\" for a specific task class before trusting auto-routing\n- Auditing where Opus tokens are actually being burned\n- Logging per-session cost data for finance or chargeback\n\n## Subcommands\n\n- `\u002Ftokenwise:install` — guided installer with diff preview, automatic backups, and `--dry-run` mode\n- `\u002Ftokenwise:report` — per-session token + cost summary vs all-Opus baseline\n- `\u002Ftokenwise:summary [--week|--month|--all]` — historical aggregate with trend\n- `\u002Ftokenwise:ab \"\u003Ctask>\"` — A\u002FB test the same task at multiple tiers, generates a markdown comparison\n- `\u002Ftokenwise:undo` — restore CLAUDE.md \u002F settings.json from backup\n\n## Routing taxonomy\n\n| Tier | Model | Task class |\n|---|---|---|\n| Mechanical | Haiku 4.5 | file reads, grep, format, rename, simple edits, doc lookups |\n| Scoped reasoning | Sonnet 4.6 | single-file refactor, scoped research, test writing |\n| Synthesis | Opus 4.7 | architecture decisions, multi-file refactor, security review |\n\nSafety caps:\n- Haiku never spawns further subagents\n- Max spawn depth = 2\n- Subagents that need a smarter model return to parent — they never escalate on their own\n- Tasks under 100 chars with no file context run inline (subagent overhead > savings)\n- Subagent context >30k tokens bumps a tier\n\n## Privacy\n\nZero telemetry. All logs in `.tokenwise\u002Flog.ndjson` local to the project. Task descriptions truncated to 80 chars and stripped of file contents before logging. No analytics endpoint exists in the source.\n\n## Install\n\nIn any Claude Code session:\n\n```\n\u002Fplugin marketplace add CodeShuX\u002Ftokenwise\n\u002Fplugin install tokenwise@tokenwise\n```\n\nThen run `\u002Ftokenwise:install` and follow the guided prompts.\n\n## Limitations\n\n- Token counts approximate to ±2% vs Anthropic billing\n- A\u002FB test mode costs extra tokens (one task × N tiers) — intentional one-time validation\n- Anthropic-only by design (use LiteLLM or OpenRouter for cross-vendor)\n- Subagent `model:` param has known silent-fail bugs on some Claude Code builds — skill probes for this at install and refuses to configure if routing is broken\n\n## Source\n\n- Repo: https:\u002F\u002Fgithub.com\u002FCodeShuX\u002Ftokenwise\n- License: MIT\n- Author: CodeShuX\n",{"name":5,"risk":24,"tags":25,"tools":36,"author":38,"plugin":39,"source":42,"license":15,"category":43,"date_added":44,"description":7,"source_repo":45,"source_type":42,"license_source":46},"critical",[26,27,28,29,30,31,32,33,34,35],"model-routing","token-optimization","cost-reduction","anthropic","haiku","sonnet","opus","claude-code","ab-testing","measurement",[37],"claude","CodeShuX",{"targets":40},{"codex":41,"claude":41},"blocked","community","developer-tools","2026-05-12","CodeShuX\u002Ftokenwise","https:\u002F\u002Fgithub.com\u002FCodeShuX\u002Ftokenwise\u002Fblob\u002Fmain\u002FLICENSE","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fdeveloper-tools\u002Ftokenwise","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill tokenwise",{"tool":59,"command":60},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill tokenwise",{"tool":62,"command":63},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill tokenwise","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fdeveloper-tools\u002Ftokenwise\u002FSKILL.md",true,[],[68,76,83,90,97,104],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":75},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":75},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"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":75},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":75},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":75},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"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":75},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]