Economy mode

From kubefleet-dev/kubefleet · View interactive version

Economy mode is an AI agent skill from the GitHub repository kubefleet-dev/kubefleet. Shifts Layer 3 model selection to cost-optimized alternatives when economy mode is active.

How to use this skill

Skill file

SCOPE

โœ… THIS SKILL PRODUCES:

โŒ THIS SKILL DOES NOT PRODUCE:

Context

Economy mode shifts Layer 3 (Task-Aware Auto-Selection) to lower-cost alternatives. It does NOT override persistent config (defaultModel, agentModelOverrides) or per-agent charter preferences โ€” those represent explicit user intent and always take priority.

Use this skill when the user wants to reduce costs across an entire session or permanently, without manually specifying models for each agent.

Activation Methods

| Method | How |

|--------|-----|

| Session phrase | "use economy mode", "save costs", "go cheap", "reduce costs" |

| Persistent config | "economyMode": true in .squad/config.json |

| CLI flag | squad --economy |

Deactivation: "turn off economy mode", "disable economy mode", or remove economyMode from config.json.

Economy Model Selection Table

When economy mode is active, Layer 3 auto-selection uses this table instead of the normal defaults:

| Task Output | Normal Mode | Economy Mode |

|-------------|-------------|--------------|

| Writing code (implementation, refactoring, bug fixes) | claude-sonnet-4.5 | gpt-4.1 or gpt-5-mini |

| Writing prompts or agent designs | claude-sonnet-4.5 | gpt-4.1 or gpt-5-mini |

| Docs, planning, triage, changelogs, mechanical ops | claude-haiku-4.5 | gpt-4.1 or gpt-5-mini |

| Architecture, code review, security audits | claude-opus-4.5 | claude-sonnet-4.5 |

| Scribe / logger / mechanical file ops | claude-haiku-4.5 | gpt-4.1 |

Prefer gpt-4.1 over gpt-5-mini when the task involves structured output or agentic tool use. Prefer gpt-5-mini for pure text generation tasks where latency matters.

AGENT WORKFLOW

On Session Start

  1. READ .squad/config.json
  2. CHECK for economyMode: true โ€” if present, activate economy mode for the session
  3. STORE economy mode state in session context

On User Phrase Trigger

Session-only (no config change): "use economy mode", "save costs", "go cheap"

  1. SET economy mode active for this session
  2. ACKNOWLEDGE: โœ… Economy mode active โ€” using cost-optimized models this session. (Layer 0 and Layer 2 preferences still apply)

Persistent: "always use economy mode", "save economy mode"

  1. WRITE economyMode: true to .squad/config.json (merge, don't overwrite other fields)
  2. ACKNOWLEDGE: โœ… Economy mode saved โ€” cost-optimized models will be used until disabled.

On Every Agent Spawn (Economy Mode Active)

  1. CHECK Layer 0a/0b first (agentModelOverrides, defaultModel) โ€” if set, use that. Economy mode does NOT override Layer 0.
  2. CHECK Layer 1 (session directive for a specific model) โ€” if set, use that. Economy mode does NOT override explicit session directives.
  3. CHECK Layer 2 (charter preference) โ€” if set, use that. Economy mode does NOT override charter preferences.
  4. APPLY economy table at Layer 3 instead of normal table.
  5. INCLUDE ๐Ÿ’ฐ in spawn acknowledgment: ๐Ÿ”ง {Name} ({model} ยท ๐Ÿ’ฐ economy) โ€” {task}

On Deactivation

Trigger phrases: "turn off economy mode", "disable economy mode", "use normal models"

  1. REMOVE economyMode from .squad/config.json (if it was persisted)
  2. CLEAR session economy mode state
  3. ACKNOWLEDGE: โœ… Economy mode disabled โ€” returning to standard model selection.

STOP

After updating economy mode state and including the ๐Ÿ’ฐ indicator in spawn acknowledgments, this skill is done. Do NOT:

Config Schema

.squad/config.json economy-related fields:

{
  "version": 1,
  "economyMode": true
}

Anti-Patterns

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.