← Back to Skills Marketplace
njbrake

Agent of Empires

by njbrake · GitHub ↗ · v1.4.6 · MIT-0
cross-platform ✓ Security Clean
605
Downloads
0
Stars
0
Active Installs
18
Versions
Install in OpenClaw
/install aoe
Description
Manage AI coding agent sessions via Agent of Empires (aoe)
README (SKILL.md)

Agent of Empires (aoe) Skill

Use aoe to create, manage, and monitor AI coding agent sessions (Claude Code, Codex, OpenCode, etc.) in tmux. Prefer aoe over raw tmux commands for agent management.

When to use this skill

  • 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

Do NOT use this skill for general tmux window/pane management unrelated to coding agents.

Core concepts

  • Session: An agent process running in a tmux session. Each session 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 \x3Cname> globally or set AGENT_OF_EMPIRES_PROFILE.
  • Status: One of running, waiting, idle, stopped, error, starting, unknown.

Command reference

Adding sessions

# 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 (parallel branch)
aoe add . -t "fix-123" -w 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 \x3Cparent-id>

# Enable YOLO mode (skip permission prompts)
aoe add . -t "yolo" -y -l

Listing sessions

# Human-readable list
aoe list

# JSON output for parsing
aoe list --json

# List across all profiles
aoe list --all

JSON output shape (aoe list --json):

[
  {
    "id": "a1b2c3d4-...",
    "title": "my feature",
    "project_path": "/home/user/project",
    "group_path": "backend",
    "tool": "claude",
    "status": "running",
    "profile": "default"
  }
]

Session lifecycle

aoe session start \x3Cid-or-title>
aoe session stop \x3Cid-or-title>
aoe session restart \x3Cid-or-title>
aoe session attach \x3Cid-or-title>   # interactive attach

Inspecting sessions

# Show session metadata
aoe session show \x3Cid-or-title> --json

# Capture tmux pane content (key for monitoring)
aoe session capture \x3Cid-or-title> --json
aoe session capture \x3Cid-or-title> -n 100 --strip-ansi
aoe session capture \x3Cid-or-title>   # plain text, good for piping

# Quick status summary
aoe status --json
aoe status -q   # just the waiting count (for scripting)

JSON output shape (aoe session capture --json):

{
  "id": "a1b2c3d4-...",
  "title": "my feature",
  "status": "waiting",
  "tool": "claude",
  "content": "... pane text ...",
  "lines": 50
}

JSON output shape (aoe session show --json):

{
  "id": "a1b2c3d4-...",
  "title": "my feature",
  "path": "/home/user/project",
  "group": "backend",
  "tool": "claude",
  "command": "claude",
  "status": "running",
  "profile": "default"
}

JSON output shape (aoe status --json):

{
  "total": 5,
  "running": 2,
  "waiting": 1,
  "idle": 1,
  "stopped": 1,
  "sessions": [...]
}

Auto-detection (inside a tmux pane)

When called from within an aoe-managed tmux session, identifier can be omitted:

aoe session show          # auto-detects current session
aoe session capture       # auto-detects current session
aoe session current --json

Renaming and organizing

aoe session rename \x3Cid> -t "new title"
aoe session rename \x3Cid> -g "new/group"

aoe group create mygroup
aoe group move \x3Cid-or-title> mygroup
aoe group list --json
aoe group delete mygroup --force

Profiles

aoe profile list
aoe profile create staging
aoe profile delete staging
aoe profile default staging   # set default
aoe -p staging list            # use inline

Worktrees

aoe worktree list
aoe worktree info \x3Cid-or-title>
aoe worktree cleanup -f

Removing sessions

aoe remove \x3Cid-or-title>
aoe remove \x3Cid-or-title> --delete-worktree --force

Workflow patterns

Single agent

aoe add /path/to/repo -t "feature X" -l
# ... wait ...
aoe session capture "feature X" --json

Parallel worktree agents

aoe add . -t "issue-100" -w fix/issue-100 -l
aoe add . -t "issue-101" -w fix/issue-101 -l
aoe add . -t "issue-102" -w fix/issue-102 -l
aoe status --json   # check all at once

Monitoring loop

Poll all sessions until none are running:

while true; do
  status=$(aoe status --json)
  waiting=$(echo "$status" | jq '.waiting')
  running=$(echo "$status" | jq '.running')
  if [ "$running" -eq 0 ] && [ "$waiting" -eq 0 ]; then
    echo "All agents finished"
    break
  fi
  echo "Running: $running, Waiting: $waiting"
  sleep 30
done

Capture and review

for id in $(aoe list --json | jq -r '.[].id'); do
  echo "=== $id ==="
  aoe session capture "$id" -n 100 --strip-ansi
  echo
done

Group operations via TUI

Groups are primarily managed through the aoe TUI (run aoe with no arguments). The TUI supports bulk start/stop/restart on groups. Use CLI commands above for scripted workflows.

