Skip to content
Back to skills

Config

ASecurity

Configures model defaults, capability scores, and breadth engine selection across Claude, Codex, Grok, Cursor, Devin, Antigravity, and OpenCode. Use when changing model defaults, capability scores, lane SKUs, or breadth selection after the model lineup changes.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
ai-agentsgobashnodeapi

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Scanned November 22, 2026

npx -y skills add okisdev/claude-code-fusion --skill config --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Config?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Config
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/okisdev-config/badge)](https://www.skillsdirectory.com/skills/okisdev-config)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: config
description: Configures model defaults, capability scores, and breadth engine selection across Claude, Codex, Grok, Cursor, Devin, Antigravity, and OpenCode. Use when changing model defaults, capability scores, lane SKUs, or breadth selection after the model lineup changes.
argument-hint: '[propose|set-breadth <cursor|devin>]'
allowed-tools: Read, Glob, Edit, Bash(grok models:*), Bash(codex debug models:*), Bash(rg:*), Bash(node:*), AskUserQuestion, WebSearch, WebFetch
---

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:

1. 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)"'`
   - Read `~/.claude/settings.json` if it exists and report only the `model` key for the main session model.
   - Read only the frontmatter of every file in `${CLAUDE_PLUGIN_ROOT}/agents/` and report each Claude worker pin's `model` and `effort` values.
   - Run `grok models` to enumerate the account's live model lineup and current default, then extract only model related keys from `~/.grok/config.toml`.
   - Extract only the `model` and `model_reasoning_effort` keys from `~/.codex/config.toml`.
   - Run `node "${CLAUDE_PLUGIN_ROOT}/scripts/fusion-config.mjs" show` to display the per user quantified engine capability table and its backing file path. Use `node "${CLAUDE_PLUGIN_ROOT}/scripts/fusion-config.mjs" show --json` only when structured output makes the next edit decision clearer.
   - Extract only the model key from `~/.cursor/cli-config.json` when it exists; use the Cursor companion listing from `audit` for available models.
   - Extract only `agent.model` from `~/.config/devin/config.json` with a scoped `rg` query when it exists. Use the Devin companion's `models --json` listing, backed by `devin models list --format json`, for available model families (for example `kimi-k3`, `glm-5.2`, `muse-wonder`, and `swe-2`).
   - Use the Antigravity companion's `models --json` listing from `audit` for 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 --json` listing from `audit` for OpenCode Go models and efforts; its provider uses `OPENCODE_GO_API_KEY` or 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" audit` to 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 level `breadth` key in `model-routing.json` (default `cursor`); 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 `Read` on `~/.grok/config.toml`, `~/.codex/config.toml`, `~/.cursor/cli-config.json`, or `~/.config/devin/config.json`; use a scoped `rg` query 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.
2. 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 `unavailable` and include the reason in the current value or available values cell. Then show the capability table output from `fusion-config.mjs show` as its own compact section.
3. 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.toml` checked against the live Codex catalog from `codex debug models --bundled` or a scoped extraction of `~/.codex/models_cache.json`, Cursor models from the companion listing shown by `audit`, Devin families from its companion `models --json` listing, 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 `WebSearch` or `WebFetch` before proposing a score instead of guessing.
   - Present the whole proposed scorecard in one message, then confirm it with a single `AskUserQuestion` round 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 `--lane` and `--notes`, plus `--family` for Cursor and Devin, then run `show` and 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 through `set-breadth`.
4. Offer changes with the `AskUserQuestion` tool, then apply only what the user picked.
   - For Grok, choices must come from the `grok models` output, never from a hardcoded list. Edit `~/.grok/config.toml` only 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.toml` only when the user chooses a Codex default or reasoning effort change, touch only the `model` and `model_reasoning_effort` keys, 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 --bundled` or a scoped extraction of `~/.codex/models_cache.json`) before writing one. The config file holds defaults, and explicit per call `--model` and `--effort` overrides 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.json` model; Fusion lane defaults use explicit per job choices from the routing table.
   - For Devin, choose from the companion `models --json` listing. 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), and `gemini-4-argon` (4, 3, 4), all on lane `agy`, family `google`. Its default is `gemini-4-neon` at high for `independence` and `large-context`, medium for `burst`; 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 `bulk` and read only `blind-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.toml` for 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 are `quick`, `volume`, and `flagship`; Grok roles are `burst`, `independence`, `live-web`, and `large-context`; Antigravity roles are `independence`, `large-context`, and `burst`, with efforts `default`, `low`, `medium`, `high`, and `xhigh`. Cursor and Devin roles are `diversity` and `burst`; OpenCode roles are `bulk` and `blind-check`. Breadth diversity defaults exclude the Claude family and Google while Antigravity is routed. Score the chosen model in its lane first with `rescore`; a file supplied default must refer to a scored model in the same lane. Codex and Grok efforts are `low`, `medium`, `high`, `xhigh`, and `max`; Cursor also accepts `default`. 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 level `breadth` key in `model-routing.json` and prints the rendered routing table. The default is `cursor`; 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>`, and `node "${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 --yes` resets 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 only `model-routing.json` and 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 `/model` instead.
   - If an engine is unavailable or lacks live choices, offer no write option for that engine.
5. Close with what changed, what was skipped, and any engines that were unavailable. Advise the user to run `/fusion:doctor` to re-audit. Note that new grok sessions pick up config changes, while already running jobs do not.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.