Skip to content

tmcfarlane/oh-my-cursor

Repository files navigation

oh-my-cursor
presents

oh-my-cursor: Team Avatar Agent Orchestration

TEAM AVATAR

Multi-agent philosophy for Cursor subagents. Nothing but config files.
Created by ZeroClickDev

NOW USING UNDOCUMENTED FEATURES OF CURSOR!

License: MIT GitHub Stars

Note (March 2026): I will be unable to support this repository for the next 30 days. If you enjoy this project, please consider contributing until I return. Bug reports and pull requests are still welcome — reviews will resume when I'm back. Thank you for your patience and support!

Quick Start (One Command)

curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash

What Is This?

oh-my-cursor is a curated set of 8 agent manifests, 8 slash commands, hooks, and one orchestration rule -- themed around Avatar: The Last Airbender.

  • agents: Team Avatar -- specialized roles mapped to ATLA characters (Aang, Sokka, Katara, Zuko, Toph, Appa, Momo, Iroh)
  • commands: Slash commands (/plan, /build, /search, /fix, /tasks, /scout, /doc, /cactus-juice) for explicit orchestration control
  • hooks: System-level lint verification and constraint enforcement
  • orchestrator: A single rule (orchestrator.mdc) that coordinates everything -- "Team Avatar"

No external runtime. No wrapper CLI. Just Cursor's built-in Task subagents.

NOW USING UNDOCUMENTED FEATURES OF CURSOR.

Team Avatar relies on Cursor accepting custom strings in agent model: frontmatter for per-agent routing. It’s unofficial and may change; see Undocumented: Custom Model Aliases.

Contents

Always Use the Orchestrator

The orchestrator rule (orchestrator.mdc) isn't decoration — it rewires how the root thread thinks. Here's a real example of the root thread's internal reasoning when asked to update installation instructions:

Planning Installation Instructions

I need to follow the orchestrator's guidance, since the root can't use Read directly and must delegate via Task. I have to document this in the README and use iroh, but I'm unsure about the new installation instructions, which might be documented elsewhere. It's critical to know these details, so I could search the repository with iroh/toph for existing install docs. I'll have to organize a plan: dispatch toph to find the installation instructions and have iroh update the README after. Plus, I'll create a to-do list to keep track of everything.

Every sentence maps to an orchestrator rule:

  • "the root can't use Read directly" — The root thread is a pure dispatcher. Its only permitted tools are Task, TodoWrite, AskQuestion, and SwitchMode. Every other tool is forbidden.
  • "must delegate via Task" — All work flows through the Task tool. No exceptions, no shortcuts, no matter how small or obvious the operation.
  • "use iroh" — Agent routing in action. Documentation tasks route to Iroh. The root matches intent to the correct specialist before dispatching.
  • "search the repository with toph" — Toph handles all exploration, search, and "how does X work?" queries. The root never searches directly.
  • "dispatch toph... have iroh update after" — Phase chain orchestration: Toph explores first, Iroh writes second. Output from phase N becomes context for phase N+1.
  • "create a to-do list" — Two or more steps triggers TodoWrite immediately. The orchestrator enforces task tracking for every complex operation.

Team Avatar -- The Agents

Eight specialized agents, each mapped to an Avatar character with a dedicated model and role. Expand any agent for skills and working screenshots.

Aang   Sokka   Katara   Zuko   Toph   Appa   Momo   Iroh

AangThe Avatar · claude-4.6-sonnet-medium-thinking

Deep multi-file executor + architecture consultant. Masters all elements.

Master of all four elements — Multi-agent orchestration in action

Skills: design-patterns-implementation · refactoring-patterns · vercel-react-best-practices

Aang working screenshot

SokkaThe Strategist · claude-4.6-opus-max-thinking

Planning, ambiguity analysis, plan review. The brain behind every mission.

Ask First, Dispatch Second — The orchestrator clarifies before sending agents

