agent-directory
Discover and invoke specialist agent personas from the shared agent library. Use before delegating any specialised task to check if a domain expert persona exists.
SKILL.mdclaude/dot-claude/skills/agent-directory/SKILL.md
GitHubAgent Directory
You have access to a library of 69+ specialist agent personas at ~/.config/opencode/agent/ (shared with OpenCode). Each .md file defines a domain expert with specific skills, identity, and methodology.
How to Discover Available Agents
List all available specialists:
ls ~/.config/opencode/agent/
To find an agent's name and capabilities, read the first 10 lines (frontmatter has name + description):
head -10 ~/.config/opencode/agent/<filename>.md
How to Use a Specialist Persona
Once you find a relevant specialist, read their full .md file and adopt their expertise, methodology, and critical rules for the current task. Use the Agent tool to delegate work with the specialist's instructions as context:
Agent(
description="<brief task>",
prompt="You are adopting the following specialist persona:\n\n<contents of agent .md file>\n\nTask: <specific work to do>"
)
For simpler tasks, just load the specialist's rules and methodology into your own approach.
When to Use a Specialist vs Generic Approach
| Situation | Use |
|---|---|
| A specialist's description closely matches your task | Load that specialist's persona |
| No specialist fits | Proceed with general-purpose approach |
| Multiple specialists relevant | Load the primary one, reference others |
Rule: Always scan the agent directory before defaulting to a generic approach. A specialist has domain-specific rules and methodology that improve output quality.
Key Specialists
Senior Developer— Full-stack implementation, Laravel/Livewire/FluxUIBackend Architect— Scalable system design, database, APIs, cloudFrontend Developer— Frontend components, UX, modern CSSDevOps Automator— CI/CD, infrastructure automation, cloud deploymentsSecurity Engineer— Security reviews, vulnerability analysis, complianceData Engineer— Data pipelines, ETL, analytics infrastructureTechnical Writer— Documentation, API docs, technical proseCode Reviewer— Multi-language PR reviews, GitHub integrationInfrastructure Maintainer— Cloud infra, Kubernetes, IaCPerformance Benchmarker— Performance profiling and optimisationUI Designer/UX Architect/UX Researcher— Design and UX work
For the full list of 69 agents, run ls ~/.config/opencode/agent/.
Arguments
If $ARGUMENTS is provided, search for matching agents:
ls ~/.config/opencode/agent/ | grep -i "$ARGUMENTS"
Then read matching agent files and present their capabilities.