Logo di Cost Efficiency

Cost Efficiency

Community
cubetribe
cost-efficiency

Smart Routing — la policy di routing DEFAULT di CC_GodMode. Percorsi basati sul rischio con il numero minimo di agenti, che mantengono i controlli di sicurezza richiesti per l’ambito delle modifiche.

Add to TypingMind

Panoramica

Pubblicato dacubetribe
RepositoryClaudeCode_GodMode-On
Nome della skillcost-efficiency
Stelle
54
Fork
10
File inclusi
Solo istruzioni
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da cubetribe su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Cost Efficiency in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/cubetribe/ClaudeCode_GodMode-On/tree/main/skills/cost-efficiency
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Cost Efficiency in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Cost Efficiency non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Cost Efficiency non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA Cost Efficiency?

Smart Routing — la policy di routing DEFAULT di CC_GodMode. Percorsi basati sul rischio con il numero minimo di agenti, che mantengono i controlli di sicurezza richiesti per l’ambito delle modifiche.

Perché usare Cost Efficiency su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Cost Efficiency è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Cost Efficiency in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/cubetribe/ClaudeCode_GodMode-On/tree/main/skills/cost-efficiency. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Cost Efficiency?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Cost Efficiency?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Cost Efficiency: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Cost Efficiency è gratuita?

È pubblicata su GitHub da cubetribe. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