economy-mode
Skill5.3k starsChanged 6 months agoMITView on GitHub
Shifts Layer 3 model selection to cost-optimized alternatives when economy mode is active.
1 other project uses a version of this, 1 of them edited.
Trending
Quiet since March.thin dataabout the whole repository
Most recently taken up by
- microsoft/Generative-AI-for-beginners-dotnetedited, first seen Mar 16, 2026
Who's talking about github/gh-aw
- A Hacker News story“GitHub Agentic Workflows”Hacker News · Feb 11, 2026 · 2 points
- @kcieslak.io“We see that a lot in our OSSed AW repository which uses fully agentic development - github.com/github/gh-aw …”Bluesky · Mar 24, 2026 · 1 likes
- @github-trending.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 github / gh-aw ⭐ 2,482 (+213) 🗒 Go GitHub Agentic Workflows”Bluesky · Feb 15, 2026
The biggest 3 of 3 mentions linking to the repository that our crawl found. Each line is their own headline.
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- microsoft/Generative-AI-for-beginners-dotnet★ 3.1k93% same
Wrote their own version · 0
None found.
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 repository108 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/src/content/docs/engines/claude.mdCLAUDE.md
- pkg/workflow/data/engines/claude.mdCLAUDE.md
- .squad/templates/copilot-instructions.mdCopilot instructions
- playwright-cliSkill
- agentic-workflowsSkill
- awf-release-integratorSkill
- checkout-credential-reviewSkill
- console-renderingSkill
- copilot-reviewSkill
- create-canvasSkill
- custom-agentsSkill
- custom-engine-implementationSkill
- debugging-workflowsSkill
- developer-code-organizationSkill
- developer-internalsSkill
- developer-releaseSkill
- developer-securitySkill
- developerSkill
- documentationSkill
- error-messagesSkill
- error-pattern-safetySkill
- error-recovery-patternsSkill
- gh-agent-sessionSkill
- gh-agent-taskSkill
- github-copilot-agent-tips-and-tricksSkill
- github-discussion-querySkill
- github-issue-querySkill
- github-labels-querySkill
- github-mcp-serverSkill
- github-pr-querySkill
- github-scriptSkill
- github-workflows-querySkill
- go-codemodSkill
- go-lintersSkill
- http-mcp-headersSkill
- javascript-refactoringSkill
- jqschemaSkill
- messagesSkill
- npmSkill
- open-pull-requestSkill
- operational-value-designerSkill
- optimize-agentic-workflowSkill
- otel-queriesSkill
- pr-finisherSkill
- prompt-token-efficiencySkill
- pr-to-go-linterSkill
- reportingSkill
- resolve-merge-conflictsSkill
- restricted-tool-triageSkill
- review-agentic-workflowsSkill
- security-advisory-compat-enforcerSkill
- sergo-examplesSkill
- skillz-integrationSkill
- ssl-skill-normalizerSkill
- temporary-id-safe-outputSkill
- workflow-step-summariesSkill
- GitHub Agentic WorkflowsSkill
- {skill-name}Skill
- agent-collaborationSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
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
- Distinctive: line 25
Use this skill when the user wants to reduce costs across an entire session or permanently, without manually specifying models for each …
- Distinctive: line 39
When economy mode is active, Layer 3 auto-selection uses this table instead of the normal defaults:
- Very specific: line 56
CHECK for economyMode: true — if present, activate economy mode for the session
- Very specific: line 68
WRITE economyMode: true to .squad/config.json (merge, don't overwrite other fields)
- Distinctive: line 73
CHECK Layer 0a/0b first (agentModelOverrides, defaultModel) — if set, use that.
- Distinctive: line 74
CHECK Layer 1 (session directive for a specific model) — if set, use that.
- Distinctive: line 75
CHECK Layer 2 (charter preference) — if set, use that.
- Very specific: line 83
REMOVE economyMode from .squad/config.json (if it was persisted)
- Very specific: line 89
After updating economy mode state and including the 💰 indicator in spawn acknowledgments, this skill is done.
- Very specific: line 111
Don't override Layer 0 in economy mode: If the user set defaultModel: "claude-opus-4.6", they want quality.
- Distinctive: line 112
Don't silently apply economy mode: Always acknowledge when activated or deactivated.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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 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-5-mini |
| Writing prompts or agent designs | claude-sonnet-4.5 | gpt-5-mini |
| Docs, planning, triage, changelogs, mechanical ops | claude-haiku-4.5 | gpt-5-mini |
| Architecture, code review, security audits | claude-opus-4.6 | claude-sonnet-4.5 |
| Scribe / logger / mechanical file ops | claude-haiku-4.5 | gpt-5-mini |
Prefer gpt-5-mini for all economy-mode tasks where cost is the priority.
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.- Combines with
defaultModelandagentModelOverrides— 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.jsonpersist 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.
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.

