Multi-Agent Lead Workflow (Claude Code, Codex & AGY)

    by roomlab

    1

    Plan and verify in Claude Code or Antigravity (agy), and delegate implementation to Codex (via paseo) or agy workers with automatic 429 recovery, per-task workdirs, and a compaction-resilient disk ledger.

    $8

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Multi-Agent Lead Workflow (Claude Code, Codex & AGY)

    Example session with this skill installed

    /multi-agent-lead Implement a webhook retry queue with exponential backoff and unit tests

    • Read your context and instructions
    • Compiled the multi-agent lead workflow
    1. Initializes .agent-lead/ (auto-excluded in .git/info/exclude) and verifies available paseo / agy backends.
    2. Writes .agent-lead/plan.md & .agent-lead/ledger.md with file scopes, dependencies, and verifiable acceptance criteria, then asks for plan approval.
    3. Dispatches self-contained task briefs to Codex (paseo) or Antigravity (agy) workers in isolated .tmp/.agent-lead/<slug>/ workdirs and monitors them in the background with automatic 429 recovery (watch.sh).
    4. Independently inspects git diff and re-runs tests/builds before marking tasks accepted or sending context-preserving rework briefs.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    A production-tested, model-agnostic multi-agent Lead/Worker orchestration workflow for Claude Code, Codex (via paseo), and Google Antigravity (agy).

    How it works:

    • Lead (Claude Code or Antigravity agy) handles requirements, codebase research, planning, clarifying questions, task decomposition, and independent git-diff & test verification — never editing application code directly.
    • Workers execute all implementation, edits, tests, and rework via either:
      1. paseo backend: Codex or Claude Code workers (configurable tiers via LEAD_WORKER_FAST / LEAD_WORKER_STRONG, explicit provider/model, or any paseo --profile) plus an optional lightweight supervisor (--supervised).
      2. agy backend: Google Antigravity CLI (agy --print / --resume) working standalone without paseo, preserving conversation context across rate-limit retries and rework.

    Included engineering safeguards:

    • Automatic 429 rate-limit exponential backoff & resume + hung-stream interruption (scripts/watch.sh)
    • Isolated per-task working directories (.tmp/.agent-lead/<slug>/) with TASK.md logs and merge protection (scripts/workdir.sh)
    • Compaction-resilient disk ledger (.agent-lead/ledger.md) — zero Claude Code hooks or settings.json changes required
    • Capped rework escalation ladder (diagnoses root cause & escalates to strong tier after 2 failed rounds)
    • Paseo Claude Code session-trap protection & JSONL branch recovery (scripts/check-session.sh, scripts/session_branches.py)
    • Evidence-led research & comparison loop (references/research.md)

    Attribution: Workflow methodology inspired by how-to-be-a-chamberlain (ssyram/prompts), substantially engineered with dual-backend (paseo + agy) CLI orchestration scripts, watcher automation, and session-isolation diagnostics.

    Supervised dispatch (--supervised) and Claude Code session-isolation audit scripts apply to the paseo backend; standalone agy mode runs direct dispatch and background watching without needing paseo.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 4 days ago

    Software
    jqPerlGitPython 3Bash
    paseo
    oragy CLI
    Optional
    paseo supervisor model (for --supervised mode)

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Listed4 days ago

    What's inside

    Frequently Asked Questions

    This skill addresses the issues of context exhaustion, rate limits, and verification drift that occur when managing complex coding tasks across multiple files. It does this by decoupling high level planning from background implementation through a structured Lead and Worker orchestration.

    To use this skill, you need the paseo or agy CLI installed and authenticated in your environment. It also relies on standard Unix tools including bash, python3, and git for workspace isolation and tracking.

    The skill generates a .agent-lead workspace folder containing a task ledger and a plan.md file for requirements. It also produces git diffs and test results that are audited by the Lead agent before work is accepted.

    The Lead agent is strictly prohibited from editing application code directly to maintain boundaries. Additionally, the skill requires a compatible backend like paseo or agy to be available in the environment to dispatch background workers.

    You can ask your agent to initialize the environment using the provided activation script to scaffold the workspace. From there, you can instruct it to plan the architecture, dispatch background workers for specific tasks, and monitor progress until verification.

    This skill maintains a compaction resilient disk ledger and per task working directories. This structure ensures that high level planning is not polluted by implementation details and that state persists even during long running builds or across multiple sessions.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.