Usage Guidance
This skill is coherent with its purpose, but before installing/use: - Ensure the 'aoe' binary installed on your system comes from the official project (review the GitHub repo/releases or package manager) so you don't run a malicious binary. - Be aware that 'aoe session capture' reads tmux pane contents; captured output may include sensitive data (API keys, passwords, private files printed to terminal). Avoid capturing or sharing panes that might contain secrets. - Note 'aoe add -s' (Docker sandbox) and 'aoe add -y' (skip prompts) flags: review what sandboxing does in the aoe docs and avoid YOLO mode if you want prompts/consent. - Running aoe commands will act on local worktrees and may create/delete worktrees or containers when using options like --delete-worktree; double-check commands before running them in important projects. - Because this skill is instruction-only, the platform will not install aoe for you — install/inspect the aoe binary yourself from a trusted release and, if possible, review its source before use.
Capability Analysis
Type: OpenClaw Skill Name: aoe Version: 1.4.6 The skill bundle provides documentation for the 'aoe' (Agent of Empires) CLI tool, designed to manage multiple AI coding agent sessions within tmux. The instructions in SKILL.md cover standard session management tasks such as adding, listing, monitoring, and capturing output from agents, as well as organizational features like groups and profiles. No indicators of malicious intent, data exfiltration, or prompt injection were found; the tool's capabilities (including a 'YOLO mode' to skip prompts) are consistent with its stated purpose of automating developer workflows.
Capability Assessment
Purpose & Capability
Name/description (manage Agent of Empires sessions) matches the declared requirements: the skill is instruction-only and requires the 'aoe' binary and 'tmux'. Those binaries are appropriate and expected for the stated functionality.
Instruction Scope
SKILL.md stays within scope (adding/listing/starting/stopping sessions, capturing pane content, profiles, worktrees). It instructs capturing tmux pane content and auto-detecting sessions in-tmux, which is consistent with monitoring but can read arbitrary terminal output (potentially sensitive). The guide also references filesystem paths (project/worktree) but does not instruct reading unrelated system files or credentials.
Install Mechanism
No install spec is provided (instruction-only). This is low risk from the skill bundle perspective, but the user must separately install 'aoe' from a trusted source (homepage points to a GitHub repo).
Credentials
No required environment variables, secrets, or config paths are declared. The actions described (tmux pane capture, running local aoe commands) do not demand external credentials from the skill metadata.
Persistence & Privilege
Skill is not forced-always, does not request persistent platform privileges, and contains no instructions to modify other skills or system-wide agent settings. Autonomous invocation is allowed by default (platform behavior) but not combined with other concerning flags here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install aoe
  3. After installation, invoke the skill by name or use /aoe
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.4.6
No changes detected in this version. - No file or documentation updates. - Behavior and features remain unchanged from the previous release.
v1.4.5
No changes detected in this version. - Version 1.4.5 is functionally identical to the previous release. - No files were changed, and documentation remains the same. - There are no new features, bugfixes, or updates in this release.
v1.4.4
No user-facing changes in this release. - Version bump to 1.4.4 with no documentation or functional updates.
v1.4.3
No changes detected in this release. - Version 1.4.3 contains no updates to code or documentation.
v1.4.2
Version 1.4.2 of the aoe skill - No file changes were detected in this release. - Documentation and usage details remain unchanged from the previous version.
v1.4.1
No user-visible changes in this release. - No changes detected in documentation or functionality. - Version incremented to 1.4.1.
v1.4.0
- Removed the version field from the SKILL.md frontmatter. - No functional or command changes to the skill's description or usage.
v1.3.0
No file changes detected between versions 0.15.1 and 1.3.0. - Version bumped to 1.3.0 with no content changes. - No updates to commands, documentation, or features.
v1.2.0
No file changes detected. - Version incremented from 0.15.1 to 1.2.0 with no other modifications. - All documentation, commands, features, and descriptions remain unchanged.
v1.1.0
No changes detected for version 1.1.0. - The skill contents and documentation remain unchanged from the previous release.
v1.0.2
No changes detected in this release. - There were no file or documentation changes between the previous and current version.
v1.0.1
No user-visible changes in this release. - Version bump from 0.15.1 to 1.0.1, no other updates detected. - Documentation, commands, and usage remain unchanged.
v1.0.0
No changes detected from the previous version. - Initial public release. - Provides tools to manage and monitor AI coding agent sessions via Agent of Empires (aoe). - Features session creation, grouping, profiling, worktree support, and CLI/TUI workflows. - Extensive JSON output support for scripting and automation.
v0.18.1
No user-visible changes in this version. - Version bump: 0.18.1 (previously 0.15.1) - No file changes detected; functionality and documentation remain unchanged.
v0.18.0
No file changes detected for this version. - Version bumped to 0.18.0 - No user-visible changes or updates in SKILL.md - Safe to update; behavior remains unchanged
v0.17.1
No file changes detected. No user-facing changes in this version.
v0.17.0
No file changes detected in this release. - Version bump to 0.17.0 with no visible changes to documentation or code. - No new features, fixes, or updates introduced.
v0.16.0
- Initial public documentation of the Agent of Empires (aoe) skill for managing AI coding agent sessions in tmux. - Clarifies usage scenarios, core concepts (sessions, groups, profiles, statuses), and when not to use the skill. - Provides detailed command reference for session, group, profile, and worktree management, including JSON output shapes. - Includes practical workflow patterns and scripting examples for session monitoring and bulk operations. - Notes TUI features and integration.
Metadata
Slug aoe
Version 1.4.6
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 18
Frequently Asked Questions

What is Agent of Empires?

Manage AI coding agent sessions via Agent of Empires (aoe). It is an AI Agent Skill for Claude Code / OpenClaw, with 605 downloads so far.

How do I install Agent of Empires?

Run "/install aoe" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Agent of Empires free?

Yes, Agent of Empires is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Agent of Empires support?

Agent of Empires is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Agent of Empires?

It is built and maintained by njbrake (@njbrake); the current version is v1.4.6.

💬 Comments