What are personas?
Personas are specialized agent configurations that activate automatically when Claude Octopus detects matching task requirements. Each persona brings domain expertise, preferred model tier, and task-specific instructions.You don’t invoke personas directly. Just describe what you need—Claude Octopus routes to the right expert automatically.
How personas work
Personas activate based on:- Keywords in user request - “debug”, “audit”, “optimize”, etc.
- Project context - File types, dependencies, existing code
- Task requirements - Complexity, domain, deliverable type
Persona categories
- Software Engineering
- Specialized Development
- Documentation
- Research & Strategy
- Business & Compliance
- Creative & Design
Software Engineering (11 personas)
Core development roles:| Persona | Superpower | Model Tier | When Auto-Activated |
|---|---|---|---|
| backend-architect | API design, microservices | inherit | ”design API”, “architect backend” |
| frontend-developer | React 19, Next.js 15 | inherit | ”build UI”, “React component” |
| database-architect | Schema design, migrations | opus | ”design schema”, “database structure” |
| cloud-architect | AWS/GCP/Azure, IaC | opus | ”deploy to AWS”, “cloud infrastructure” |
| graphql-architect | Federation, resolvers | opus | ”GraphQL schema”, “design GraphQL API” |
| python-pro | Python 3.12+, FastAPI | opus | ”Python code”, “FastAPI service” |
| typescript-pro | Advanced types, generics | opus | ”TypeScript types”, “strict mode” |
| ai-engineer | LLM/RAG patterns | inherit | ”RAG system”, “prompt engineering” |
| code-reviewer | Best practices, architecture | opus | ”review code”, “PR review” |
| debugger | Error analysis, stack traces | sonnet | ”debug issue”, “fix error” |
| test-automator | Unit/integration/E2E tests | sonnet | ”write tests”, “test coverage” |
Model tier system
Personas are assigned model tiers based on task complexity:Opus
Premium25 per MTokCritical decisions, complex reasoning
Sonnet
StandardIncluded in Claude Code subscriptionFocused tasks, specialized analysis
Haiku
FastIncluded in Claude Code subscriptionSimple tasks, quick responses
Inherit
AdaptiveAuto-selects based on complexityGeneral-purpose roles
Tier distribution
| Tier | Count | Use Cases |
|---|---|---|
| Opus (Premium) | 8 | Architecture decisions, security audits, complex reasoning |
| Sonnet (Standard) | 14 | Code review, documentation, specialized analysis |
| Haiku (Fast) | 2 | Simple diagrams, quick deployments |
| Inherit (Adaptive) | 9 | General development, research, coordination |
Automatic persona selection
Claude Octopus analyzes your request through multiple lenses:Pattern matching
Selection examples
Backend development
Backend development
Request: “Design a REST API for user authentication”Analysis:
- Keywords: design, REST, API, authentication
- Context: Backend project
- Domain: Software engineering
backend-architect (inherit tier)Security audit
Security audit
Request: “Audit my payment endpoint for vulnerabilities”Analysis:
- Keywords: audit, payment, vulnerabilities
- Context: API endpoint, high-risk
- Domain: Security
security-auditor (opus tier)Performance optimization
Performance optimization
Request: “Find N+1 queries in my GraphQL resolvers”Analysis:
- Keywords: N+1, queries, performance
- Context: GraphQL API
- Domain: Performance engineering
performance-engineer (inherit tier)Documentation
Documentation
Request: “Write API documentation for my endpoints”Analysis:
- Keywords: write, documentation, API
- Context: REST endpoints
- Domain: Technical writing
docs-architect (sonnet tier)How personas differ from general purpose
General purpose Claude vs specialized personas:| Aspect | General Purpose | Specialized Persona |
|---|---|---|
| Context | Broad, general knowledge | Domain-specific expertise |
| Instructions | Generic software engineering | Tailored prompts with frameworks |
| Model | Default (Sonnet 4.6) | Optimized tier (opus/sonnet/haiku/inherit) |
| Quality checks | Basic validation | Domain-specific quality gates |
| Output format | Flexible | Standardized for domain |
- General Purpose
- security-auditor Persona
Top 10 most-used personas
Based on real-world usage:backend-architect
Use: API design, microservices, distributed systems
Tier: inherit (adapts to complexity)
Tier: inherit (adapts to complexity)
database-architect
Use: Schema design, migrations, query optimization
Tier: opus (critical decisions)
Tier: opus (critical decisions)
Persona composition
Multiple personas can work together in complex workflows:Example: Full-stack feature
Flow:business-analystclarifies requirementsbackend-architectdesigns APIfrontend-developerdesigns UI componentsdatabase-architectdesigns schemasecurity-auditorreviews securityperformance-engineervalidates performancetest-automatorgenerates testscode-reviewerdoes final review
Creating custom personas
You can add project-specific personas:.claude/agents/personas/ and Claude Octopus will auto-detect.
Best practices
Let the router choose
Let the router choose
Don’t manually select personas. The smart router considers context you might miss. Just describe what you need naturally.
Trust the model tier
Trust the model tier
Persona tiers are optimized for cost vs quality. If a persona uses haiku, it’s because the task doesn’t need opus.
Combine with workflows
Combine with workflows
Personas work best inside workflows (
/octo:embrace, /octo:develop, etc.) where quality gates validate their work.Review persona decisions
Review persona decisions
Check which persona activated with
/octo:status. If wrong persona selected, refine your request keywords.Persona reference
Full persona catalog: docs/AGENTS.md Quick lookup:| You Need… | Use This Persona | Command Example |
|---|---|---|
| API design | backend-architect | /octo:develop design REST API |
| Security scan | security-auditor | /octo:security audit auth endpoints |
| Bug fix | debugger | /octo:debug JWT validation error |
| Test writing | test-automator | /octo:tdd create user registration |
| Code review | code-reviewer | /octo:review |
| Schema design | database-architect | /octo:define database schema |
| Performance | performance-engineer | /octo:review find N+1 queries |
| Documentation | docs-architect | /octo:docs API reference |
Next steps
Workflows
Learn about workflow patterns that use personas
Commands reference
Browse all 39 commands and their personas
Agent catalog
Full persona documentation with triggers
Double Diamond
Understand the four-phase workflow structure
