一键导入
cost-efficiency
Smart Routing — the DEFAULT CC_GodMode routing policy. Risk-based, minimal-agent paths that preserve required safety gates for the changed scope.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Smart Routing — the DEFAULT CC_GodMode routing policy. Risk-based, minimal-agent paths that preserve required safety gates for the changed scope.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Ultracode / Max-Parallel mode — dynamic workflows fan work out across tens–hundreds of adversarially-verified parallel subagents for large, decomposable jobs (codebase-wide audits, big migrations, cross-checked research). Opt-in; higher token spend.
Release sprint workflow: version-at-release via tooling, CHANGELOG [Unreleased] flow, release invariant checks, tags, GitHub Releases, RCs. Authoritative law: docs/orchestrator/VERSIONING.md
Plan-first orchestration (ADR-004): comprehensive PLAN.md, sprint files with write-scope ownership, preflight checks, serialized integration, and the release sprint. Use for any non-trivial or multi-part request BEFORE dispatching agents.
Expanded department-based orchestration for large cross-domain CC_GodMode work. Freezes ownership, handoffs, and write scopes before implementation.
Bootstrap repo-local governance before CC_GodMode workflows run in an empty, newly initialized, or undocumented workspace. Use proactively when a project has no CLAUDE.md, no README, or no clear structure yet.
Meta-decision logic that adapts workflows based on task analysis — security overrides, breaking change escalation, performance paths, emergency hotfix, and documentation optimization
| name | cost-efficiency |
| description | Smart Routing — the DEFAULT CC_GodMode routing policy. Risk-based, minimal-agent paths that preserve required safety gates for the changed scope. |
This is the default routing mode. The Orchestrator applies Smart Routing automatically unless the task carries high-risk signals that require Full-Gates (see skills/workflows/).
Smart Routing changes routing behavior. It does not silently weaken security, contract, or release gates.
Spend strong reasoning only where it changes the outcome.
Everything else should be:
For small/medium tasks (no new modules, no breaking changes, no cross-domain design):
reports/vX.X.X/01-architect-report.md.For high-risk tasks (new modules, breaking changes, cross-domain design, uncertain scope):
The brief stays 3–5 bullets (cost-efficiency spirit unchanged) — these are the fields those bullets must cover, not additional sections:
Missing any of the five ⇒ the brief is invalid; escalate to @architect rather than
handing @builder an underspecified design. See docs/templates/REPORT_TEMPLATES.md
for the exact inline-brief report variant (frontmatter, field labels).
| Work type | Smart Routing route |
|---|---|
| Docs-only | @scribe only; no @builder unless files need structural edits |
| Simple bug | @builder -> targeted @validator; @tester only for user-facing behavior |
| Unknown facts | @researcher with strict source/time budget |
| Small/medium feature | inline arch brief + @builder + scoped @validator ∥ @tester |
| Architecture risk | @architect, but with a narrow decision brief |
| API or schema risk | @api-guardian remains mandatory |
| UI behavior | @tester only on affected flows and viewports |
| Release or PR | @github-manager only after @scribe produces final notes |
Any of these risk signals force the Full-Gates path (skills/workflows/):
src/api/, backend/routes/, shared/types/, *.d.ts, openapi.yaml).github/workflows/, auth code, secrets handling)VERSION, CHANGELOG.md)Every Smart Routing decision and every agent skip is logged before dispatch — no
exceptions. See docs/templates/SPRINT_TEMPLATE.md § Routing Log for the exact format
string and example — that section is the single canonical definition; this skill does
not duplicate it.
Planned work logs this in the sprint file's ## Routing Log section; implicit
sprint-00 work logs the same line in the report header instead.
Why this exists: a misrouted task bypasses every downstream gate invisibly —
Smart Routing's whole value is skipping agents when the risk profile allows it, but
an unlogged skip means nobody can tell, after the fact, whether that call was
justified or a silent gap. The log turns each minimal-path decision into a
post-hoc auditable, re-examinable record instead of an invisible judgment call.
A gate-skip without a matching log line is a contract violation — reviewers
(@validator, the Orchestrator on re-check) return BLOCKED (quality).
When @researcher is needed:
Use existing agent model assignments as the baseline:
effort frontmatter fields (Claude Code ≥2.1.152) provide additional budget tuning per agent without model changes.
If the user asks for an explicit model downgrade beyond defaults, state the risk and get approval before changing agent definitions or runtime config.
Run checks that match the changed scope:
node --check or bash -n, plus targeted smokeSmart Routing decides which agents run (smallest useful set). CLAUDE.md's parallel-first doctrine decides how independent units are scheduled (fan-out with disjoint write scopes). They compose: pick the minimal set first, then parallelize only genuinely independent units. Smart Routing never skips required gates, and parallel fan-out never overrides ownership rules.