Skills: architect · planning · technical-roadmap-planning

Sokka working screenshot

KataraThe Healer · claude-4.6-sonnet-medium-thinking

Disciplined implementation, debugging, methodical fixes. Mends broken code.

Precision Healer — Surgical debugging, smallest possible fix

Skills: debugging · refactoring · refactoring-patterns

Katara working screenshot

ZukoThe Firebender · gemini-3.1-pro

Visual design: image generation, icons, UI mockups. Brings designs to life.

Fire and Finesse — Image generation, icons, and UI mockups

Skills: create-an-asset · implementing-figma-designs · web-design-guidelines

Zuko working screenshot

TophThe Seer · kimi-k2.5

Codebase search, external docs, media analysis. Sees everything.

Seismic Sense — Multi-angle codebase search and doc exploration

Skills: codebase-search · exploring-codebases · mgrep-code-search

Toph working screenshot

AppaThe Heavy Lifter · kimi-k2.5

Systematic task list execution. Carries the team.

Plan Executor — Systematic task list execution, one step at a time

Skills: frontend-builder · vercel-composition-patterns · vercel-react-best-practices

Appa working screenshot

MomoThe Scout · kimi-k2.5

Quick focused tasks. Small, agile, independent.

Speed Demon — Parallel micro-tasks, maximum speed

Skills: refactoring · refactoring-patterns · vercel-react-best-practices

Momo working screenshot

IrohThe Storyteller · claude-4.6-opus-max-thinking

Documentation specialist. Sole owner of README, CHANGELOG, and all project docs.

Man of his letters — Iroh spends much of his time writing letters to family.

Skills: crafting-effective-readmes · docs-write · documentation-engineer · documentation-writing

Iroh working screenshot

How to Install

Requirements: Cursor with a plan that supports agent mode (subagents). No external runtime or dependencies.

# [Default] Install to user scope (applies to all Cursor projects)
curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash

# Install to this project only (./.cursor/)
curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash -s -- --project

# Also install for Claude Code and Codex compatibility
curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash -s -- --claude --codex

# Skip skills installation (skills are installed by default)
curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash -s -- --no-skills

# Preview changes
curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash -s -- --dry-run

# Update/overwrite existing files
curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash -s -- --force

# Uninstall
curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash -s -- --uninstall

# Disable orchestration (Cursor stops applying the rule; agents and commands stay)
curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash -s -- --disable

# Re-enable orchestration
curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash -s -- --enable

Hacking on the repo locally? Clone it, then run bash install.sh to install from source.

Enable / disable: Use --disable to turn off Team Avatar orchestration (the root thread can use normal tools again). Agents and slash commands remain installed; use --enable to turn orchestration back on. Use --project with --disable or --enable to toggle project scope only.

What Gets Installed

Scope Agents Rules Commands Hooks Skills
--user (default) ~/.cursor/agents/ ~/.cursor/rules/ ~/.cursor/commands/ ~/.cursor/hooks/ ~/.cursor/skills/
--project ./.cursor/agents/ ./.cursor/rules/ ./.cursor/commands/ ./.cursor/hooks/ ./.cursor/skills/
--claude Also .claude/agents/ Also .claude/rules/ Also .claude/commands/ Also .claude/hooks/
--codex Also .codex/agents/ Also .codex/rules/ Also .codex/commands/ Also .codex/hooks/
--no-skills Skipped

Upgrading from oh-my-cursor v0.1 is automatic

The installer automatically detects and removes old agent files (hephaestus, prometheus, atlas, etc.) when installing the new Team Avatar agents.

Undocumented: Custom Model Aliases

Cursor accepting custom model aliases in agent frontmatter

Cursor has a quiet superpower: the model: field in agent frontmatter will accept arbitrary model alias strings — not just the built-in options in Cursor’s model picker.

