ecomode/SKILL.md
Token-efficient model routing modifier
npx skillsauth add abanoub-ashraf/manus-skills-import ecomodeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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
spawn_sub_agent(subagent_type="oh-my-codex:executor-low", model="haiku", prompt="...")
spawn_sub_agent(subagent_type="oh-my-codex:explore", model="haiku", prompt="...")
spawn_sub_agent(subagent_type="oh-my-codex:architect-low", model="haiku", prompt="...")
// FALLBACK - Only if LOW fails
spawn_sub_agent(subagent_type="oh-my-codex:executor", model="sonnet", prompt="...")
spawn_sub_agent(subagent_type="oh-my-codex:architect-medium", model="sonnet", prompt="...")
// AVOID - Only for planning/critique if essential
spawn_sub_agent(subagent_type="oh-my-codex:planner", model="opus", 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 20 concurrent.
Ecomode can be completely disabled via config. When disabled, all ecomode keywords are ignored.
Set in ~/.codex/.omx-config.json:
{
"ecomode": {
"enabled": false
}
}
Use omx_state MCP tools for ecomode lifecycle state.
state_write({mode: "ecomode", active: true})state_write({mode: "ecomode", active: false})$cancel (which should call state_clear(mode="ecomode"))development
Design principles for building polished, native-feeling SwiftUI apps and widgets. Use this skill when creating or modifying SwiftUI views, iOS widgets (WidgetKit), or any native Apple UI. Ensures proper spacing, typography, colors, and widget implementations that look and feel like quality apps rather than AI-generated slop.
data-ai
Design and implement SwiftUI views, components, and app architecture. Use when creating new SwiftUI views, implementing MVVM/TCA patterns, managing state with @Observable, @State, @Binding, or @Environment, designing navigation flows, or structuring iOS app architecture. Triggers on SwiftUI, view model, state management, navigation, coordinator pattern.
development
Implement, review, or improve SwiftUI animations and transitions. Use when adding implicit or explicit animations with withAnimation, configuring spring animations (.smooth, .snappy, .bouncy), building phase or keyframe animations with PhaseAnimator/KeyframeAnimator, creating hero transitions with matchedGeometryEffect or matchedTransitionSource, adding SF Symbol effects (bounce, pulse, variableColor, breathe, rotate, wiggle), implementing custom Transition or CustomAnimation types, or ensuring animations respect accessibilityReduceMotion.
testing
Audit SwiftUI views for accessibility (iOS + macOS) with patch-ready fixes