SKILL.md--- name: aoe description: Use when launching, monitoring, or controlling AI coding agents (Claude Code, Codex, OpenCode, etc.) in tmux via Agent of Empires (aoe). Covers creating sessions, capturing agent output, running parallel worktree agents, and organizing work into groups and profiles. Prefer aoe over raw tmux for agent management. version: 1.1.0 author: njbrake (Agent of Empires) license: MIT metadata: hermes: tags: [coding-agents, tmux, orchestration, sessions, worktrees, automation] related_skills: [subagent-driven-development] --- # Agent of Empires (aoe) ## Overview `aoe` creates, manages, and monitors AI coding agent sessions (Claude Code, Codex, OpenCode, and others) inside tmux. Each session is an agent process with an ID, title, tool, project path, and live status. Use `aoe` instead of raw `tmux` commands whenever the work is about coding agents: it tracks status, captures output, manages git worktrees for parallel branches, and organizes sessions into groups and profiles. ## When to Use - Launching one or more AI coding agents on project directories. - Monitoring agent progress (waiting vs running vs idle). - Capturing agent output for review. - Organizing agents into groups or profiles. - Setting up parallel worktree-based development. **Don't use for:** general tmux window/pane management unrelated to coding agents. ## Requirements The `aoe` and `tmux` binaries must be on `PATH`, and commands run through a shell. Install aoe from https://github.com/agent-of-empires/agent-of-empires. ## Core Concepts - **Session**: An agent process running in a tmux session. Each has an ID, title, tool (e.g. `claude`), and project path. - **Group**: A named folder for organizing sessions (supports nesting with `/`, e.g. `backend/api`). - **Profile**: A separate workspace with its own sessions and config. Use `-p <name>` globally or set `AGENT_OF_EMPIRES_PROFILE`. - **Status**: One of `running`, `waiting`, `idle`, `stopped`, `error`, `starting`, `unknown`. ## Adding Sessions ```bash # Add a session for the current directory aoe add . -t "my feature" # Add with group, launch immediately aoe add /path/to/repo -t "API work" -g backend -l # Add with specific tool aoe add . -t "codex session" -c codex # Add in a git worktree on a new branch, YOLO mode (omit -b to check out an existing branch) aoe add . -t "fix-123" -w fix/issue-123 -b -y -l # Base the new branch on another branch instead of the default aoe add . -t "fix-124" -w fix/issue-124 -b --base-branch fix/issue-123 -l # Add in Docker sandbox aoe add . -t "sandboxed" -s -l # Add as sub-session of another aoe add . -t "sub task" -P <parent-id> # Enable YOLO mode (skip permission prompts) aoe add . -t "yolo" -y -l ``` Without `--base-branch`, `-w <branch> -b` starts the branch from `worktree.default_base_branch` if set, otherwise from the repo's detected default branch (chosen among each remote's `H