โ† Back to Communication
Communication by @ryancampbell

agent-team-kit

*A framework for self-sustaining AI agent teams.*

0
Source Code

Agent Team Kit โ€” SKILL.md

A framework for self-sustaining AI agent teams.

Quick Start

1. Copy the Process Files

# From your workspace root
cp -r skills/agent-team-kit/templates/process ./process

This creates:

  • process/INTAKE.md โ€” The 5-phase work loop
  • process/ROLES.md โ€” Role definitions
  • process/OPPORTUNITIES.md โ€” Raw ideas/discoveries
  • process/BACKLOG.md โ€” Triaged work queue
  • process/STATUS.md โ€” Who's working on what

2. Add Heartbeat Config

Merge templates/HEARTBEAT.md into your existing HEARTBEAT.md:

cat skills/agent-team-kit/templates/HEARTBEAT.md >> HEARTBEAT.md

Or copy it directly if you don't have one yet.

3. Customize Roles

Edit process/ROLES.md to match your team:

  • Rename roles to fit your domain
  • Add/remove specialized execution roles
  • Update the human lead section with your name

The Intake Loop

DISCOVER โ†’ TRIAGE โ†’ READY โ†’ EXECUTE โ†’ FEEDBACK
    โ†‘                                      โ†“
    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  1. Discover โ€” Find opportunities (Scout role)
  2. Triage โ€” Decide what's ready (Rhythm role)
  3. Ready โ€” Self-service queue (any agent)
  4. Execute โ€” Do the work (assigned agent)
  5. Feedback โ€” Learn and spawn new ideas (completing agent)

Core Roles

Role Mission Owns
Scout ๐Ÿ” Find opportunities OPPORTUNITIES.md, discovery
Rhythm ๐Ÿฅ Keep work flowing BACKLOG.md, triage
Harmony ๐Ÿค Keep team healthy Unblocking, retros
[Human] Strategic direction Hard calls, spawning

Execution roles (spawn as needed):

  • Link ๐Ÿ”— โ€” Builder
  • Pixel ๐ŸŽจ โ€” Designer
  • Sage ๐Ÿฆ‰ โ€” Architect
  • Echo ๐Ÿ“ข โ€” Voice
  • Spark โœจ โ€” Creative

Key Principles

Self-Service

If it's in Ready, any agent can pick it up. No approval needed.

Clear Ownership

Every phase has ONE owner. No ambiguity.

Always Log

Ideas, discoveries, completions โ€” if you don't log it, it didn't happen.

Spawn, Don't Solo

Main agent coordinates. Sub-agents execute. Don't do everything yourself.


File Structure

process/
โ”œโ”€โ”€ INTAKE.md         # How the loop works (reference)
โ”œโ”€โ”€ ROLES.md          # Who does what
โ”œโ”€โ”€ OPPORTUNITIES.md  # Raw discoveries (anyone adds)
โ”œโ”€โ”€ BACKLOG.md        # Triaged work (Rhythm maintains)
โ””โ”€โ”€ STATUS.md         # Current activity (self-updated)

HEARTBEAT.md          # Proactive check triggers

Heartbeat Integration

Add to your heartbeat checks:

### Team Health (run hourly)
- [ ] OPPORTUNITIES.md stale? โ†’ Spawn Scout
- [ ] Ready queue empty? โ†’ Alert Rhythm  
- [ ] Active work stuck >2h? โ†’ Nudge owner
- [ ] Any unresolved blockers? โ†’ Harmony

The heartbeat keeps the loop spinning even when the human isn't watching.


Customization

Adding a New Role

  1. Define in ROLES.md:

    • Mission (one sentence)
    • Owns (what they're responsible for)
    • Cadence (how often they work)
    • Outputs (what they produce)
  2. Update the ownership matrix

  3. Add spawn criteria in INTAKE.md if needed

Changing the Loop

The 5-phase loop is flexible. Adapt it:

  • Add validation gates between phases
  • Split EXECUTE into parallel tracks
  • Add approval checkpoints (if your domain requires it)

Anti-Patterns

โŒ Human manually adds every task โ†’ Use triage role instead
โŒ Waiting for permission to pick up work โ†’ Ready = fair game
โŒ One agent does everything โ†’ Spawn specialists
โŒ Ideas stay in heads โ†’ Log to OPPORTUNITIES.md
โŒ Heartbeat just returns OK โ†’ Actually check the loop


Metrics (Optional)

Track team health:

  • Cycle time โ€” OPPORTUNITIES โ†’ DONE
  • Queue depth โ€” Items in Ready (healthy: 5-15)
  • Stale items โ€” Days since last triage
  • Spawn rate โ€” Sub-agents created per day

The system runs itself. Your job is to trust it.