agentgrid-orchestrate
Skill9 starsChanged 6 months agoMITView on GitHub
Orchestrate missions across a running agentgrid — inject tasks, broadcast to all panes, monitor live status, and read pane output. Use after a grid is already running (post agentgrid NxM). Triggers on "send mission", "broadcast", "inject", "monitor panes", "read pane output".
In this repository31 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- agentgrid-sessionsSkill
- agentgridSkill
- agent-runtimeSkill
- frontend-designSkill
- architectSkill
- deep-thinkSkill
- design-systemsSkill
- ecosystem-referenceSkill
- fractal-delegationSkill
- harness-reviewSkill
- heartbeatSkill
- integrate-resourcesSkill
- llm-council-critiqueSkill
- loop-createSkill
- mcp-setupSkill
- memory-compressionSkill
- memorySkill
- model-routingSkill
- oss-project-scaffoldSkill
- playwright-cliSkill
- repo-scoutSkill
- self-improveSkill
- skill-creatorSkill
- skill-routingSkill
- sprintSkill
- test-visualSkill
- troubleshootSkill
- ux-auditSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 103
Never use tmux select-pane — it steals the user's focus.
- Very specific: line 104
Never broadcast follow-up bugs — use agentgrid send to the owning worker (Spotify-queue rule).
- Distinctive: line 105
Never inject missions before naming panes — labels are required for signal tracking.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
When to Use
- A grid is already running and you need to assign missions to specific panes
- Broadcast a directive to all workers at once
- Poll or read live output from a pane
- Set up a live monitoring loop for a running company
- Inject a long markdown mission file into a pane
Core Orchestration Commands
Send to a specific pane
# Get pane IDs first
agentgrid status
# Send a prompt (adds Enter automatically)
agentgrid send %42 "You are BUILDER-1. Implement the OAuth module in src/auth/"
# Send a long mission from a file
agentgrid inject %42 --file .claude/missions/builder-1.mdBroadcast to all panes
# All panes in current window receive the same message
agentgrid broadcast "All workers: repo is at /Users/naman/myproject. Read AGENTS.md first."
# Useful for team-wide directives
agentgrid broadcast "STOP — wait for CEO before continuing. Check .claude/vp-signals/."Read pane output
# Capture last N lines from a pane
agentgrid read %42 --lines 20
# Useful for checking worker progress without focus-stealingLive Monitoring
# Auto-refreshing status view (default: 5s interval)
agentgrid monitor
# Custom refresh interval
agentgrid monitor --interval 10
# One-shot dashboard snapshot
agentgrid dashboardStatus Colors Reference
| Status | Color | Meaning |
| ⚡ WORKING | Blue | Agent is actively processing |
| ⏳ WAITING | Yellow | Needs input or permission |
| ✅ DONE | Green | Finished its task |
| 💤 IDLE | Gray | No active agent running |
Mission Injection Pattern (Signal-Based Workflow)
# 1. Label panes before injection
agentgrid name "CEO" # run in each pane
agentgrid name "BUILDER-1"
# 2. Inject missions
agentgrid inject %42 --file .claude/missions/ceo.md
agentgrid inject %43 --file .claude/missions/builder-1.md
# 3. Monitor until all done
agentgrid monitor --interval 5
# Workers signal completion via: echo "DONE" > .claude/vp-signals/{role}.done
# 4. Check signals
ls .claude/vp-signals/*.doneAuto-Approve Permission Prompts (Overnight Runs)
Workers may pause on permission prompts. Send Enter to all:
# Manual: in each pane, press Enter
# Via tmux fallback (allowed for this specific use case):
for pid in $(tmux list-panes -F '#{pane_id}'); do
tmux send-keys -t "$pid" "" Enter
doneAnti-Patterns
- Never use
tmux select-pane— it steals the user's focus. Useagentgrid sendinstead. - Never broadcast follow-up bugs — use
agentgrid sendto the owning worker (Spotify-queue rule). - Never inject missions before naming panes — labels are required for signal tracking.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

