configure-models
Generate or edit local per-agent model overrides for review-chain agents (.claude/review-chain-models.conf) — re-pin a model without editing agent files or publishing.
- License 许可
- MIT
- 最近更新
- 2026-09-16
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- configure-models
- description
- Generate or edit local per-agent model overrides for review-chain agents (.claude/review-chain-models.conf) — re-pin a model without editing agent files or publishing.
02 资源文件 1
- 脚本references/gen-model-config.sh3.9 KB
03 SKILL.md 正文
Set up or adjust local model overrides for review-chain agents. The override hook (hooks/model-override.sh) reads the resulting config; changes take effect on the next agent spawn — no restart.
Engine
The deterministic template generator is bundled at references/gen-model-config.sh (relative to this SKILL.md). Always produce the template via that script — never hand-write it. Resolve its absolute path from this skill's directory and run bash <that-path> [args].
Script args: --project (write ./.claude/review-chain-models.conf), --user (write ~/.claude/review-chain-models.conf), PATH (write there), none (print to stdout). Prefix -f to overwrite an existing file.
Steps
-
Pick the target. Default to
--projectunless the user asked for user-global (--user) or a specific path. -
Generate. Run the script for that target.
- If it refuses because the file already exists, do NOT blindly pass
-f. Read the existing file, show the user its active (uncommented) lines, and only regenerate with-fif they want a fresh template — warn that it drops their current edits.
- If it refuses because the file already exists, do NOT blindly pass
-
Apply any specific overrides the user named. If the user asked to set particular agents (e.g. "implementer to opus", "all the deep reviewers to opus", "everything on opus"), edit the written file: uncomment the matching
#agent =line and set the model. Use exact agent names as they appear in the file; a blanket request maps to the* = <model>line. If the user only wants the template to edit themselves, skip this. -
Report briefly. Give the absolute path of the config file and list which overrides are now active. One-line reminders, only as relevant:
- Commented lines are inactive; uncomment
agent = modelto activate. - Env vars win over the file:
REVIEW_CHAIN_MODEL_<AGENT>andREVIEW_CHAIN_MODEL_ALL(e.g.REVIEW_CHAIN_MODEL_IMPLEMENTER=opus). The project file beats the user file. An explicit model the orchestrator already chose for a spawn is respected over the file. - Takes effect on the next agent spawn.
- The built-in
Exploreagent is configured separately viaREVIEW_CHAIN_EXPLORE_HOOK.
- Commented lines are inactive; uncomment
04 同仓库更多 Skills
setup-project
Bootstrap a project for the review-chain workflow — set the orchestrator as default agent, add a "Working With Claude Code" section to CLAUDE.md, install the TODO.md + TODO(slug) tracking convention, and optionally wire an auto-format hook. Take it or leave it; the review-chain agents work without any of this.
usage-wall
Ride the 5-hour usage window into the wall — schedule a post-reset wakeup, then resume stalled subagents. No watchdog, no throttling.
usage-guard
Arm a background watchdog on the account's 5-hour usage window
simplify
Review changed code for reuse, quality, efficiency; fix issues found.
cleanup-editor
Self-edit a draft for clarity, contradictions, answerable open questions. Use after initial draft.
clarify
Restate your most recent response more clearly and concisely