#601

Global Rank · of 601 Skills

deploy-agent-team AI Agent Skill

View Source: b-open-io/prompts

Medium

Installation

npx skills add b-open-io/prompts --skill deploy-agent-team

10

Installs

Deploy Agent Team

Deploy a coordinated team of specialized agents from the bopen-tools kit using Claude Code's agent team system. Agents work in parallel on independent tasks and communicate through a shared task list and message bus.

Prerequisites

Agent teams require this env var to be set:

CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1

Add to ~/.claude/settings.json:

{
  "env": {
    "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
  }
}

Without this, TeamCreate will fail.

Critical: Set mode on Every Agent Spawn

WARNING: The default permission mode will block teammates waiting for permission prompts that never arrive, stalling the whole team.

Always set mode: "bypassPermissions" when spawning teammates:

Agent(
  subagent_type: "bopen-tools:designer",
  team_name: "feature-billing",
  name: "designer",
  mode: "bypassPermissions",   # ← REQUIRED
  prompt: "..."
)

See references/permissions-and-isolation.md for all mode options and worktree isolation.

Available Agent Roster (Abbreviated)

Agent subagent_type Best for
researcher bopen-tools:researcher Libraries, APIs, docs, competitive analysis
nextjs bopen-tools:nextjs Next.js, React, Vercel, RSC, app router
designer bopen-tools:designer UI, Tailwind, shadcn/ui, accessibility
agent-builder bopen-tools:agent-builder AI agent systems, LLM integration, Vercel AI SDK
database bopen-tools:database Schema, queries, PostgreSQL, Redis, Convex
integration-expert bopen-tools:integration-expert REST APIs, webhooks, third-party services
code-auditor bopen-tools:code-auditor Security review, vulnerability scanning
tester bopen-tools:tester Unit, integration, e2e tests, CI
documentation-writer bopen-tools:documentation-writer READMEs, API docs, PRDs, guides
devops bopen-tools:devops Vercel+Railway+Bun, CI/CD, monitoring
optimizer bopen-tools:optimizer Bundle analysis, Lighthouse, Core Web Vitals
architecture-reviewer bopen-tools:architecture-reviewer System design, refactoring strategy, tech debt
mobile bopen-tools:mobile React Native, Swift, Kotlin, Flutter
payments bopen-tools:payments Stripe, billing, financial transactions
marketer bopen-tools:marketer CRO, SEO, copy, launch strategy
legal product-skills:legal Privacy, compliance, ToS
mcp bopen-tools:mcp MCP server setup, config, diagnostics

Full roster with per-agent skills to mention in spawn prompts: references/agent-roster.md

Full Team Lifecycle

Step 1: Decompose the task

Before calling any tools, identify:

  • What domains are involved? (frontend, backend, testing, docs, security...)
  • Which tasks can run in parallel vs. must be sequential?
  • What are the dependencies? (schema before API, API before tests)

Step 2: Create the team

TeamCreate(
  team_name: "feature-billing",
  description: "Implement Stripe billing with UI, API, tests, and docs"
)

Step 3: Create tasks upfront

Set dependencies with addBlockedBy where order matters:

TaskCreate(
  subject: "Design billing UI components",
  description: "Create PricingCard, BillingHistory, UpgradeModal using shadcn/ui.
  Repo: ~/code/myapp. Tailwind v4. Output: src/components/billing/.",
  activeForm: "Designing billing UI"
) → id: "1"

TaskCreate(
  subject: "Implement Stripe integration",
  description: "Set up webhooks, subscription creation, customer portal.
  Repo: ~/code/myapp. API routes in app/api/billing/.",
  activeForm: "Implementing Stripe integration"
) → id: "2"

TaskCreate(
  subject: "Write billing test suite",
  description: "Vitest tests for all billing API routes and webhook handler.
  Repo: ~/code/myapp. Tests in __tests__/billing/.",
  activeForm: "Writing billing tests"
) → id: "3"

TaskUpdate(taskId: "3", addBlockedBy: ["2"])  # tests wait for Stripe impl

Step 4: Spawn teammates

Agent(
  subagent_type: "bopen-tools:designer",
  team_name: "feature-billing",
  name: "designer",
  mode: "bypassPermissions",
  prompt: "..."  # see references/spawn-prompt-guide.md
)

Every spawn prompt must be self-contained — teammates have zero conversation history. See references/spawn-prompt-guide.md for the full template and how to list each agent's available skills.

Step 5: Monitor and coordinate

Messages from teammates arrive automatically. Check progress:

TaskList()

Answer a blocked teammate:

