open-agent-teams

Solid

Delegate tasks to ANY CLI agent (claude, codex, aider, ...) running in a detached tmux session, with a race-safe done-signal protocol and multi-turn iteration. Use when delegating work to a non-Claude CLI agent, when the user says "tmux delegate", "run agent in tmux", "delegate to codex/aider", or when executor work should run in an observable background terminal instead of the Agent tool.

AI & Automation 1,064 stars 141 forks Updated today

Install

View on GitHub

Quality Score: 80/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
0
Description 5%
100

Skill Content

# open-agent-teams Run any CLI agent as an executor inside a detached tmux session. Communication is: prompt in via CLI arg / `send-keys`, completion out via a **file sentinel** the agent touches, summary out via a **result file** the agent writes. File sentinels are used instead of `tmux wait-for` because a `wait-for -S` with no waiter is silently lost; files never race and allow timeouts. All commands via the helper (make sure it runs from the skill dir): ``` SKILL_DIR/scripts/tdel ``` ## Initial setup (once per repo) If the repo's `CLAUDE.md` (or `AGENT.md`) has no delegation rules yet, add the contents of `references/CLAUDE.delegation-template.md` to it — it defines the coordinator/executor roles and the `ROLE: EXECUTOR` prompt marker used below. ## Workflow 1. **Start** an agent on a task: ``` tdel start <session> "<agent-cmd>" "<prompt>" # e.g. tdel start hello "claude --dangerously-skip-permissions" "make a hello world page" ``` This appends the done-protocol to the prompt automatically (write summary to result file, then `touch` the done file). 2. **Wait** for completion — ALWAYS via a background Bash task so you get woken up instead of blocking or polling: ``` tdel wait <session> [timeout-sec] # run with run_in_background: true ``` Exit 0 = done (prints the agent's summary). Exit 124 = timeout (prints last pane lines for diagnosis). Non-zero also if the session died. 3. **Review** the output (`tdel result <session>`, plus inspe...

Details

Author
AI-Builder-Club
Repository
AI-Builder-Club/skills
Created
1 months ago
Last Updated
today
Language
Python
License
None

Similar Skills

Semantically similar based on skill content — not just same category