agent-teams
CLAWHUB · Unverified
Coordinates Claude agent teams via filesystem protocol Skill: agent-teams Owner: athola Summary: Coordinates Claude agent teams via filesystem protocol Tags: latest:1.9.19 Version history: v1.9.19 | 2026-08-26T13:08:44.377Z | user Release v1.9.19 v1.9.17 | 2026-07-30T05:31:30.472Z | user Release v1.9.17 v1.9.16 | 2026-07-14T19:48:22.082Z | user Release v1.9.16 v1.9.15 | 2026-07-04T21:22:00.371Z | user Release v1.9.15 v1.9.14 | 2026-06-30T17:52:40.487Z | user Release v1.9
- 62
- Rank
- 84
- Safety
- 1.6k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.6K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 10, 2026
- Adoption signal
- 1.6K downloadsadoption · Oct 10, 2026
- Latest release
- 1.9.19release · Aug 26, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.9.19release
Release v1.9.19
Observed Aug 26, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s17emme0e2m3cpf7k2jvp3a84984b8z9:nm-conjure-agent-teams- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-athola-nm-conjure-agent-teams/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
145,733 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: agent-teams
description: Coordinates Claude agent teams via filesystem protocol
version: 1.9.8
triggers:
- agent-teams
- multi-agent
- coordination
- tmux
- task-management
- messaging
- orchestrating parallel agents with task dependencies
metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/conjure", "emoji": "\ud83e\udd9e", "requires": {"config": ["night-market.delegation-core", "night-market.leyline:damage-control", "night-market.leyline:risk-classification"]}}}
source: claude-night-market
source_plugin: conjure
---
> **Night Market Skill** — ported from [claude-night-market/conjure](https://github.com/athola/claude-night-market/tree/master/plugins/conjure). For the full experience with agents, hooks, and commands, install the Claude Code plugin.
## Table of Contents
- [Overview](#overview)
- [When to Use](#when-to-use)
- [Prerequisites](#prerequisites)
- [Protocol Architecture](#protocol-architecture)
- [Quick Start](#quick-start)
- [Coordination Workflow](#coordination-workflow)
- [Module Reference](#module-reference)
- [Integration with Conjure](#integration-with-conjure)
- [Troubleshooting](#troubleshooting)
- [Exit Criteria](#exit-criteria)
# Agent Teams Coordination
## Overview
Claude Code Agent Teams enables multiple Claude CLI processes to collaborate on shared work through a filesystem-based coordination protocol. Each teammate runs as an independent `claude` process in a tmux pane, communicating via JSON files guarded by `fcntl` locks, with no database, daemon, or network layer.
This skill provides the patterns for orchestrating agent teams effectively.
## When To Use
- Parallel implementation across multiple files or modules
- Multi-agent code review (one agent reviews, another implements fixes)
- Large refactoring requiring coordinated changes across subsystems
- Tasks with natural parallelism that benefit from concurrent agents
## When NOT To Use
- Single-file changes or small tasks (overhead exceeds benefit)
- Tasks requiring tight sequential reasoning (agents coordinate loosely)
- When `claude` CLI is not available or tmux is not installed
## Prerequisites
```bash
# Verify Claude Code CLI
claude --version
# Verify tmux (required for split-pane mode)
tmux -V
# Enable experimental feature (set by spawner automatically)
export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
```
## Protocol Architecture
```
~/.claude/
teams/<team-name>/
config.json # Team metadata + member roster
inboxes/
<agent-name>.json # Per-agent message queue
.lock # fcntl exclusive lock
tasks/<team-name>/
1.json ... N.json # Auto-incrementing task files
.lock # fcntl exclusive lock
```
**Design principles:**
- **Filesystem is the database**: JSON files, atomic writes via `tempfile` + `os.replace`
- **fcntl locking**: Prevents concurrent read/write corruption on inboxes and tasks
- **Numbered ta_meta.json
{
"ownerId": "kn7d107jg9jv602h9ytsegydq184a42s",
"slug": "nm-conjure-agent-teams",
"version": "1.9.19",
"publishedAt": 1787749724377
}modules/crew-roles.md
---
name: crew-roles
description: Role taxonomy, capability matrix, and role-risk compatibility for agent team members
parent_skill: conjure:agent-teams
category: delegation-framework
estimated_tokens: 200
---
# Crew Roles
## Role Taxonomy
Each team member has a `role` that determines their capabilities and the types of tasks they can be assigned.
| Role | Tools | Focus | Use When |
|------|-------|-------|----------|
| `implementer` | All tools | Code implementation | Building features, fixing bugs |
| `researcher` | Read-only | Investigation, analysis | Codebase exploration, design research |
| `tester` | Read and test execution | Testing, validation | Writing tests, running test suites |
| `reviewer` | Read-only and comment | Code review, quality | Reviewing PRs, auditing code quality |
| `architect` | All tools | Planning, design | System design, architectural decisions |
**Default role**: `implementer` (backward compatible — members without an explicit role are treated as implementers).
## Capability Matrix
| Capability | implementer | researcher | tester | reviewer | architect |
|-----------|:-----------:|:----------:|:------:|:--------:|:---------:|
| Read files | Yes | Yes | Yes | Yes | Yes |
| Write files | Yes | No | No | No | Yes |
| Edit files | Yes | No | No | No | Yes |
| Run tests | Yes | No | Yes | No | Yes |
| Run builds | Yes | No | Yes | No | Yes |
| Git operations | Yes | No | No | No | Yes |
| Create tasks | Yes | No | No | Yes | Yes |
| Send messages | Yes | Yes | Yes | Yes | Yes |
| Plan mode | Optional | No | No | No | Required |
## Role-Risk Compatibility
Not all roles can handle all risk tiers. The lead validates compatibility before assigning tasks:
| Risk Tier | Allowed Roles | Additional Requirement |
|-----------|--------------|----------------------|
| **GREEN** | Any role | None |
| **YELLOW** | implementer, tester, architect | None |
| **RED** | implementer, architect | Lead oversight required |
| **CRITICAL** | architect only | Human approval required |
**Rationale:**
- GREEN tasks are safe for anyone, including researchers and reviewers
- YELLOW tasks need write access (implementer/architect) or test execution (tester)
- RED tasks need experienced agents with full tool access and active lead monitoring
- CRITICAL tasks need the most strategic role (architect) with human sign-off
## Role Assignment
### At Spawn Time
Roles are assigned when spawning teammates:
```bash
claude --agent-id "backend@my-team" \
--agent-name "backend" \
--agent-role "implementer" \
--team-name "my-team" \
...
```
### Dynamic Role Change
Roles can be changed during execution via team config update:
```json
{
"agent_id": "backend@my-team",
"role": "reviewer"
}
```
Role changes take effect immediately. The lead should reassign any in-progress tasks that are incompatible with the new role.
## Role-Based Task Routing
When the lead assigns tasks, it should consider role compatibility:
```
Fmodules/health-monitoring.md
---
name: health-monitoring
description: Agent health tracking, stall detection, and automated recovery via heartbeat monitoring and claim expiry
parent_skill: conjure:agent-teams
category: delegation-framework
estimated_tokens: 250
---
# Health Monitoring
## Member Health Fields
Each team member's config gains a `health` object for tracking operational status:
```json
{
"agent_id": "backend@my-team",
"name": "backend",
"role": "implementer",
"health": {
"status": "healthy",
"last_heartbeat": "2026-02-07T22:15:00Z",
"last_task_update": "2026-02-07T22:14:30Z",
"stall_count": 0,
"replacement_count": 0
}
}
```
Members without a `health` object operate as before (no health monitoring — backward compatible).
| Field | Type | Description |
|-------|------|-------------|
| `status` | string | `healthy`, `stalled`, `unresponsive`, `replaced` |
| `last_heartbeat` | ISO 8601 | Last heartbeat message timestamp |
| `last_task_update` | ISO 8601 | Last task status change by this agent |
| `stall_count` | integer | Number of times this agent has been marked stalled |
| `replacement_count` | integer | Number of times this agent has been replaced |
## Task Claim Fields
Tasks gain claim tracking fields in metadata:
```json
{
"id": "5",
"owner": "backend@my-team",
"metadata": {
"claimed_at": "2026-02-07T22:10:00Z",
"claim_expiry_seconds": 300
}
}
```
| Field | Default | RED | CRITICAL |
|-------|---------|-----|----------|
| `claim_expiry_seconds` | 300 (5 min) | 600 (10 min) | 900 (15 min) |
Higher-risk tasks get longer claim windows because they legitimately take more time and require more careful execution.
## Health Check Protocol
### Lead Polling Loop
The lead agent checks team health every 60 seconds:
```
Every 60s:
For each member where status != "replaced":
1. Check last_heartbeat age
2. If age > claim_expiry_seconds:
→ Enter 2-stage stall detection
3. If status == "stalled" and stall_duration > 60s:
→ Mark as "unresponsive"
→ Trigger recovery
```
### 2-Stage Stall Detection
Stage 1 prevents false positives from temporary delays:
```
Stage 1: Probe
Send health_check message to agent's inbox
Wait 30 seconds
Stage 2: Confirm
Check if agent responded with heartbeat
If yes: Reset stall timer, mark "healthy"
If no: Mark "stalled", increment stall_count
```
### Recovery Actions
When an agent is confirmed stalled or unresponsive:
```
stalled (stall_count == 1):
→ Release claimed tasks (set owner = null, status = "pending")
→ Send stall_alert broadcast to team
→ Attempt restart: kill tmux pane, respawn with same identity
stalled (stall_count >= 2):
→ Mark as "unresponsive"
→ Release all tasks
→ Follow leyline:damage-control/modules/agent-crash-recovery.md
→ "Replace don't wait" doctrine: spawn fresh agent
replaced:
→ Agent is permanently decommissioned
→ Inbox preserved for audit
→ All tasks reassigned to other agents
```
## Membmodules/messaging-protocol.md
---
name: messaging-protocol
description: Message types, inbox operations, and fcntl-based concurrency control
parent_skill: conjure:agent-teams
category: delegation-framework
estimated_tokens: 200
---
# Messaging Protocol
## Inbox Structure
Each agent has a dedicated inbox file:
```
~/.claude/teams/<team>/inboxes/<agent-name>.json
```
Content is a JSON array of message objects. An empty inbox is `[]`.
## Message Format (InboxMessage)
```json
{
"from": "team-lead",
"text": "Implement the auth middleware next",
"timestamp": "2026-02-07T22:00:00Z",
"read": false,
"summary": "Auth middleware task",
"color": "#FF6B6B"
}
```
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `from` | string | yes | Sender agent name |
| `type` | string | no | Message type: `"heartbeat"`, `"health_check"`, `"stall_alert"`, `"plan_approval"`, `"shutdown"`. Omit for plain direct messages. |
| `text` | string | yes | Message body (plain text or serialized JSON) |
| `timestamp` | string | yes | ISO 8601 timestamp |
| `read` | boolean | yes | Read-state flag (default: `false`) |
| `summary` | string | no | Short summary for quick scanning |
| `color` | string | no | Display color for UI |
## Message Types
### Direct Messages
Plain text or structured payloads sent to a specific agent's inbox.
```python
send_plain_message(team, to_agent, text, summary=None)
```
### Broadcast Messages
Sent to all team members' inboxes simultaneously.
```python
send_broadcast(team, from_agent, text, summary=None)
```
### Task Assignments
Structured notification when a task's `owner` field changes.
```python
send_task_assignment(team, to_agent, task)
```
### Shutdown Requests
Structured request with a unique ID for graceful agent termination.
```python
send_shutdown_request(team, to_agent, request_id)
```
### Heartbeat
Periodic health signal from agent to lead. Includes current task and progress.
```json
{
"from": "backend",
"type": "heartbeat",
"text": "{\"task_id\": \"5\", \"progress_percent\": 60}",
"timestamp": "2026-02-07T22:15:00Z",
"summary": "heartbeat: T5 60%"
}
```
### Health Check
Request from lead to verify agent is responsive. Agent must respond with a heartbeat within 30s.
```json
{
"from": "team-lead",
"type": "health_check",
"text": "{\"request_id\": \"hc-001\"}",
"timestamp": "2026-02-07T22:16:00Z",
"summary": "health check request"
}
```
### Stall Alert
Broadcast from lead when an agent is detected as stalled. Includes stalled agent identity and released tasks.
```json
{
"from": "team-lead",
"type": "stall_alert",
"text": "{\"stalled_agent\": \"backend\", \"released_tasks\": [\"5\", \"6\"]}",
"timestamp": "2026-02-07T22:17:00Z",
"summary": "backend stalled, tasks 5,6 released"
}
```
### Plan Approvals
Response messages confirming or rejecting proposed plans.
```json
{
"from": "team-lead",
"type": "plan_approval",
"text": "{\"task_id\": \"3\", \"approved\": true, \"notes\"AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-athola-nm-conjure-agent-teams. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about agent-teams. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-athola-nm-conjure-agent-teams, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/athola/skills/nm-conjure-agent-teams",
"sourceUrl": "https://clawhub.ai/athola/skills/nm-conjure-agent-teams",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T08:25:53.359Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-athola-nm-conjure-agent-teams/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-athola-nm-conjure-agent-teams/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T08:25:53.359Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.6K downloads",
"href": "https://clawhub.ai/athola/nm-conjure-agent-teams",
"sourceUrl": "https://clawhub.ai/athola/nm-conjure-agent-teams",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T08:25:53.359Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.9.19",
"href": "https://clawhub.ai/athola/nm-conjure-agent-teams",
"sourceUrl": "https://clawhub.ai/athola/nm-conjure-agent-teams",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-26T13:08:44.377Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-athola-nm-conjure-agent-teams/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-athola-nm-conjure-agent-teams/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.9.19",
"description": "Release v1.9.19",
"href": "https://clawhub.ai/athola/nm-conjure-agent-teams",
"sourceUrl": "https://clawhub.ai/athola/nm-conjure-agent-teams",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-26T13:08:44.377Z",
"isPublic": true
}
]
}Record generated Nov 24, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-athola-nm-conjure-agent-teams/run-check
