跳到正文
cccskills
免费在 GitHub 公开

economy-mode

Switch automatic model selection to lower-cost options for agent tasks, either for one session or through a saved setting. Explicit model choices remain in effect, while architecture and security review tasks use a separate economy selection.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Shifts Layer 3 model selection to cost-optimized alternatives when economy mode is active.

查看安装方法

适用场景

  • Reducing costs across a session with multiple agents
  • Saving economy mode as the default setting
  • Keeping explicit model choices while changing automatic selection
  • Returning to standard model selection

包含的文件(1)

  • SKILL.md4.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

SCOPE

✅ THIS SKILL PRODUCES:

  • A modified Layer 3 model selection table applied when economy mode is active
  • economyMode: true written to .squad/config.json when activated persistently
  • Spawn acknowledgments with 💰 indicator when economy mode is active

❌ THIS SKILL DOES NOT PRODUCE:

  • Code, tests, or documentation
  • Cost reports or billing artifacts
  • Changes to Layer 0, Layer 1, or Layer 2 resolution (user intent always wins)

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

MethodHow
Session phrase"use economy mode", "save costs", "go cheap", "reduce costs"
Persistent config"economyMode": true in .squad/config.json
CLI flagsquad --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 OutputNormal ModeEconomy Mode
Writing code (implementation, refactoring, bug fixes)claude-sonnet-4.5gpt-5-mini
Writing prompts or agent designsclaude-sonnet-4.5gpt-5-mini
Docs, planning, triage, changelogs, mechanical opsclaude-haiku-4.5gpt-5-mini
Architecture, code review, security auditsclaude-opus-4.6claude-sonnet-4.5
Scribe / logger / mechanical file opsclaude-haiku-4.5gpt-5-mini

Prefer gpt-5-mini for all economy-mode tasks where cost is the priority.

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:

  • Change Layer 0, Layer 1, or Layer 2 model choices
  • Override charter-specified models
  • Generate cost reports or comparisons
  • Fall back to premium models via economy mode (economy mode never bumps UP)

Config Schema

.squad/config.json economy-related fields:

{
  "version": 1,
  "economyMode": true
}
  • economyMode — when true, Layer 3 uses the economy table. Optional; absent = economy mode off.
  • Combines with defaultModel and agentModelOverrides — Layer 0 always wins.

Anti-Patterns

  • Don't override Layer 0 in economy mode. If the user set defaultModel: "claude-opus-4.6", they want quality. Economy mode only affects Layer 3 auto-selection.
  • Don't silently apply economy mode. Always acknowledge when activated or deactivated.
  • Don't treat economy mode as permanent by default. Session phrases activate session-only; only "always" or config.json persist it.
  • Don't bump premium tasks down too far. Architecture and security reviews shift from opus to sonnet in economy mode — they do NOT go to fast/cheap models.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Coordinate work across AI agents with shared rules for locating team files, recording decisions and their reasons, and requesting help. It also defines who owns revisions after a reviewer rejects an artifact.

中文简介正在准备中。当前显示英语简介。

  • Locate team files across separate working directories
  • Record decisions that affect other agents
  • Request input from another specialist
github/gh-aw54212026年10月19日 更新

Set shared development rules for an agent team: keep specific agent names out of product code, tests, and CI configuration, verify affected tests before finishing, and record lessons learned from mistakes.

中文简介正在准备中。当前显示英语简介。

  • Share development rules across multiple agents
  • Keep team-specific agent names out of code and tests
  • Check affected tests before declaring work complete
github/gh-aw54212026年10月19日 更新

Routes requests to design, create, update, debug, or upgrade GitHub Agentic Workflows to the appropriate instructions. It helps the agent select a workflow-specific procedure and apply any additional rules defined for the repository.

中文简介正在准备中。当前显示英语简介。

  • Designing a new workflow through questions
  • Investigating failed runs and recurring errors
  • Upgrading workflows and addressing deprecations
github/gh-aw54212026年10月19日 更新

Prepare architecture proposals before implementation so the team can agree on a direction. Organize evidence, technical choices, effects on existing work, risks, and the first release’s scope into a document with clear recommendations and decision owners.

中文简介正在准备中。当前显示英语简介。

  • Proposing a major architecture change
  • Replanning milestones after a foundation change
  • Comparing technical options before seeking approval
github/gh-aw54212026年10月19日 更新

Update the gh-aw-firewall version used by gh-aw, rebuild generated files, and review release notes and configuration schemas, which define valid settings. It guides related code and test updates while identifying follow-up work that remains.

中文简介正在准备中。当前显示英语简介。

  • Updating the firewall version used by gh-aw
  • Reviewing release notes for integration changes
  • Checking configuration schema differences
github/gh-aw54212026年10月19日 更新

Review git and gh operations in gh-aw workflows to check credential availability for each repository. Identify missing token handoffs, risky expansions of limited checkouts, and error handling needed where credentials are intentionally unavailable.

中文简介正在准备中。当前显示英语简介。

  • Reviewing git operations after repository checkout
  • Checking tokens for private cross-repository access
  • Reviewing sparse and shallow checkout changes
github/gh-aw54212026年10月19日 更新

查看 github 的全部技能

报告此技能的问题