用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/sbroenne/pytest-skill-engineering --skill economy-mode命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | economy-mode |
| description | Shifts Layer 3 model selection to cost-optimized alternatives when economy mode is active. |
| domain | model-selection |
| confidence | low |
| source | manual |
✅ THIS SKILL PRODUCES:
economyMode: true written to .squad/config.json when activated persistently💰 indicator when economy mode is active❌ THIS SKILL DOES NOT PRODUCE:
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.
| 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.
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.4-mini |
| Writing prompts or agent designs | claude-sonnet-4.5 | gpt-4.1 or gpt-5.4-mini |
| Docs, planning, triage, changelogs, mechanical ops | claude-haiku-4.5 | gpt-4.1 or gpt-5.4-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.4-mini when the task involves structured output or agentic tool use. Prefer gpt-5.4-mini for pure text generation tasks where latency matters.
.squad/config.jsoneconomyMode: true — if present, activate economy mode for the sessionSession-only (no config change): "use economy mode", "save costs", "go cheap"
✅ 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"
economyMode: true to .squad/config.json (merge, don't overwrite other fields)✅ Economy mode saved — cost-optimized models will be used until disabled.💰 in spawn acknowledgment: 🔧 {Name} ({model} · 💰 economy) — {task}Trigger phrases: "turn off economy mode", "disable economy mode", "use normal models"
economyMode from .squad/config.json (if it was persisted)✅ Economy mode disabled — returning to standard model selection.After updating economy mode state and including the 💰 indicator in spawn acknowledgments, this skill is done. Do NOT:
.squad/config.json economy-related fields:
{
"version": 1,
"economyMode": true
}
economyMode — when true, Layer 3 uses the economy table. Optional; absent = economy mode off.defaultModel and agentModelOverrides — Layer 0 always wins.defaultModel: "claude-opus-4.6", they want quality. Economy mode only affects Layer 3 auto-selection.config.json persist it.