AGENTS.md@docs Β· git:20260311.8318514 Β· 2026-03-11 Β· sha256 a257b01219a17f45

AGENTS.md@docs git:20260311.8318514A

Immutable. This exact content is served forever at /api/v1/blob/a257b01219a17f45.

# Claude Octopus Agent Catalog

> *32 specialized personas, infinite possibilities. But which one grabs YOUR problem?* πŸ™

**Note on Permissions:** Current releases prompt before background provider execution so you can approve Codex or Gemini usage explicitly.

---

## TL;DR - Which Tentacle Do I Need?

| When You Want To... | Reach For This Tentacle | Why This One? |
|---------------------|-------------------------|---------------|
| Design a REST/GraphQL API | `backend-architect` | Microservices maestro |
| Find security vulnerabilities | `security-auditor` | OWASP whisperer |
| Debug failing tests | `debugger` | Stack trace detective |
| Implement with TDD | `tdd-orchestrator` | Red-green-refactor guru |
| Review code quality | `code-reviewer` | Best practices enforcer |
| Write Python code | `python-pro` | Pythonic perfection |
| Write TypeScript | `typescript-pro` | Type safety fanatic |
| Design database schema | `database-architect` | Data modeling master |
| Research AI/LLM patterns | `ai-engineer` | Prompt engineering pro |
| Optimize performance | `performance-engineer` | Latency hunter |
| Synthesize user research | `ux-researcher` | Empathy tentacle πŸ†• |
| Develop business strategy | `strategy-analyst` | Framework master πŸ†• |
| Write literature review | `research-synthesizer` | Knowledge weaver πŸ†• |
| Draft research papers | `academic-writer` | Citation ninja πŸ†• |
| Create exec summaries | `exec-communicator` | Boardroom whisperer πŸ†• |
| Write PRDs/user stories | `product-writer` | Requirements master πŸ†• |
| Plan marketing campaigns | `marketing-strategist` | Growth funnel guru πŸ†• |
| Build financial models | `finance-analyst` | Spreadsheet surgeon πŸ†• |
| Review compliance/GDPR | `legal-compliance-advisor` | Regulatory navigator πŸ†• |
| Design UI/UX systems | `ui-ux-designer` | Design intelligence πŸ†• |

**Still unsure?** Just describe what you need - Claude Octopus auto-routes to the right tentacle! πŸ¦‘

Knowledge-worker personas for researchers, consultants, and product managers are also included. [See Knowledge Workers Guide β†’](KNOWLEDGE-WORKERS.md)

---

## Table of Contents