That unlocks per-agent model routing. In oh-my-cursor, it’s how each Team Avatar role gets the right “brain” for the job (speed, depth, or multimodal) without waiting for Cursor to officially list every provider/model combination.

Example:

---
name: momo is doing some quick code changes
model: kimi-k2.5
---
---
name: zuko is firing up some graphics 🔥
model: gemini-3.1-pro
---

This is currently undocumented by Cursor and may change without notice. It works as of February 2026. If Cursor removes or changes alias support, swap model: to any picker-supported string — the rest of oh-my-cursor still works (you just lose custom routing).

Slash Commands

Type these in Cursor's chat to invoke specific workflows:

Command Agent Purpose
/plan Sokka Full planning pipeline: ambiguity analysis, plan creation, self-review
/build Aang Deep multi-file implementation with verification
/search Toph Multi-angle codebase + docs exploration
/fix Katara Methodical debugging and code healing
/tasks Appa Systematic task list execution
/scout Momo Quick focused tasks
/doc Iroh Documentation generation and updates
/cactus-juice Swarm Decompose into micro-tasks, spawn up to 10 parallel workers

Two Orchestration Modes

Avatar State (Default)

The default mode. Coordinated, tiered, using the full Team Avatar hierarchy with model-optimized agents. The orchestrator rule auto-detects which agents to fire based on request signals.

Cactus Juice Mode

Activated via /cactus-juice. Named after the desert cactus juice that made Sokka hallucinate -- "It'll Quench Ya!"

This mode trades depth for massive parallelism:

  1. The root thread decomposes your request into 5-10 independent micro-tasks
  2. Each micro-task is scoped to a single file -- completable in isolation
  3. Up to 10 subagents spawn simultaneously, each with minimal context
  4. All workers use model: fast for maximum speed and minimum cost
  5. Workers are instructed to write low cognitive complexity code
  6. Root thread collects results, verifies consistency, fixes integration issues

See the magic of Cactus Juice!:

Cactus Juice mode demo

Architecture

flowchart TD
  U["You (root thread)"] --> R["orchestrator.mdc<br/>(Team Avatar)"]

  R --> IG{"Intent gate<br/>what did the user ask?"}

  IG -->|"search / 'how does X work?'"| T["Task(toph)<br/>Seer"]
  IG -->|"ambiguous / complex scope"| S["Task(sokka)<br/>Strategist"]
  IG -->|"visual assets"| Z["Task(zuko)<br/>Firebender"]

  IG -->|"complex feature"| PLAN["Task(sokka) → plan"]
  PLAN --> IMPL["Task(aang / katara)<br/>Coordinators"]

  IMPL -->|"spawns"| T2["toph (fast)"]
  IMPL -->|"spawns"| M2["momo (kimi-k2.5)"]

  IG -->|"task list"| AP["Task(appa)<br/>Heavy Lifter"]
  AP -->|"spawns"| M3["momo"]

  IG -->|"quick task"| MO["Task(momo)<br/>Scout"]

  IMPL --> V{"Verification<br/>lints / build / tests"}
  V -->|pass| DONE["Done"]
  V -->|fail| FR["Failure recovery<br/>(retry → aang → user)"]

  subgraph swarmNote ["Swarm Mode (Cursor 2.5+)"]
    N1["Coordinators spawn workers async.<br/>Max depth = 2. Workers are leaf nodes."]
  end
Loading

Async Subagents (Cursor 2.5+)

This project implements a two-tier swarm architecture using Cursor's native async subagent support:

  • Coordinators (Tier 1): Aang, Sokka, Katara, Appa -- can spawn worker subagents
  • Workers (Tier 2): Toph, Momo -- leaf nodes that execute focused tasks
  • Root-only workers: Zuko -- dispatched only by the root thread

Three async dispatch patterns:

Pattern How It Works
Fire-and-Continue Spawn Toph in background (is_background: true), continue working, collect results later
Fire-and-Collect Spawn multiple Momo workers for independent tasks, wait for all, verify each
Research-then-Act Spawn Toph workers in parallel for research, use findings to guide implementation

