بنقرة واحدة
ecomode
Token-efficient model routing modifier
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Token-efficient model routing modifier
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Automatically deploy oh-my-gemini to npm and GitHub
Full autonomous execution from idea to working code
Fix build and TypeScript errors with minimal changes
Cancel any active OMC mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline)
Run a comprehensive code review
Deep executor mode for complex goal-oriented tasks
| name | ecomode |
| description | Token-efficient model routing modifier |
Token-efficient model routing. This is a MODIFIER, not a standalone execution mode.
Overrides default model selection to prefer cheaper tiers:
| Default Tier | Ecomode Override |
|---|---|
| HIGH (opus) | MEDIUM (sonnet), HIGH only if essential |
| MEDIUM (sonnet) | LOW (haiku) first, MEDIUM if fails |
| LOW (haiku) | LOW (haiku) - no change |
ralph for "don't stop until done"ultrawork for parallel agentsEcomode is a modifier that combines with execution modes:
| Combination | Effect |
|---|---|
eco ralph | Ralph loop with cheaper agents |
eco ultrawork | Parallel execution with cheaper agents |
eco autopilot | Full autonomous with cost optimization |
ALWAYS prefer lower tiers. Only escalate when task genuinely requires it.
| Decision | Rule |
|---|---|
| DEFAULT | Start with LOW tier (Haiku) for most tasks |
| UPGRADE | Escalate to MEDIUM (Sonnet) when LOW tier fails or task requires multi-file reasoning |
| AVOID | HIGH tier (Opus) - only for planning/critique if essential |
FIRST ACTION: Before delegating any work, read the agent reference file:
Read file: docs/shared/agent-tiers.md
This provides the complete agent tier matrix, MCP tool assignments, and selection guidance.
Ecomode preference order:
// PREFERRED - Use for most tasks
Task(subagent_type="oh-my-gemini:executor-low", model="gemini-flash-latest", prompt="...")
Task(subagent_type="oh-my-gemini:explore", model="gemini-flash-latest", prompt="...")
Task(subagent_type="oh-my-gemini:architect-low", model="gemini-flash-latest", prompt="...")
// FALLBACK - Only if LOW fails
Task(subagent_type="oh-my-gemini:executor", model="gemini-pro-latest", prompt="...")
Task(subagent_type="oh-my-gemini:architect-medium", model="gemini-pro-latest", prompt="...")
// AVOID - Only for planning/critique if essential
Task(subagent_type="oh-my-gemini:planner", model="gemini-pro-latest", prompt="...")
Ecomode maintains all delegation rules from core protocol with cost-optimized routing:
| Action | Delegate To | Model |
|---|---|---|
| Code changes | executor-low / executor | haiku / sonnet |
| Analysis | architect-low | haiku |
| Search | explore | haiku |
| Documentation | writer | haiku |
Long-running commands (install, build, test) run in background. Maximum 5 concurrent.
Ecomode can be completely disabled via config. When disabled, all ecomode keywords are ignored.
Set in ~/.gemini-cli/.omc-config.json:
{
"ecomode": {
"enabled": false
}
}
Ecomode state is tracked in .omc/state/ecomode-state.json.
When work is complete, run /oh-my-gemini:cancel for clean state cleanup.