Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add okisdev/claude-code-fusion/plugin install fusionWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/okisdev/claude-code-fusion/config)<a href="https://agentmods.dev/skills/okisdev/claude-code-fusion/config"><img src="https://agentmods.dev/badge/skills/okisdev/claude-code-fusion/config/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/okisdev/claude-code-fusion/config"><img src="https://agentmods.dev/badge/skills/okisdev/claude-code-fusion/config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.02750 |
| Opus 5.5 | $0.00023 | $0.01100 |
| Sonnet 5.5 | $0.00011 | $0.00550 |
| Haiku 4.5 | $0.00006 | $0.00275 |
Grade B, and why
config scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- Read `~/.claude/settings.json` if it exists and report only the `model` key for the main session model. How it starts
The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Inspect the local model configuration across all peer engines, show what is currently available, and offer targeted edits to the defaults and the per user capability scores. Treat this as the write path counterpart to /fusion:doctor.
Steps:
- Gather current state.
- Capture environment overrides at invocation:
- CLAUDE_CODE_SUBAGENT_MODEL: !
sh -c 'printenv CLAUDE_CODE_SUBAGENT_MODEL || echo "(unset)"' - ANTHROPIC_MODEL: !
sh -c 'printenv ANTHROPIC_MODEL || echo "(unset)"' - ANTHROPIC_DEFAULT_HAIKU_MODEL: !
sh -c 'printenv ANTHROPIC_DEFAULT_HAIKU_MODEL || echo "(unset)"' - ANTHROPIC_DEFAULT_FABLE_MODEL: !
sh -c 'printenv ANTHROPIC_DEFAULT_FABLE_MODEL || echo "(unset)"'
- CLAUDE_CODE_SUBAGENT_MODEL: !
- Read
~/.claude/settings.jsonif it exists and report only themodelkey for the main session model. - Read only the frontmatter of every file in
${CLAUDE_PLUGIN_ROOT}/agents/and report each Claude worker pin'smodelandeffortvalues. - Run
grok modelsto enumerate the account's live model lineup and current default, then extract only model related keys from~/.grok/config.toml. - Extract only the
modelandmodel_reasoning_effortkeys from~/.codex/config.toml. - Run
node "${CLAUDE_PLUGIN_ROOT}/scripts/fusion-config.mjs" showto display the per user quantified engine capability table and its backing file path. Usenode "${CLAUDE_PLUGIN_ROOT}/scripts/fusion-config.mjs" show --jsononly when structured output makes the next edit decision clearer. - Extract only the model key from
~/.cursor/cli-config.jsonwhen it exists; use the Cursor companion listing fromauditfor available models. - Extract only
agent.modelfrom~/.config/devin/config.jsonwith a scopedrgquery when it exists. Use the Devin companion'smodels --jsonlisting, backed bydevin models list --format json, for available model families (for examplekimi-k3,glm-5.2,muse-wonder, andswe-2). - Use the Antigravity companion's
models --jsonlisting fromauditfor Google models and thought levels; it reads the private ACP session catalog without exposing keychain credentials or user Gemini settings. - Use the OpenCode companion's
models --jsonlisting fromauditfor OpenCode Go models and efforts; its provider usesOPENCODE_GO_API_KEYor the opencode CLI login and a private Codex home, so never read or print the key. - Run
node "${CLAUDE_PLUGIN_ROOT}/scripts/fusion-config.mjs" auditto display Codex, Grok, Cursor, Devin, Antigravity, and OpenCode lane defaults, unscored models, stale scores, and defaults absent from each companion's model listing. A missing or failing companion leaves that engine unavailable while the other engines are still audited. Report the selected breadth engine from the top levelbreadthkey inmodel-routing.json(defaultcursor); the rendered routing table names the selected engine and the other holds no routing seat. - Never read or print the full peer config files; extract only model related keys, because those files sit next to credentials and private project settings.
- Do not use
Readon~/.grok/config.toml,~/.codex/config.toml,~/.cursor/cli-config.json, or~/.config/devin/config.json; use a scopedrgquery that matches only model related keys. - Degrade gracefully per engine. A missing CLI or config file makes that engine's row show as unavailable; it never aborts the command.
- Capture environment overrides at invocation:
- Render one table with columns for configuration surface, current value, available values, and file that owns it. Prefer live enumeration values where available. Include rows for environment overrides, the main session model, Claude worker pins, Codex, Grok, Cursor, Devin, Antigravity, OpenCode, and the selected breadth engine. For unavailable values, write
unavailableand include the reason in the current value or available values cell. Then show the capability table output fromfusion-config.mjs showas its own compact section. - Propose a scorecard when the user asked for a proposal (for example invoked this skill with "propose") or when the capability table from step 2 has no scored models.
- Build one proposed row per engine from the live state gathered in step 1: the Grok CLI's current default from
grok models, the Codex default from~/.codex/config.tomlchecked against the live Codex catalog fromcodex debug models --bundledor a scoped extraction of~/.codex/models_cache.json, Cursor models from the companion listing shown byaudit, Devin families from its companionmodels --jsonlisting, Antigravity Google models from its companion listing, OpenCode Go models from its companion listing, and the three Claude worker pins. Model ids come only from that live enumeration, never from memory or a hardcoded list. Give every Cursor and Devin row its vendor family as a lowercase slug. Skip any engine that came back unavailable. - Draft intelligence, taste, and cost scores from 1 to 5 for each row plus a one line rationale for the notes field, following the table's priority semantics: intelligence proxies correctness and safety, taste is user facing quality, and cost applies only as the final tie breaker. When a row's default model is newer than your knowledge or its standing is uncertain, verify it against live web sources with
WebSearchorWebFetchbefore proposing a score instead of guessing. - Present the whole proposed scorecard in one message, then confirm it with a single
AskUserQuestionround offering accept all, adjust rows, or skip. Never write a score the user has not confirmed; the proposal automates the chore, not the decision. - Apply only the confirmed rows with the existing rescore command from step 4, one invocation per model with
--laneand--notes, plus--familyfor Cursor and Devin, then runshowand display the resulting table. Scores choose models and fit inside an existing lane; they do not turn Grok into the ordinary implementation default or otherwise change lane ownership. The breadth seat changes only throughset-breadth.
- Build one proposed row per engine from the live state gathered in step 1: the Grok CLI's current default from
- Offer changes with the
AskUserQuestiontool, then apply only what the user picked.- For Grok, choices must come from the
grok modelsoutput, never from a hardcoded list. Edit~/.grok/config.tomlonly when the user chooses a Grok default change, touch only model related keys, and preserve the rest of the file byte for byte. - For Codex, edit
~/.codex/config.tomlonly when the user chooses a Codex default or reasoning effort change, touch only themodelandmodel_reasoning_effortkeys, and preserve the rest of the file byte for byte. Effort values are per model rather than one fixed list, so read the current model's supported efforts from the live catalog (codex debug models --bundledor a scoped extraction of~/.codex/models_cache.json) before writing one. The config file holds defaults, and explicit per call--modeland--effortoverrides on the first party Codex companion take precedence for one job. - For Cursor, choose from the companion listing in
audit. Direct Cursor commands use the user's~/.cursor/cli-config.jsonmodel; Fusion lane defaults use explicit per job choices from the routing table. - For Devin, choose from the companion
models --jsonlisting. Direct Devin commands use the account's default model; Fusion lane defaults use explicit per job choices from the routing table. Devin Adaptive and Fusion pairings are not eligible because they do not pin the serving model. - For Antigravity, choose Google models from its companion listing. The seeded capability rows are
gemini-4-neon(intelligence 5, taste 4, cost 4),gemini-4-hydrogen(4, 3, 5), andgemini-4-argon(4, 3, 4), all on laneagy, familygoogle. Its default isgemini-4-neonat high forindependenceandlarge-context, medium forburst; consult roles are read only and burst permits file edits only. - For OpenCode, choose only tool capable models from its companion listing. Its included OpenCode Go pool supplies
bulkand read onlyblind-check; keep the two roles on different model families and use explicit per job defaults from the routing table. The private Codex home is companion owned, so do not edit the user's~/.codex/config.tomlfor OpenCode. - For Claude worker pins, show a caution before asking: this edits the marketplace checkout and will be overwritten by plugin updates. Edit only the plugin agent frontmatter fields the user selected.
- For lane defaults, use
node "${CLAUDE_PLUGIN_ROOT}/scripts/fusion-config.mjs" set-default <lane> <role> <model> <effort>. Codex roles arequick,volume, andflagship; Grok roles areburst,independence,live-web, andlarge-context; Antigravity roles areindependence,large-context, andburst, with effortsdefault,low,medium,high, andxhigh. Cursor and Devin roles arediversityandburst; OpenCode roles arebulkandblind-check. Breadth diversity defaults exclude the Claude family and Google while Antigravity is routed. Score the chosen model in its lane first withrescore; a file supplied default must refer to a scored model in the same lane. Codex and Grok efforts arelow,medium,high,xhigh, andmax; Cursor also acceptsdefault. Devin effort values depend on the selected family, so use the live companion listing and account options. OpenCode effort values depend on the selected Go model, so use its companion listing. The lane defaults are explicit per job choices, separate from the peer CLIs' interactive defaults. - To choose which plugin owns the breadth routing seat, use
node "${CLAUDE_PLUGIN_ROOT}/scripts/fusion-config.mjs" set-breadth <cursor|devin>. This writes the top levelbreadthkey inmodel-routing.jsonand prints the rendered routing table. The default iscursor; only the selected engine receives automatically routed breadth work. - For capability scores, use
node "${CLAUDE_PLUGIN_ROOT}/scripts/fusion-config.mjs" rescore <id> --intelligence N --taste N --cost N [--lane L] [--family F] [--notes S],node "${CLAUDE_PLUGIN_ROOT}/scripts/fusion-config.mjs" set-cost-profile <text>, andnode "${CLAUDE_PLUGIN_ROOT}/scripts/fusion-config.mjs" reset-defaults --yes. This is the same rescore command the proposal step in step 3 batches through.reset-defaults --yesresets model routing. Suggest scoring again when /fusion:doctor reports model lineup changes or when the user says the available lineup changed. Model routing mutations write onlymodel-routing.jsonand print the resulting table. The live rules remain the static shipped template; the capability table, breadth seat, and lane defaults arrive as session context in new sessions or after /compact. - For the main session model, never write
~/.claude/settings.json; advise the user to use/modelinstead. - If an engine is unavailable or lacks live choices, offer no write option for that engine.
- For Grok, choices must come from the
- Close with what changed, what was skipped, and any engines that were unavailable. Advise the user to run
/fusion:doctorto re-audit. Note that new grok sessions pick up config changes, while already running jobs do not.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago Changed · +2 lines · +3 tokens per session a6bf8b90a835
- 10d ago Changed · +2 lines · +4 tokens per session 07fb81121465
- 14d ago Changed · -7 tokens per session 4b8cd8158cc6
- 1mo ago Changed · +3 lines · +5 tokens per session 1c9046545dbe
- 1mo ago Changed · +2 lines · +2 tokens per session 1a0be9fee9b6
- 2mo ago Changed · +2 lines 8d94d911329a
- 3mo ago First seen · 40 lines · 50 tokens per session scan B bb465d0f5dc1
config is a skill published in the GitHub repository okisdev/claude-code-fusion (3 stars, last pushed 3d ago), licensed MIT. It adds 57 tokens to every session and 2,750 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
config compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| configokisdev/claude-code-fusion | Skill | 3 | 3d ago | MIT | B | 57 | Claude Code |
| review-teams977043/river-review | Skill | 8 | today | MIT | A | 147 | Claude Code |
| conductor-orchestratorIbrahim-3d/orchestrator-supaconductor | Skill | 384 | 2mo ago | AGPL-3.0 | A | 101 | Claude Code |
| message-busIbrahim-3d/orchestrator-supaconductor | Skill | 384 | 2mo ago | AGPL-3.0 | A | 44 | Claude Code |
| writing-skillsIbrahim-3d/orchestrator-supaconductor | Skill | 384 | 2mo ago | AGPL-3.0 | A | 20 | Claude Code |
| parallel-dispatchIbrahim-3d/orchestrator-supaconductor | Skill | 384 | 2mo ago | AGPL-3.0 | A | 40 | Claude Code |
| agent-factoryIbrahim-3d/orchestrator-supaconductor | Skill | 384 | 2mo ago | AGPL-3.0 | A | 36 | Claude Code |