Skip to content
Back to skills

Ecomode

ASecurity

Token-efficient model routing modifier

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentsdocumentation

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill ecomode --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ecomode?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ecomode
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-ecomode-claude-skill-registry/badge)](https://www.skillsdirectory.com/skills/majiayu000-ecomode-claude-skill-registry)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ecomode
description: Token-efficient model routing modifier
---

# Ecomode Skill

Token-efficient model routing. This is a **MODIFIER**, not a standalone execution mode.

## What Ecomode Does

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 |

## What Ecomode Does NOT Do

- **Persistence**: Use `ralph` for "don't stop until done"
- **Parallel Execution**: Use `ultrawork` for parallel agents
- **Delegation Enforcement**: Always active via core orchestration

## Combining Ecomode with Other Modes

Ecomode 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 |

## Ecomode Routing Rules

**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 |

## Agent Selection in Ecomode

**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="...")
```

## Delegation Enforcement

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 |

### Background Execution
Long-running commands (install, build, test) run in background. Maximum 5 concurrent.

## Token Savings Tips

1. **Batch similar tasks** to one agent instead of spawning many
2. **Use explore (haiku)** for file discovery, not architect
3. **Prefer executor-low** for simple changes - only upgrade if it fails
4. **Use writer (haiku)** for all documentation tasks
5. **Avoid opus agents** unless the task genuinely requires deep reasoning

## Disabling Ecomode

Ecomode can be completely disabled via config. When disabled, all ecomode keywords are ignored.

Set in `~/.gemini-cli/.omc-config.json`:
```json
{
  "ecomode": {
    "enabled": false
  }
}
```

## State Management

Ecomode state is tracked in `.omc/state/ecomode-state.json`.

When work is complete, run `/oh-my-gemini:cancel` for clean state cleanup.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.