/everything-copilot-cli:token-cost-optimizerfrom everything-copilot-cli
Estimates cost pressure before large Copilot tasks and applies reduction tactics like model choice, context trimming, and parallelism limits.
Ships in everything-copilot-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Token Cost Optimizer is a proactive cost-control skill for GitHub Copilot. It helps you reduce metered usage before and during a task by choosing the right model path, cutting unnecessary context, and avoiding parallel work that burns credits without enough payoff.
GitHub Copilot now exposes cost-sensitive control surfaces that matter directly in the CLI:
This skill focuses on Copilot-native levers such as /model, Auto model selection, /compact,
/context, autopilot, and /fleet rather than generic LLM budgeting advice.
/fleet or autonomous modes where model and context choices can multiply spend| Instead of token-cost-optimizer | Use |
|---|---|
| You are auditing historical spend after the fact | workflow/cost-audit |
| The task is tiny and the model choice is obvious | do the task directly |
| You need to choose execution mode before cost strategy | task-intake-router |
The main Copilot cost drivers are:
/fleet can multiply model interactionsAsk:
If the answer is unclear, reduce uncertainty first instead of paying for a large blind run.
Use the cheapest path that still meets the task's quality bar.
| Task type | Preferred path |
|---|---|
| Search, routing, simple summaries | Fast / low-cost model |
| Normal implementation and planning | Standard model |
| Security, architecture, high-risk review | Premium model only when justified |
| Mixed or uncertain workload | Auto model selection |
Auto can still be useful here because it routes to a supported model without forcing you to hand-pick one up front.
Use Copilot-native context controls to avoid paying for irrelevant history:
/context
/compact
Good reduction moves:
/fleet and autopilot are powerful, but they can increase usage quickly when used on the wrong
task shape.
Use them when:
Avoid them when:
Before a large run, write a short plan:
Model path: Auto
Context strategy: compact first, then limit to docs/ and src/auth/
Execution mode: sequential until scope is clear, fleet only for independent test files
Stop rule: switch to manual review if the task expands beyond the approved surface
After one substantial run, ask:
Use that answer to tune the next run instead of repeating the same expensive pattern.
| Rationalization | Reality |
|---|---|
| "Use the strongest model for everything." | Premium models should be reserved for tasks that truly need them. |
| "Fleet is always faster, so it is always better." | Parallelism can raise cost sharply when tasks are not independent. |
| "The full chat history might help." | Old context often adds cost faster than it adds quality. |
/fleet is planned before the work is decomposed into mostly independent subtasks/compact step/fleet is only used where parallelism has a clear payoffmulti-model-strategy — choose the right model pathtask-intake-router — route to the right execution mode firstfleet-parallel — parallelize only when dependency shape supports itcost-audit — analyze spend after the workflow existsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub drvoss/everything-copilot-cli --plugin everything-copilot-cli115 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/add-to-changelogUse when you've shipped a feature, fix, or breaking change and need to update CHANGELOG.md — follows Keep a Changelog format and syncs version numbers across package manifests./agent-governanceUse when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
Other plugins' skills for the same job