1. [By Development Phase](#by-development-phase) - Double Diamond workflow
2. [By Domain](#by-domain) - Backend, Frontend, Quality, Ops
3. [Knowledge Work](#knowledge-work) - Research, consulting, writing
4. [Top 10 Tentacles](#top-10-tentacles) - The heavy hitters
5. [Cost Tiers](#cost-tiers) - Token budget awareness
6. [Common Workflows](#common-workflows) - Multi-tentacle patterns
7. [The Principles (Don't Invoke Directly)](#the-principles-internal-use-only) - Quality checklists
8. [Decision Tree](#decision-tree) - When all else fails

---

## By Development Phase

Claude Octopus follows the **Double Diamond** methodology:

```
     DISCOVER         DEFINE         DEVELOP          DELIVER
      (probe)         (grasp)        (tangle)          (ink)

    \         /     \         /     \         /     \         /
     \  πŸ”  /       \  🎯  /       \  πŸ”§  /       \  βœ…  /
      \ πŸ¦‘ /         \    /         \ πŸ¦‘ /         \    /
       \  /           \  /           \  /           \  /
        \/             \/             \/             \/

   Diverge then      Converge to      Diverge with     Converge to
    converge          problem          solutions        delivery
```

### πŸ” Probe Phase: Research & Discovery

**Use when:** Starting a project, exploring options, gathering requirements

| Tentacle | Superpower | Example Prompt |
|----------|------------|----------------|
| `ai-engineer` | LLM/RAG patterns, prompt engineering | "Research OAuth 2.0 patterns for multi-tenant SaaS" |
| `business-analyst` | Requirements, metrics, stakeholder analysis | "Analyze user authentication requirements" |
| `context-manager` | Multi-agent coordination | "Coordinate research across multiple domains" |

**Pro tip:** Probe tentacles are cheap (sonnet/inherit) - fire liberally!

---

### 🎯 Grasp Phase: Architecture & Design

**Use when:** Planning architecture, defining system design, creating blueprints

| Tentacle | Superpower | Example Prompt |
|----------|------------|----------------|
| `backend-architect` ⭐ | API design, microservices, distributed systems | "Design a REST API for user authentication" |
| `frontend-developer` | React 19, Next.js 15, UI/UX patterns | "Design component architecture for dashboard" |
| `database-architect` | Schema design, migrations, normalization | "Design user and session tables" |
| `cloud-architect` | AWS/GCP/Azure, IaC, cost optimization | "Plan multi-region deployment" |
| `graphql-architect` | Federation, resolvers, schema design | "Design GraphQL schema for e-commerce" |

**Pro tip:** These tentacles are premium (opus/inherit) - they're worth it for architecture decisions.

---

### πŸ”§ Tangle Phase: Development & Implementation

**Use when:** Writing code, implementing features, building solutions

| Tentacle | Superpower | Example Prompt |
|----------|------------|----------------|
| `tdd-orchestrator` ⭐ | Test-driven development, red-green-refactor | "Implement user registration with TDD" |
| `debugger` ⭐ | Error analysis, stack traces, root cause | "Debug JWT validation failures" |
| `devops-troubleshooter` | K8s debugging, log analysis, infra | "Fix deployment issues in staging" |
| `python-pro` | Python 3.12+, FastAPI, async | "Implement FastAPI authentication" |
| `typescript-pro` | Advanced types, generics, strict mode | "Implement TypeScript SDK" |

**Pro tip:** Tangle has a **75% quality gate** - multiple tentacles validate before delivery.

---

### βœ… Ink Phase: Review & Delivery

**Use when:** Code review, security audit, performance optimization, shipping

| Tentacle | Superpower | Example Prompt |
|----------|------------|----------------|
| `code-reviewer` ⭐ | Best practices, architecture review | "Review authentication module" |
| `security-auditor` ⭐ | OWASP, DevSecOps, threat modeling | "Audit for SQL injection vulnerabilities" |
| `test-automator` | Unit/integration/E2E test generation | "Generate test coverage for auth" |
| `performance-engineer` | Profiling, benchmarking, Core Web Vitals | "Find N+1 query issues" |
| `deployment-engineer` | GitHub Actions, ArgoCD, GitOps | "Set up CI/CD pipeline" |

**Pro tip:** Ink tentacles work with the `squeeze` command for adversarial review!

---

## By Domain

### Backend Development πŸ”Œ

```
General Backend    β†’ backend-architect (inherit - adapts to complexity)
Database Focus     β†’ database-architect (opus - critical decisions)
GraphQL API        β†’ graphql-architect (opus - schema design)
Python Backend     β†’ python-pro (opus - advanced patterns)
Node.js Backend    β†’ typescript-pro (opus - type safety)
```

### Frontend Development 🎨

```
React/Next.js      β†’ frontend-developer (inherit - adapts)
TypeScript         β†’ typescript-pro (opus - complex types)
Performance        β†’ performance-engineer (inherit - profiling)
```

### Quality & Security πŸ›‘οΈ

```
Code Quality       β†’ code-reviewer (opus - comprehensive)
Security           β†’ security-auditor (opus - critical)
Testing            β†’ test-automator (sonnet - generation)
Performance        β†’ performance-engineer (inherit - profiling)
```

### Operations & Infrastructure βš™οΈ

```
Cloud/AWS/GCP      β†’ cloud-architect (opus - critical decisions)
Kubernetes/Docker  β†’ deployment-engineer (haiku - fast)
Troubleshooting    β†’ devops-troubleshooter (sonnet - specialized)
Incidents          β†’ incident-responder (sonnet - SRE)
```

### Documentation & Diagrams πŸ“š

```
Technical Docs     β†’ docs-architect (sonnet - writing)
Flowcharts         β†’ mermaid-expert (haiku - simple)
```

---

## Knowledge Work

> *When your deliverable isn't code, but crystallized knowledge.* πŸŽ“

Claude Octopus also includes specialized agents for researchers, consultants, designers, marketers, and product managers.

### 🎯 UX Research

```
User interviews    β†’ ux-researcher (opus - synthesis)
Journey mapping    β†’ ux-researcher (opus - empathy)
Pain points        β†’ ux-researcher (opus - definition)
```

### πŸ“Š Strategy & Consulting

```
Market analysis    β†’ strategy-analyst (opus - frameworks)
Business cases     β†’ strategy-analyst (opus - quantification)
Exec summaries     β†’ exec-communicator (sonnet - clarity)
```

### πŸ“š Academic & Research

```
Literature review  β†’ research-synthesizer (opus - synthesis)
Gap analysis       β†’ research-synthesizer (opus - identification)
Academic writing   β†’ academic-writer (sonnet - formatting)
```

### πŸ“‹ Product Management

```
PRDs & specs       β†’ product-writer (sonnet - clarity)
User stories       β†’ product-writer (sonnet - structure)
Acceptance criteria→ product-writer (sonnet - precision)
```

### πŸ“£ Marketing & Growth

```
Campaign planning  β†’ marketing-strategist (sonnet - channels)
Growth funnels     β†’ marketing-strategist (sonnet - optimization)
SEO & content      β†’ marketing-strategist (sonnet - strategy)
```

### πŸ’° Finance & Pricing

```
Financial models   β†’ finance-analyst (sonnet - projections)
Unit economics     β†’ finance-analyst (sonnet - metrics)
Pricing strategy   β†’ finance-analyst (sonnet - optimization)
```

### 🎨 UI/UX Design

```
Design systems     β†’ ui-ux-designer (sonnet - BM25 intelligence)
Color & typography β†’ ui-ux-designer (sonnet - data-driven)
Component specs    β†’ ui-ux-designer (sonnet - handoff)
```

### βš–οΈ Legal & Compliance

```
GDPR/CCPA review   β†’ legal-compliance-advisor (sonnet - regulations)
SOC 2 readiness    β†’ legal-compliance-advisor (sonnet - controls)
Contract review    β†’ legal-compliance-advisor (sonnet - risk)
```

**Deep dive:** See the full [Knowledge Workers Guide β†’](KNOWLEDGE-WORKERS.md)

---

## Top 10 Tentacles

The heavy hitters, based on real-world usage:

### 1. πŸ—οΈ backend-architect
**Model:** inherit (adapts to complexity)

**Superpower:** API design, microservices architecture, distributed systems

**When to use:**
- Designing REST/GraphQL/gRPC APIs
- Architecting microservices systems
- Defining service boundaries and communication patterns
- Planning event-driven architectures

**Avoid if:**
- Simple CRUD operations (just implement directly)
- Frontend-only work (use `frontend-developer`)
- Database schema design (use `database-architect` first)

---

### 2. πŸ” code-reviewer
**Model:** opus (complex reasoning)

**Superpower:** Code quality, best practices, architecture review

**When to use:**
- PR reviews (pairs with `/octo:review` skill)
- Architecture validation
- Best practices enforcement

**Avoid if:**
- Security-focused review (use `security-auditor`)
- Performance-focused review (use `performance-engineer`)

---

### 3. πŸ› debugger
**Model:** sonnet (specialized analysis)

**Superpower:** Error analysis, stack traces, root cause identification

**When to use:**
- Failing tests or production errors
- Understanding cryptic stack traces
- Root cause analysis

**Avoid if:**
- Infrastructure issues (use `devops-troubleshooter`)

---

### 4. πŸ›‘οΈ security-auditor
**Model:** opus (critical analysis)

**Superpower:** OWASP Top 10, vulnerability scanning, threat modeling

**When to use:**
- Security audits (pairs with `squeeze` command)
- Finding vulnerabilities in auth/payment code
- OWASP compliance checks

---

### 5. πŸ§ͺ tdd-orchestrator
**Model:** opus (multi-step reasoning)

**Superpower:** Test-driven development, red-green-refactor

**When to use:**
- Building new features test-first
- Comprehensive test coverage
- Refactoring with confidence

---

### 6. 🎨 frontend-developer
**Model:** inherit (adapts to complexity)

**Superpower:** React 19, Next.js 15, modern UI patterns

**When to use:**
- React component architecture
- Server Components and Client Components
- State management decisions

---

### 7. πŸ—ƒοΈ database-architect
**Model:** opus (critical decisions)

**Superpower:** Schema design, migrations, query optimization

**When to use:**
- New database schema design
- Migration planning
- Query performance issues

---

### 8. ⚑ performance-engineer
**Model:** inherit (adapts to profiling depth)

**Superpower:** Profiling, benchmarking, Core Web Vitals

**When to use:**
- N+1 query hunting
- API response time optimization
- Memory leak detection

---

### 9. 🐍 python-pro
**Model:** opus (advanced patterns)

**Superpower:** Python 3.12+, FastAPI, async programming

**When to use:**
- Python backend development
- FastAPI/Django/Flask services
- Async/await patterns

---

### 10. πŸ“˜ typescript-pro
**Model:** opus (complex type systems)

**Superpower:** Advanced types, generics, strict TypeScript

**When to use:**
- Advanced TypeScript type definitions
- Generic types and utility type creation
- Strict TypeScript configuration

---

## Cost Tiers

### πŸ’Ž Premium (Opus)
Most expensive, use for critical decisions.

`code-reviewer`, `tdd-orchestrator`, `database-architect`, `security-auditor`, `cloud-architect`, `python-pro`, `typescript-pro`, `graphql-architect`

### πŸ’° Standard (Sonnet)
Mid-range, good for focused tasks.

`debugger`, `test-automator`, `docs-architect`, `business-analyst`, `devops-troubleshooter`, `incident-responder`, `ui-ux-designer`, `marketing-strategist`, `finance-analyst`, `legal-compliance-advisor`

### πŸ’΅ Trivial (Haiku)
Cheapest, use for simple tasks.

`mermaid-expert`, `deployment-engineer`

### πŸ”„ Adaptive (Inherit)
Auto-selects based on task complexity.

`backend-architect`, `frontend-developer`, `ai-engineer`, `performance-engineer`, `context-manager`

---

## Common Workflows

### πŸš€ New Feature Development
```
1. Research     β†’ ai-engineer
2. Design       β†’ backend-architect + database-architect
3. Implement    β†’ tdd-orchestrator
4. Review       β†’ code-reviewer + security-auditor
```

### πŸ”₯ Production Bug Fix
```
1. Respond      β†’ incident-responder
2. Debug        β†’ debugger
3. Fix          β†’ backend-architect
4. Validate     β†’ test-automator
```

### ⚑ Performance Optimization
```
1. Profile      β†’ performance-engineer
2. Database     β†’ database-architect
3. Validate     β†’ performance-engineer
```

### πŸ›‘οΈ Security Audit
```
1. Scan         β†’ security-auditor
2. Fix          β†’ backend-architect
3. Validate     β†’ security-auditor
```

---

## The Principles (Internal Use Only)

⚠️ **Don't invoke these directly!** They're quality checklists used BY other tentacles.

| Principle | Used By | Purpose |
|-----------|---------|---------|
| `general` | code-reviewer | Correctness, reliability |
| `security` | security-auditor | OWASP, auth patterns |
| `performance` | performance-engineer | Profiling, caching |
| `maintainability` | code-reviewer | Readability, testing |

---

## Decision Tree

See [agent-decision-tree.md](agent-decision-tree.md) for visual flowcharts.

**Quick version:**
```
What phase are you in?
β”œβ”€ Research/Explore β†’ PROBE tentacles
β”œβ”€ Design/Plan     β†’ GRASP tentacles
β”œβ”€ Build/Code      β†’ TANGLE tentacles
└─ Review/Ship     β†’ INK tentacles
```

---

## Quick Links

- **README:** [../README.md](../README.md)
- **Decision Tree:** [agent-decision-tree.md](agent-decision-tree.md)
- **Monthly Review:** [monthly-agent-review.md](monthly-agent-review.md)
- **Personas:** [../agents/personas/](../agents/personas/)

---

<p align="center">
  πŸ™ <em>"39 tentacles, one purpose: your code, done right."</em> πŸ™
</p>