SendMessage(
  type: "message",
  recipient: "backend",
  content: "Stripe webhook secret is STRIPE_WEBHOOK_SECRET in .env.local",
  summary: "Stripe secret location"
)

Step 6: Shutdown and cleanup

SendMessage(type: "shutdown_request", recipient: "designer", content: "Work complete")
SendMessage(type: "shutdown_request", recipient: "backend", content: "Work complete")
SendMessage(type: "shutdown_request", recipient: "tester", content: "Work complete")

# Wait for each shutdown_response, then:
TeamDelete()

Task Decomposition Patterns

Feature implementation

Parallel from the start:
├── researcher: research best practices / prior art
├── designer: UI components
├── nextjs or integration-expert: API / server logic
└── database: schema changes

Blocked until implementation complete:
├── tester: test suite
└── documentation-writer: feature docs

Security audit + fix

Parallel:
├── code-auditor: full vulnerability scan (Semgrep, CodeQL)
└── architecture-reviewer: structural/design issues

Blocked until audit complete:
├── nextjs or integration-expert: fix findings
└── tester: regression tests

Launch prep

Parallel:
├── code-auditor: security review
├── tester: coverage audit
├── optimizer: Lighthouse + bundle
├── documentation-writer: user-facing docs
└── legal: privacy / ToS

Blocked until all above complete:
└── devops: deploy pipeline

Key Rules

  • mode: "bypassPermissions" on every Agent spawn or teammates block
  • Self-contained prompts: teammates get zero conversation history — include repo path, conventions, and full context
  • Mention agent skills in spawn prompts — each agent has specialized skills; tell them which to use
  • One task at a time: claim → complete → claim next. No parallel hoarding
  • No JSON in messages: use TaskUpdate for status. SendMessage is plain text only
  • Idle is normal: teammates go idle between tasks. Send a message to wake them
  • No nested teams: only the lead calls TeamCreate
  • Shutdown before TeamDelete: TeamDelete fails if any teammate is still active
  • Broadcast sparingly: each broadcast = one API call per teammate

Troubleshooting

Problem Fix
TeamCreate fails Check CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 is set
Teammate blocks/stalls Missing mode: "bypassPermissions" — always set this
Teammate not claiming tasks Check blockedBy deps with TaskGet
Teammate idle and unresponsive Send a direct SendMessage — idle agents wake on receipt
TeamDelete fails Teammates still running. Send shutdown_request to each
Teammate went off-script Send correction via SendMessage. If severe, shutdown and respawn

References

  • references/permissions-and-isolation.mdmode parameter options, worktree isolation for parallel edits
  • references/agent-roster.md — full roster table + which skills to mention per agent in spawn prompts
  • references/spawn-prompt-guide.md — complete spawn prompt template with skills section

Installs

Installs 10
Global Rank #601 of 601

Security Audit

ath Medium
socket Safe
Alerts: 0 Score: 90
snyk Medium
EU EU-Hosted Inference API

Power your AI Agents with the best open-source models.

Drop-in OpenAI-compatible API. No data leaves Europe.

Explore Inference API

GLM

GLM 5

$1.00 / $3.20

per M tokens

Kimi

Kimi K2.5

$0.60 / $2.80

per M tokens

MiniMax

MiniMax M2.5

$0.30 / $1.20

per M tokens

Qwen

Qwen3.5 122B

$0.40 / $3.00

per M tokens

How to use this skill

1

Install deploy-agent-team by running npx skills add b-open-io/prompts --skill deploy-agent-team in your project directory. Run the install command above in your project directory. The skill file will be downloaded from GitHub and placed in your project.

2

No configuration needed. Your AI agent (Claude Code, Cursor, Windsurf, etc.) automatically detects installed skills and uses them as context when generating code.

3

The skill enhances your agent's understanding of deploy-agent-team, helping it follow established patterns, avoid common mistakes, and produce production-ready output.

What you get

Skills are plain-text instruction files — not executable code. They encode expert knowledge about frameworks, languages, or tools that your AI agent reads to improve its output. This means zero runtime overhead, no dependency conflicts, and full transparency: you can read and review every instruction before installing.

Compatibility

This skill works with any AI coding agent that supports the skills.sh format, including Claude Code (Anthropic), Cursor, Windsurf, Cline, Aider, and other tools that read project-level context files. Skills are framework-agnostic at the transport level — the content inside determines which language or framework it applies to.

Data sourced from the skills.sh registry and GitHub. Install counts and security audits are updated regularly.

EU Made in Europe

Chat with 100+ AI Models in one App.

Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.

Get the App:

Customer Support