Skip to content

Agents

Agents are specialized roles that skills delegate to. Each agent has a focused job, a dedicated context window, and a specific set of tools. Skills spawn agents in parallel to gather information fast without overloading the main context.

AgentPurposeToolsModelSource
codebase-locatorFind files, directories, and componentsGrep, Glob, Bash(ls)HaikuSource
codebase-analyzerUnderstand implementation details and patternsRead, Grep, GlobSonnetSource
codebase-pattern-finderFind reusable patterns and code examplesRead, Grep, GlobSonnetSource
thoughts-locatorSearch thoughts repository for relevant documentsGrep, Glob, Bash(ls)HaikuSource
thoughts-analyzerAnalyze documentation and decisionsRead, Grep, GlobSonnetSource
external-researchResearch external repos and librariesDeepWiki, Context7, ExaSonnetSource
AgentPurposeToolsModelSource
linear-researchGather Linear data via CLIBash(linearis)HaikuSource
github-researchResearch GitHub PRs and issuesBash(gh)HaikuSource
sentry-researchResearch Sentry errorsBash(sentry-cli)HaikuSource
AgentPurposeModelSource
linear-researchGather cycle, issue, and milestone dataHaikuSource
AgentPurposeModelSource
cycle-analyzerTransform cycle data into health insightsSonnetSource
milestone-analyzerAnalyze milestone progress toward target datesSonnetSource
backlog-analyzerAnalyze backlog health and organizationSonnetSource
github-linear-analyzerCorrelate GitHub PRs with Linear issuesSonnetSource
context-analyzerTrack context engineering adoptionSonnetSource

Most of the time, you don’t invoke agents directly. Skills like /research-codebase and /create-plan spawn the right agents automatically based on what you ask. When you run /research-codebase, Catalyst decides which combination of locators, analyzers, and pattern finders to launch in parallel — you just describe what you want to understand.

That said, you can invoke any agent directly when you have a quick, focused question and don’t need a full research workflow:

AgentQuestion it AnswersExample
codebase-locatorWhere is X?”Find all payment-related files”
codebase-analyzerHow does X work?”Trace the authentication flow”
codebase-pattern-finderShow me examples of X”Show me how we handle API errors”
thoughts-locatorWhat do we know about X?”Find research on caching strategy”
thoughts-analyzerWhat were the decisions about X?”What did we decide about the DB schema?”
external-researchWhat do libraries/docs say about X?”How does React Server Components work?”

Use the @ prefix with the plugin name and agent name:

@catalyst-dev:codebase-locator find all payment-related files
@catalyst-dev:codebase-analyzer trace the authentication flow in src/auth/
@catalyst-pm:linear-research get current cycle issues

Claude Code has auto-complete for this — type @catalyst and it will suggest available agents.

Use a skill (/research-codebase) when you want a comprehensive, multi-agent research workflow that saves artifacts for later phases. Skills coordinate multiple agents, manage context, and persist results.

Invoke an agent directly (@catalyst-dev:codebase-locator) when you have a quick, one-off question that doesn’t need the full workflow. This is faster and uses less context.

# Full research workflow — spawns multiple agents, saves to thoughts/
/research-codebase how does the payment system handle refunds?
# Quick direct question — just the locator agent
@catalyst-dev:codebase-locator find refund handler files

Use parallel when researching independent aspects:

@catalyst-dev:codebase-locator find payment files
@catalyst-dev:thoughts-locator search payment research
@catalyst-dev:codebase-pattern-finder show payment patterns

Use sequential when each step depends on the previous:

@catalyst-dev:codebase-locator find auth files
# Wait for results
@catalyst-dev:codebase-analyzer analyze src/auth/handler.js

Agents follow five core patterns:

PatternPurposeToolsModel
LocatorFind files and directories without reading contentsGrep, Glob, Bash(ls)Haiku
AnalyzerRead specific files and trace data flowRead, Grep, GlobSonnet
Pattern FinderFind reusable patterns and examplesRead, Grep, GlobSonnet
ValidatorCheck correctness against specificationsRead, Bash, GrepSonnet
AggregatorCollect and summarize from multiple sourcesRead, Grep, GlobSonnet
  1. Documentarians, not critics — Report what exists without suggesting improvements
  2. Single responsibility — Each agent answers one type of question
  3. Tool minimalism — Only the tools needed for the task
  4. Structured output — Consistent format with file:line references
  5. Explicit boundaries — Include “What NOT to Do” sections
TierModelUse Case
1OpusPlanning, complex analysis, implementation orchestration
2SonnetCode analysis, PR workflows, structured research
3HaikuFast lookups, data collection, file finding

For complex implementations spanning multiple domains, agent teams enable multiple Claude Code instances working in parallel.

ScenarioSubagentsAgent Teams
Parallel research gatheringBest fitOverkill
Code analysis / file searchBest fitOverkill
Complex multi-file implementationCan’t nestBest fit
Cross-layer features (frontend + backend + tests)LimitedBest fit
Cost-sensitive operationsBest fitToo expensive
Lead (Opus) — Coordinates implementation
├── Teammate 1 (Sonnet) — Frontend changes
│ └── Subagents (Haiku/Sonnet)
├── Teammate 2 (Sonnet) — Backend changes
│ └── Subagents (Haiku/Sonnet)
└── Teammate 3 (Sonnet) — Test changes
└── Subagents (Haiku/Sonnet)

Each teammate is a full Claude Code session that can spawn its own subagents — two-level parallelism that subagents alone cannot achieve.

/implement-plan --team
/oneshot --team PROJ-123
Terminal window
export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1