Cost efficiency

From cubetribe/ClaudeCode_GodMode-On · View interactive version

Cost efficiency is an AI agent skill from the GitHub repository cubetribe/ClaudeCode_GodMode-On. Smart Routing — the DEFAULT CC_GodMode routing policy. Risk-based, minimal-agent paths that preserve required safety gates for the changed scope.

How to use this skill

Skill file

Smart Routing (Default Routing Policy)

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.

Core Principle

Spend strong reasoning only where it changes the outcome.

Everything else should be:

Architecture Gate (Split)

For small/medium tasks (no new modules, no breaking changes, no cross-domain design):

missing any field is invalid — invoke @architect instead of proceeding on an

underspecified design.

For high-risk tasks (new modules, breaking changes, cross-domain design, uncertain scope):

Inline Architecture Brief — Required Fields

The brief stays 3–5 bullets (cost-efficiency spirit unchanged) — these are the fields

those bullets must cover, not additional sections:

  1. Decision — the design/approach actually taken.
  2. Rejected alternative — at least one alternative considered and why it lost.
  3. Constraints — what binds the implementation (technical, contractual, scope).
  4. Out-of-scope — explicitly what this brief does NOT cover.
  5. Affected contracts/APIs — named, or "none".

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).

Default Routing

| Work type | Smart Routing route |

| --- | --- |

| Docs-only | @scribe only; no @builder unless files need structural edits |

| Simple bug | @builder -> deterministic hook; @tester only if ux_gate: auto |

| Unknown facts | @researcher with strict source/time budget |

| Small/medium feature | inline arch brief + @builder + deterministic hook + @tester/@security/code-review as declared/applicable |

| 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 |

Escalate to Full-Gates When

Any of these risk signals force the Full-Gates path (skills/workflows/):

Routing Log (Mandatory)

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

(the deterministic hook, @tester/@security when they run, the Orchestrator on

re-check) return BLOCKED (quality).

Research Budget

When @researcher is needed:

Agent Budget

Model Budget

Use existing agent model assignments as the baseline:

weak validation often costs more than the saved tokens.

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.

Validation Budget

Run checks that match the changed scope:

Precedence vs. Parallel-First

Smart 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.


CC_GodMode — © 2025–2026 Dennis Westermann (dennis-westermann.de). Proprietary — not open source. Free for private, non-commercial use; redistribution or re-hosting outside GitHub is prohibited; attribution required. Official source: github.com/cubetribe/ClaudeCode_GodMode-On. See LICENSE.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.