google-agents-cli-scaffold
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
farm
Spawn Agent Farm for parallel issue execution. Mayor orchestrates crew via tmux + MCP Agent Mail. Replaces /crank for multi-agent work. Triggers: "farm", "spawn agents", "parallel work", "multi-agent".
Full skill instructions
YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.
Spawn an Agent Farm to execute multiple issues in parallel with witness monitoring.
Mayor (this session)
|
+-> ao farm start --agents N
| |
| +-> Pre-flight validation
| +-> Spawn agents in tmux (serial, 30s stagger)
| +-> Spawn witness in separate tmux session
|
+-> ao inbox (poll for updates)
|
+-> Witness sends "FARM COMPLETE" message
|
+-> /post-mortem (extract learnings)
Given /farm [--agents N] [epic-id]:
Run pre-flight checks before spawning any agents:
ao farm validate 2>/dev/null
If not available, perform manual checks:
ls .beads/issues.jsonl 2>/dev/null || echo "ERROR: No beads found. Run /plan first."
bd ready 2>/dev/null | wc -l
If 0 ready issues, STOP: "No ready issues. Check dependencies or run /plan."
bd validate --check-cycles 2>/dev/null
If cycle detected, STOP with error listing the cycle.
df -h . | awk 'NR==2 {print $4}'
If < 5GB, warn user.
Default: N = min(5, ready_issues)
If --agents specified: Use that value, but cap at ready_issues count.
READY_COUNT=$(bd ready 2>/dev/null | wc -l | tr -d ' ')
AGENTS=${N:-5}
AGENTS=$((AGENTS < READY_COUNT ? AGENTS : READY_COUNT))
If AGENTS = 0, STOP: "No work available for agents."
Start the farm with serial agent spawn (30s stagger):
ao farm start --agents $AGENTS --epic <epic-id> 2>&1
This command:
ao-farm-<project>ao-farm-witness-<project>.farm.meta with PIDs and stateExpected output:
Farm started: 5 agents, 1 witness
Session: ao-farm-nami
Witness: ao-farm-witness-nami
Check progress: ao inbox
Stop: ao farm stop
Tell the user farm is running, then monitor:
Farm running. Check /inbox periodically for progress updates.
- Witness summarizes every 5 minutes
- Agents send completion messages per issue
- "FARM COMPLETE" signals all work done
Commands:
ao inbox - Check messages
ao farm status - Show agent states
ao farm stop - Graceful shutdown
Optional: Periodically check inbox:
ao inbox --since 5m 2>/dev/null
When witness sends "FARM COMPLETE" message:
bd list --status open 2>/dev/null | wc -l
ao farm stop 2>/dev/null
Farm complete. X issues closed in Y minutes.
Run /post-mortem to extract learnings.
If >50% agents fail within 60 seconds:
ao farm stop --reason "circuit-breaker"
Tell user: "Circuit breaker triggered. >50% agents failed. Check logs."
If witness process dies (detected via PID check):
if ! kill -0 $(cat .witness.pid 2>/dev/null) 2>/dev/null; then
echo "ERROR: Witness died. Stopping farm."
ao farm stop --reason "witness-died"
fi
If issues stuck in_progress after farm stop:
ao farm resume
If ao farm commands not available:
# Create session
tmux new-session -d -s ao-farm
# For each agent
tmux send-keys -t ao-farm "claude --prompt 'Run /implement on next ready issue'" Enter
sleep 30 # Wait before next agent
tmux new-session -d -s ao-farm-witness
tmux send-keys -t ao-farm-witness "claude --prompt 'Monitor tmux session ao-farm, summarize every 5m'" Enter
bd list --type message --to mayor 2>/dev/null
Each spawned agent:
/implement loop until no ready issuesbd claimWitness:
Farm exits when:
ao farm stop (manual)Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.
Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.
Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.
Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.
Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.
Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.
Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Opus.ai: Revolutionize Your Web Experience
Build a no-code AI app in minutes.
An IDE for code migration from legacy to modern frameworks through coding agents.
Automate CGI animation in live-action scenes
Branded artistic QR-code concepts
Launch a website in seconds with AI.
Streamline Your Coding Experience with AI Code Helper
Convert any screenshot or design to clean code.