Hooks

System-level enforcement that doesn't rely on agents remembering to verify:

Hook Purpose
post-edit-lint.sh Automatically run lints after agent edits
pre-commit-check.sh Enforce hard constraints (as any, empty catches, @ts-ignore) before commits

Prompting Tips

The orchestrator rule handles auto-delegation, but for maximum determinism:

You are Team Avatar. Use @toph to explore the codebase, @sokka to create a plan,
and @aang to implement. Verify with lints/build/tests. Keep going until done.

Or just use the slash commands:

/plan add OAuth support with JWT tokens
/build based on the plan above

Skills

Skills are directories containing a SKILL.md file that Cursor auto-discovers and presents to agents as specialized context. They extend agents with domain knowledge without modifying agent prompts directly.

oh-my-cursor bundles 19 skills vendored from the community and packaged in-repo for two reasons:

  • Security — We avoid pulling skills directly from their repos during install because at that point we have not verified any of those files. Fetching arbitrary third-party files during curl | bash is a trust problem. We use Vercel's agent-skills and skills.sh to find skills; if you want an at-a-glance safety signal, check skills.sh/audits.
  • Efficiency — Installing skills one at a time is slow and cumbersome, and even “automatic” installation would be painful (Cursor doesn’t offer a headless CLI for this). Bundling them makes installation a straight file copy from the repo’s skills/ directory.

Skills are installed by default. No Node.js required. Use --no-skills to skip skill installation.

Bundled skills

Skill Source Agents What it provides
architect thebushidocollective/han Sokka System architecture and high-level technical design
codebase-search supercent-io/skills-template Toph Systematic search strategies for navigating large codebases
create-an-asset anthropics/knowledge-work-plugins Zuko Generate tailored sales assets (landing pages, decks, one-pagers)
crafting-effective-readmes community Iroh Templates and guidance for writing effective READMEs matched to project type
debugging oimiragieo/agent-studio Katara Systematic 4-phase debugging with root cause investigation
design-patterns-implementation aj-geddes/useful-ai-prompts Aang Apply design patterns (Singleton, Factory, Observer, Strategy, etc.)
docs-write metabase/metabase Iroh Documentation following Metabase's conversational, user-focused style
documentation-engineer charon-fan/agent-playbook Iroh Technical documentation for creating clear, comprehensive docs
documentation-writing rysweet/amplihack Iroh Clear, discoverable docs following the Eight Rules and Diataxis framework
exploring-codebases community Toph Semantic search using AST-aware expansion for full context
frontend-builder daffy0208/ai-dev-standards Appa Modern React/Next.js frontend patterns and component architecture
implementing-figma-designs onekeyhq/app-monorepo Zuko Implement Figma designs 1:1 using component libraries
mgrep-code-search intellectronica/agent-skills Toph Semantic code search using mgrep for efficient exploration
planning thebushidocollective/han Sokka Technical implementation planning and architecture design
refactoring eyadsibai/ltk Katara, Momo Code restructuring, renaming, extraction, and migration
refactoring-patterns wondelai/skills Aang, Katara, Momo Named refactoring transformations to improve code structure
technical-roadmap-planning aj-geddes/useful-ai-prompts Sokka Comprehensive technical roadmaps aligned with business goals
vercel-composition-patterns vercel-labs/agent-skills Appa React composition patterns that scale
vercel-react-best-practices vercel-labs/agent-skills Aang, Appa, Momo React and Next.js performance optimization from Vercel Engineering
web-design-guidelines vercel-labs/agent-skills Zuko Web Interface Guidelines compliance for UI review

Installing skills

Skills are installed by default. To skip them:

# Skip skills installation
curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash -s -- --no-skills

# Skip skills for project-scoped install
curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash -s -- --no-skills --project

Adding custom skills

