Cost Efficiencyのロゴ

Cost Efficiency

コミュニティ
cubetribe
cost-efficiency

Smart Routing — CC_GodModeのデフォルトのルーティングポリシーです。リスクに応じて必要最小限のエージェント経路を選び、変更範囲に必要な安全チェックを維持します。

Add to TypingMind

概要

公開者cubetribe
リポジトリClaudeCode_GodMode-On
スキル名cost-efficiency
スター
54
フォーク
10
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    cubetribeがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Cost Efficiency」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/cubetribe/ClaudeCode_GodMode-On/tree/main/skills/cost-efficiency
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cubetribe/ClaudeCode_GodMode-On.git /tmp/ClaudeCode_GodMode-On
mkdir -p .claude/skills
cp -r /tmp/ClaudeCode_GodMode-On/skills/cost-efficiency .claude/skills/cost-efficiency
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCost Efficiencyを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCost Efficiencyを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Cost Efficiencyは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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:

  • batched
  • bounded
  • summarized
  • delegated only when it saves more context than it costs
  • validated against the changed scope instead of the whole repository

Architecture Gate (Split)

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

  • Orchestrator writes a 3–5 bullet inline architecture brief directly into reports/vX.Y.Z/sprint-NN/01-architect-report.md.
  • No @architect subagent invocation needed.
  • The brief's 3–5 bullets MUST cover all five required fields (see below). A brief 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):

  • Invoke @architect (Opus) via Task tool as normal.
  • Full-Gates path applies.

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 typeSmart 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 featureinline 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/):

  • API/schema/type paths touched — the canonical path list lives in skills/api-change/ and nowhere else
  • Security surfaces (.github/workflows/, auth code, secrets handling)
  • Release artifacts (VERSION, CHANGELOG.md)
  • User-facing UI changes
  • New modules or cross-domain designs
  • Breaking changes

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:

  • define the exact question first
  • prefer official and primary sources
  • cap source collection to the smallest useful set
  • return only facts, source links, and routing implications
  • do not perform broad background research unless the user asks

Agent Budget

  • Avoid Agent Teams unless the user explicitly accepts the cost.
  • Avoid Departments Mode unless ownership is genuinely unclear.
  • Keep active subagents to the smallest useful set.
  • Reuse existing reports and state only after checking they are current.
  • Ask agents for concise structured reports, not full transcripts.

Model Budget

Use existing agent model assignments as the baseline:

  • @researcher and @github-manager are already low-cost lanes.
  • @architect should be reserved for decisions with long-lived impact.
  • @builder and @tester stay on balanced models because bad implementation or weak validation often costs more than the saved tokens.
  • @scribe is on haiku — templated doc work is sufficient.

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:

  • changed Markdown or prompts: syntax, link/path sanity, manifest references
  • changed scripts: node --check or bash -n, plus targeted smoke
  • changed hooks: event payload assumptions and a dry-run where possible
  • changed API/contracts: @api-guardian plus consumer checks
  • changed UI: affected flows only unless release risk is high

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.

よくある質問

AIスキル「Cost Efficiency」では何ができますか?

Smart Routing — CC_GodModeのデフォルトのルーティングポリシーです。リスクに応じて必要最小限のエージェント経路を選び、変更範囲に必要な安全チェックを維持します。

TypingMindでCost Efficiencyを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Cost Efficiencyはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCost Efficiencyをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/cubetribe/ClaudeCode_GodMode-On/tree/main/skills/cost-efficiencyを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Cost Efficiencyを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Cost Efficiencyで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCost Efficiencyを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Cost Efficiency」は無料ですか?

cubetribeがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