首页龙虾技能列表 › Agent of Empires — 技能工具

Agent of Empires — 技能工具

v1.2.0

Manage AI coding agent sessions via Agent of Empires (aoe)

0· 403·0 当前·0 累计
by @njbrake·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/13
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The SKILL.md, declared requirements, and behavior are coherent with a CLI tool that manages aoe/tmux agent sessions; nothing requested is disproportionate to that purpose.
评估建议
This skill is coherent for managing aoe/tmux agent sessions, but before installing: (1) ensure the 'aoe' binary on your PATH is from a trusted source (verify the upstream GitHub release/commit), (2) be careful when using commands that capture tmux pane content or operate on worktrees — those can expose secrets or private data present in the terminal or repository, and (3) avoid using automation flags like -y/YOLO in shared environments. If you want extra safety, run aoe under a dedicated user or...
详细分析 ▾
用途与能力
The skill claims to manage Agent of Empires (aoe) sessions and only requires the 'aoe' and 'tmux' binaries, which is exactly what that purpose needs. No unrelated credentials, config paths, or unrelated binaries are requested.
指令范围
Instructions are narrowly focused on using aoe to add/list/manage/capture agent sessions in tmux. They do instruct the agent to capture tmux pane contents and to operate in worktrees, which is expected for an agent-management tool but can expose whatever text is present in those panes (including secrets). The presence of a YOLO mode (-y) that skips prompts is noted — it's functional for automation but increases risk if used carelessly.
安装机制
There is no install spec; this is instruction-only. No downloads or archives are requested, so nothing will be written to disk by the skill itself during installation.
凭证需求
The skill declares no required environment variables or credentials. The runtime instructions reference local paths and tmux sessions (appropriate for the tool) but do not demand unrelated secrets or external service keys.
持久化与权限
The skill is not always-enabled and does not request persistent or elevated platform privileges. It does not modify other skills or system-wide settings according to the supplied metadata.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.2.02026/3/12

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.

● 无害

安装命令 点击复制

官方npx clawhub@latest install aoe
镜像加速npx clawhub@latest install aoe --registry https://cn.clawhub-mirror.com

技能文档

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 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

# 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 
aoe session stop 
aoe session restart 
aoe session attach    # interactive attach

Inspecting sessions

# Show session metadata
aoe session show  --json

# Capture tmux pane content (key for monitoring) aoe session capture --json aoe session capture -n 100 --strip-ansi aoe session capture # 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  -t "new title"
aoe session rename  -g "new/group"

aoe group create mygroup aoe group move 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 
aoe worktree cleanup -f

Removing sessions

aoe remove 
aoe remove  --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.

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务