economy-mode
Skill3.4k starsChanged 2 months agoMITView on GitHub
Shifts Layer 3 model selection to cost-optimized alternatives when economy mode is active.
4 other projects use a version of this, 3 of them edited.
Adopted by
Most recently taken up by
- Founderwithabs/SOLIDSFORYOUtheir own version, first seen Oct 25, 2026
- microsoft/github-vteam-industry-demosedited, first seen Oct 25, 2026
- github/gh-awedited, first seen May 27, 2026
- Azure/apiops-cliedited, first seen Apr 27, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- github/gh-aw★ 5.6k86% same
- Azure/apiops-cli★ 3283% same
- microsoft/github-vteam-industry-demos★ 283% same
Wrote their own version · 1
- Founderwithabs/SOLIDSFORYOU★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository247 other files it gives its agents.
- .github/agents.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- packages/squad-cli/templates/copilot-instructions.mdCopilot instructions
- packages/squad-sdk/templates/copilot-instructions.mdCopilot instructions
- .squad-templates/copilot-instructions.mdCopilot instructions
- .squad/templates/copilot-instructions.mdCopilot instructions
- templates/copilot-instructions.mdCopilot instructions
- action-skill-contractsSkill
- agent-collaborationSkill
- agent-conductSkill
- architectural-proposalsSkill
- architectural-reviewSkill
- archival-integritySkill
- ci-validation-gatesSkill
- client-compatibilitySkill
- cli-wiringSkill
- content-scopeSkill
- distributed-meshSkill
- documentation-maintenanceSkill
- github-multi-accountSkill
- git-workflowSkill
- history-hygieneSkill
- init-modeSkill
- model-selectionSkill
- pr-lifecycleSkill
- protected-filesSkill
- release-processSkill
- reskillSkill
- reviewer-protocolSkill
- secret-handlingSkill
- security-reviewSkill
- squad-conventionsSkill
- test-disciplineSkill
- windows-compatibilitySkill
- agentic-workflow-designerSkill
- gh-aw-reliabilitySkill
- iterative-retrievalSkill
- reflectSkill
- {skill-name}Skill
- agent-collaborationSkill
- agent-conductSkill
- architectural-proposalsSkill
- ci-validation-gatesSkill
- client-compatibilitySkill
- cli-wiringSkill
- coordinator-init-modeSkill
- coordinator-response-modeSkill
- coordinator-source-of-truthSkill
- cross-machine-coordinationSkill
- cross-squad-communicationSkill
- cross-squadSkill
- distributed-meshSkill
- docs-standardsSkill
- e2e-template-testingSkill
- error-recoverySkill
- external-commsSkill
- fact-checkingSkill
- gh-auth-isolationSkill
- gh-aw-enlistmentSkill
- github-multi-accountSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. 5 are common, 0 are distinctive, and 5 are very specific to this project.
5
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 25
Use this skill when the user wants to reduce costs across an entire session or permanently, without manually specifying models for each …
- Very specific: line 57
CHECK for economyMode: true — if present, activate economy mode for the session
- Very specific: line 69
WRITE economyMode: true to .squad/config.json (merge, don't overwrite other fields)
- Common: line 74
CHECK Layer 0a/0b first (agentModelOverrides, defaultModel) — if set, use that.
- Common: line 75
CHECK Layer 1 (session directive for a specific model) — if set, use that.
- Common: line 76
CHECK Layer 2 (charter preference) — if set, use that.
- Very specific: line 84
REMOVE economyMode from .squad/config.json (if it was persisted)
- Very specific: line 90
After updating economy mode state and including the 💰 indicator in spawn acknowledgments, this skill is done.
- Very specific: line 112
Don't override Layer 0 in economy mode: If the user set defaultModel: "claude-opus-5.5", they want quality.
- Common: line 113
Don't silently apply economy mode: Always acknowledge when activated or deactivated.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SCOPE
✅ THIS SKILL PRODUCES:
- A modified Layer 3 model selection table applied when economy mode is active
economyMode: truewritten to.squad/config.jsonwhen 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
| Method | How |
| Session phrase | "use economy mode", "save costs", "go cheap", "reduce costs" |
| Persistent config | "economyMode": true or "modelProfile": "economy" 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
Economy mode is the opt-in economy quality profile. The default is quality-first. When economy mode is active, Layer 3 auto-selection uses this table instead of the normal defaults:
| Task Output | Normal Mode (quality-first) | Economy Mode |
| Writing code (implementation, refactoring, bug fixes) | claude-sonnet-5.5 | gpt-5.6-luna |
| Writing prompts or agent designs | claude-sonnet-5.5 | gpt-5.6-luna |
| Docs, planning, triage, research | claude-sonnet-5.5 (research: claude-opus-5.5) | gpt-5.6-luna |
| Visual/design work requiring image analysis | claude-opus-5.5 | claude-sonnet-5.5 |
| Architecture, code review, verification, security audits | claude-opus-5.5 | claude-sonnet-5.5 |
| Scribe / logger / git / release / mechanical file ops | claude-haiku-5.5 | gpt-5.6-luna |
Prefer gpt-5.6-luna for all economy-mode tasks where cost is the priority. Cost ceilings (maxCategory) still apply. If the live model list does not include a mapped model, selection moves forward through its tier's fallback chain.
AGENT WORKFLOW
On Session Start
- READ
.squad/config.json - CHECK for
economyMode: true— if present, activate economy mode for the session - STORE economy mode state in session context
On User Phrase Trigger
Session-only (no config change): "use economy mode", "save costs", "go cheap"
- SET economy mode active for this session
- 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"
- WRITE
economyMode: trueto.squad/config.json(merge, don't overwrite other fields) - ACKNOWLEDGE:
✅ Economy mode saved — cost-optimized models will be used until disabled.
On Every Agent Spawn (Economy Mode Active)
- CHECK Layer 0a/0b first (agentModelOverrides, defaultModel) — if set, use that. Economy mode does NOT override Layer 0.
- CHECK Layer 1 (session directive for a specific model) — if set, use that. Economy mode does NOT override explicit session directives.
- CHECK Layer 2 (charter preference) — if set, use that. Economy mode does NOT override charter preferences.
- APPLY economy table at Layer 3 instead of normal table.
- INCLUDE
💰in spawn acknowledgment:🔧 {Name} ({model} · 💰 economy) — {task}
On Deactivation
Trigger phrases: "turn off economy mode", "disable economy mode", "use normal models"
- REMOVE
economyModefrom.squad/config.json(if it was persisted) - CLEAR session economy mode state
- 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— whentrue, Layer 3 uses the economy table. Optional; absent = economy mode off. An expliciteconomyMode: falseoption cancels a persistedmodelProfile: "economy".- Combines with
defaultModelandagentModelOverrides— Layer 0 always wins.
Anti-Patterns
- Don't override Layer 0 in economy mode. If the user set
defaultModel: "claude-opus-5.5", 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.jsonpersist it. - Don't bump premium tasks down too far. Visual, architecture, and security work shifts from premium to standard in economy mode — it does NOT go to fast/cheap models.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