Create a directory with a SKILL.md file under .cursor/skills/ (project scope) or ~/.cursor/skills/ (user scope). Cursor auto-discovers it and presents it to all agents.

Bundled skills are vendored from their upstream repos and versioned alongside oh-my-cursor.

FAQ

Do I need to manually choose agents?

Not strictly -- the orchestrator auto-triggers delegation based on request signals. But slash commands (/plan, /build, /fix, etc.) give you explicit control.

Will this work on any Cursor plan?

If your plan supports agent mode / subagents, yes. These files shape Cursor's existing capabilities.

How do I update?

curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash -s -- --force

How do I uninstall?

curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash -s -- --uninstall

Can I use this with Claude Code or Codex?

Yes! Install with cross-tool flags:

curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash -s -- --claude --codex

Example Task Brief

Every delegation to an agent follows the orchestrator's mandatory 6-part format. Here's a real task brief — copy it and adapt the fields to your needs:

1. TASK: Add the provided task specification as an example task in `README.md`, somewhere near the bottom.
2. EXPECTED OUTCOME: `README.md` includes a clearly labeled section (e.g., "Example task" / "Example agent dispatch prompt") containing the full provided 6-part task brief, in a copy/paste-friendly format.
3. REQUIRED TOOLS: Read, ApplyPatch (optionally Grep/Glob).
4. MUST DO:
- Place the example near the bottom, in a location that matches the README's existing structure (preferably near any usage/examples/advanced sections, but before contribution/license if those exist).
- Preserve the text exactly (minor formatting only): keep the numbered 1–6 headings, bullets, and code formatting.
- Wrap it in a Markdown code block or blockquote (your choice) so it is easy to copy/paste. If using a code block, use ```text for readability.
- Add a short 1–2 sentence intro explaining what the example is demonstrating (e.g., "Here's a real task brief you can hand to an agent").
- Do not significantly increase README length beyond this example; keep it tight.
5. MUST NOT DO:
- Do not change other README content unless necessary for placement/flow.
- Do not alter the meaning of the example content.
6. CONTEXT:
- File: `/Users/tmcfarlane/repo/cursor-agents/README.md`
- Example content to insert is exactly what the user provided (the 1–6 TASK/EXPECTED OUTCOME/REQUIRED TOOLS/MUST DO/MUST NOT DO/CONTEXT block).

The Origin Story (aka: Token Optimization for Degenerates)

I upgraded my Cursor account to Ultra right before my usage was going to roll over.

Then I realized I had 9 days to burn roughly $300 worth of tokens to truly min/max the subscription rollover period.

So I did what any natural-born crayon eating ape would do:

  • I tried overengineering around CursorCLI
  • I decided it wasn't ready for the kind of nonsense I had planned
  • I jumped back into the UI
  • I realized I could basically clone the methodology behind oh-my-opencode
  • and that all it takes is dropping some files into Cursor config + one prioritised orchestration rule

Result: oh-my-cursor Agent Swarms that do real work and also help you responsibly (irresponsibly) "optimize" your token burn.

Inspiration

oh-my-opencode is the 32k+ star project that turned OpenCode into a multi-agent orchestration platform -- so impactful that Anthropic cited it by name when restricting third-party OAuth access in January 2026. This repo adapts its philosophy (agent specialization, parallel dispatch, phased orchestration, todo enforcement) to Cursor's native Task subagents. No plugin system, no wrapper CLI -- just Markdown config files.

Star History

Star History Chart

Contributing

Contributions that improve clarity, behavior, or docs are welcome. See CONTRIBUTING.md for guidelines.

Local development: Clone the repo and run bash install.sh to install from source. Changes to agents, rules, commands, or hooks take effect after reinstalling.

Security

To report a vulnerability, see SECURITY.md.

License

MIT. See LICENSE - Steal It Respectfully!

About

Like “oh-my-opencode”, but for Cursor IDE. Multi-agent orchestration, natively, using nothing but a few config files.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Contributors

Languages