oh-my-openagent-omo
```markdown
What this skill does
```markdown
---
name: oh-my-openagent-omo
description: Expert skill for oh-my-openagent (omo) — the multi-model AI agent harness built on OpenCode with ultrawork orchestration, discipline agents, and multi-provider support
triggers:
- "set up oh-my-openagent"
- "configure omo ultrawork"
- "install oh-my-opencode"
- "use ultrawork with claude"
- "set up multi-model agent orchestration"
- "configure omo with openai and anthropic"
- "run discipline agents with omo"
- "get oh-my-openagent working"
---
# Oh My OpenAgent (omo) — AI Agent Harness
> Skill by [ara.so](https://ara.so) — Daily 2026 Skills collection.
oh-my-openagent (omo) is an open-source agent harness built on top of OpenCode that lets you orchestrate multiple AI models (Claude, GPT, Gemini, Kimi, GLM, Minimax, etc.) in parallel. It ships with pre-configured discipline agents, the `ultrawork` command, hash-anchored editing, LSP + AST-grep tooling, built-in MCPs, and a tmux-integrated TUI.
---
## Installation
### Via AI Agent (recommended)
Paste this into Claude Code, Cursor, AmpCode, or any coding agent:
```
Install and configure oh-my-opencode by following the instructions here:
https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/refs/heads/dev/docs/guide/installation.md
```
### Manual — npm global
```bash
npm install -g oh-my-opencode
```
### Manual — npx (no install)
```bash
npx oh-my-opencode@latest
```
### Manual — bun
```bash
bun add -g oh-my-opencode
```
---
## Quick Start
```bash
# Launch the TUI
omo
# Or use the legacy alias
oh-my-opencode
# Once inside the TUI, activate full orchestration:
ultrawork
# or the short alias:
ulw
```
---
## Configuration
omo uses a `config.json` (OpenCode-compatible) plus a `CLAUDE.md` / `AGENTS.md` skill file in your project root.
### Minimal `~/.config/opencode/config.json`
```jsonc
{
"$schema": "https://opencode.ai/config.schema.json",
"theme": "opencode",
"providers": {
"anthropic": {
"apiKey": "$ANTHROPIC_API_KEY"
},
"openai": {
"apiKey": "$OPENAI_API_KEY"
},
"google": {
"apiKey": "$GOOGLE_API_KEY"
}
},
"model": "anthropic/claude-opus-4-5",
"autoshare": false
}
```
### Multi-provider `config.json` (full power)
```jsonc
{
"$schema": "https://opencode.ai/config.schema.json",
"theme": "opencode",
"providers": {
"anthropic": {
"apiKey": "$ANTHROPIC_API_KEY"
},
"openai": {
"apiKey": "$OPENAI_API_KEY"
},
"google": {
"apiKey": "$GOOGLE_API_KEY"
},
"moonshot": {
"apiKey": "$MOONSHOT_API_KEY",
"baseURL": "https://api.moonshot.ai/v1"
},
"zhipu": {
"apiKey": "$ZHIPU_API_KEY",
"baseURL": "https://open.bigmodel.cn/api/paas/v4"
}
},
"model": "anthropic/claude-opus-4-5",
"mcpServers": {
"exa": {
"type": "stdio",
"command": "npx",
"args": ["-y", "exa-mcp-server"],
"env": {
"EXA_API_KEY": "$EXA_API_KEY"
}
},
"context7": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@upstash/context7-mcp"]
}
}
}
```
### Environment variables
```bash
# Required for your chosen provider(s)
export ANTHROPIC_API_KEY="..."
export OPENAI_API_KEY="..."
export GOOGLE_API_KEY="..."
# Optional — for built-in MCPs
export EXA_API_KEY="..."
# Optional — additional providers
export MOONSHOT_API_KEY="..." # Kimi
export ZHIPU_API_KEY="..." # GLM / Z.ai
```
---
## Core Commands Inside the TUI
| Command | Alias | Description |
|---|---|---|
| `ultrawork` | `ulw` | Activates all discipline agents; orchestrates until task is complete |
| `/ulw-loop` | ralph loop | Self-referential loop; reruns until 100% done |
| `/new` | | Start a new session |
| `/model` | | Switch the active model |
| `/mcp` | | List or toggle MCP servers |
| `/share` | | Share session transcript |
| `Ctrl+C` | | Interrupt current agent run |
---
## Discipline Agents
`ultrawork` spins up the full Sisyphus team in parallel:
| Agent | Role |
|---|---|
| **Sisyphus** | Orchestrator — delegates and tracks overall task completion |
| **Hephaestus** | Implementer — writes and edits code |
| **Oracle** | Reasoner — deep analysis, planning, and debugging |
| **Librarian** | Documentation and context retrieval |
| **Explore** | Web search, discovery, and research via Exa MCP |
Each agent is scoped to a lightweight context to avoid token bloat.
---
## Skills / AGENTS.md
omo is Claude Code-compatible. Place a `CLAUDE.md` or `AGENTS.md` file in your project root to give agents project-specific context:
```markdown
# Project Context
## Stack
- Next.js 15 (App Router)
- Prisma + PostgreSQL
- Tailwind CSS v4
## Key commands
- `pnpm dev` — start dev server
- `pnpm test` — run Vitest suite
- `pnpm db:migrate` — run Prisma migrations
## Conventions
- All React components use named exports
- API routes live in `src/app/api/`
- Shared types in `src/types/`
```
---
## Hash-Anchored Edit Tool
omo uses `LINE#ID` content hashes to validate every file edit, preventing stale-line errors.
When writing agent prompts that involve edits, reference the hash pattern:
```typescript
// The agent will internally resolve LINE#ID before patching.
// You never interact with hashes directly — they are managed by omo's edit tool.
// Just describe the change in plain language:
"In src/utils/format.ts, change the date format from MM/DD/YYYY to YYYY-MM-DD"
```
---
## LSP + AST-Grep Integration
omo ships workspace-level rename and AST-aware rewrite capabilities:
```bash
# Agents can invoke these automatically. You can also trigger explicitly:
# "Rename all usages of `getUserById` to `fetchUserById` across the workspace"
# "Find all React components that use useEffect without a dependency array"
```
For manual AST-grep queries in your terminal:
```bash
# Install ast-grep if not present
npm install -g @ast-grep/cli
# Example: find all `console.log` calls in TypeScript files
ast-grep --lang typescript --pattern 'console.log($$$)'
# Example: find React hooks missing dependency arrays
ast-grep --lang typescript --pattern 'useEffect(() => { $$$ })'
```
---
## Built-in MCP Servers
| MCP | Purpose | Env var needed |
|---|---|---|
| **Exa** | Live web search | `EXA_API_KEY` |
| **Context7** | Official library docs lookup | none |
| **Grep.app** | GitHub code search | none |
Add them to `config.json` under `mcpServers`:
```jsonc
{
"mcpServers": {
"exa": {
"type": "stdio",
"command": "npx",
"args": ["-y", "exa-mcp-server"],
"env": { "EXA_API_KEY": "$EXA_API_KEY" }
},
"context7": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@upstash/context7-mcp"]
},
"grep-app": {
"type": "stdio",
"command": "npx",
"args": ["-y", "grep-app-mcp"]
}
}
}
```
---
## Skill-Embedded MCPs
You can attach MCP server configuration directly inside a skill file so the agent carries its own tools without polluting the global context:
```markdown
<!-- Inside a custom SKILL.md -->
---
mcpServers:
my-db-tool:
type: stdio
command: node
args: ["./tools/db-inspector.js"]
env:
DATABASE_URL: "$DATABASE_URL"
---
```
---
## Tmux Integration
omo supports full interactive terminals via tmux, enabling REPLs, debuggers, and TUI apps inside the agent session.
```bash
# Ensure tmux is installed
brew install tmux # macOS
sudo apt install tmux # Debian/Ubuntu
# omo will detect tmux automatically when launched inside a tmux session
tmux new -s omo
omo
```
Agents can then spawn panes, run long-lived processes, and read their output.
---
## IntentGate
Before classifying or acting on any user message, omo's IntentGate layer analyses true intent. This prevents literal misinterpretation.
Practical implication — be expressive with your prompts:
```
# Less effective (too literal):
"Delete all TODO comments"
# More effective (expresses true intent):
"Clean up all TODO comments that Related in Writing & Docs
jax-development
IncludedUse this skill when the user is writing, debugging, profiling, refactoring, reviewing, benchmarking, parallelising, exporting, or explaining JAX code, or when they mention JAX, jax.numpy, jit, grad, value_and_grad, vmap, scan, lax, random keys, pytrees, jax.Array, sharding, Mesh, PartitionSpec, NamedSharding, pmap, shard_map, Pallas, XLA, StableHLO, checkify, profiler, or the JAX repo. It helps turn NumPy or PyTorch-style code into pure functional JAX, fix tracer/control-flow/shape/PRNG bugs, remove recompiles and host-device syncs, choose transforms and sharding strategies, inspect jaxpr/lowering/IR, and benchmark compiled code correctly.
nature-article-writer
IncludedDrafts, rewrites, diagnostically critiques, and style-calibrates primary research manuscripts for Nature and Nature Portfolio journals. Use when the user wants a Nature-style title, summary paragraph or abstract, introduction, results, discussion, methods, figure legends, presubmission enquiry, cover letter, reviewer response, or when a scientific draft sounds generic, jargon-heavy, structurally weak, or AI-ish and needs precise, broad-reader-friendly prose without inventing data, analyses, or references. Best for primary research articles and letters rather than reviews or press releases unless explicitly adapting one.
deckrd
IncludedDocument-driven framework that derives requirements, specifications, implementation plans, and executable tasks from goals through structured AI dialogue. Use when user says "write requirements", "create spec", "plan implementation", "derive tasks", "structure this feature", "break down into tasks", or "document this module". Also use for reverse engineering existing code into docs (/deckrd rev). Do NOT use for direct code writing — use /deckrd-coder after tasks are generated. Do NOT use when the user only wants to run or fix existing code without planning.
clinical-decision-support
IncludedGenerate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading, statistical analysis (hazard ratios, survival curves, waterfall plots), biomarker integration, and regulatory compliance. Outputs publication-ready LaTeX/PDF format optimized for drug development, clinical research, and evidence synthesis.
handling-sf-data
IncludedSalesforce data operations with 130-point scoring. Use this skill to create, update, delete, bulk import/export, generate test data, and clean up org records using sf CLI and anonymous Apex. TRIGGER when: user creates test data, performs bulk import/export, uses sf data CLI commands, needs data factory patterns for Apex tests, or needs to seed/clean records in a Salesforce org. DO NOT TRIGGER when: SOQL query writing only (use querying-soql), Apex test execution (use running-apex-tests), or metadata deployment (use deploying-metadata).
accelint-ac-to-playwright
IncludedConvert and validate acceptance criteria for Playwright test automation. Use when user asks to (1) review/evaluate/check if AC are ready for automation, (2) assess if AC can be converted as-is, (3) validate AC quality for Playwright, (4) turn AC into tests, (5) generate tests from acceptance criteria, (6) convert .md bullets or .feature Gherkin files to Playwright specs, (7) create test automation from requirements. Handles both bullet-style markdown and Gherkin syntax with JSON test plan generation and validation.