agentleFS
naman10parikhnaman10parikh/agentgrid/.claude/skills/agentgrid-orchestrate/SKILL.md

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

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
  1. Very specific:

    Never use tmux select-pane — it steals the user's focus.

    line 103
  2. Very specific:

    Never broadcast follow-up bugs — use agentgrid send to the owning worker (Spotify-queue rule).

    line 104
  3. Distinctive:

    Never inject missions before naming panes — labels are required for signal tracking.

    line 105

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

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

Live Monitoring

# Auto-refreshing status view (default: 5s interval)
agentgrid monitor

# Custom refresh interval
agentgrid monitor --interval 10

# One-shot dashboard snapshot
agentgrid dashboard

Status Colors Reference

StatusColorMeaning
⚡ WORKINGBlueAgent is actively processing
⏳ WAITINGYellowNeeds input or permission
✅ DONEGreenFinished its task
💤 IDLEGrayNo 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/*.done

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

Anti-Patterns

  • Never use tmux select-pane — it steals the user's focus. Use agentgrid send instead.
  • Never broadcast follow-up bugs — use agentgrid send to the owning worker (Spotify-queue rule).
  • Never inject missions before naming panes — labels are required for signal tracking.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.