Loading...
Loading...
This skill should be used when creating agents, writing agent frontmatter, configuring subagents, or when "create agent", "agent.md", "subagent", or "Task tool" are mentioned.
npx skill4agent add outfitter-dev/agents claude-agents| Aspect | Agents (This Skill) | Skills |
|---|---|---|
| Purpose | Specialized subagents with focused expertise | Capability packages with instructions |
| Invocation | Task tool ( | Automatic (model-triggered by context) |
| Location | | |
| Structure | Single | Directory with |
templates/| Template | Use When |
|---|---|
| Simple agents with focused expertise |
| Full-featured agents with all config options |
./scripts/scaffold-agent.sh security-reviewer -t reviewer~/.claude/agents/agents/| Type | Purpose | Typical Tools |
|---|---|---|
| Analyzer | Examine without modifying | |
| Implementer | Build and modify code | Full access (inherit) |
| Reviewer | Provide feedback | |
| Tester | Create and manage tests | |
| Researcher | Find and synthesize info | |
| Deployer | Handle infrastructure | |
---
name: agent-name # Required: kebab-case, matches filename
description: | # Required: when to use + triggers + examples
Use this agent when [conditions]. Triggers on [keywords].
<example>
Context: [Situation]
user: "[User message]"
assistant: "I'll use the agent-name agent to [action]."
</example>
model: inherit # Optional: inherit|haiku|sonnet|opus
tools: Glob, Grep, Read # Optional: restrict tools (default: inherit all)
skills: tdd, debugging # Optional: skills to auto-load (NOT inherited)
permissionMode: default # Optional: default|acceptEdits|bypassPermissions
---| Model | When to Use |
|---|---|
| Recommended default - adapts to parent context |
| Fast exploration, simple tasks, low-latency |
| Balanced cost/capability (default if omitted) |
| Nuanced judgment, security/architecture review, irreversible decisions |
tools: Glob, Grep, Read, Skill, Task, TaskCreate, TaskUpdate, TaskList, TaskGet---
name: security-reviewer
description: |
Use this agent for security vulnerability detection.
Triggers on security audits, OWASP, injection, XSS.
<example>
Context: User wants security review.
user: "Review auth code for vulnerabilities"
assistant: "I'll use the security-reviewer agent."
</example>
model: inherit
---
# Security Reviewer
You are a security expert specializing in [expertise].
## Expertise
- Domain expertise 1
- Domain expertise 2
## Process
### Step 1: [Stage Name]
- Action item
- Action item
### Step 2: [Stage Name]
- Action item
## Output Format
For each finding:
- **Severity**: critical|high|medium|low
- **Location**: file:line
- **Issue**: Description
- **Remediation**: How to fix
## Constraints
**Always:**
- Required behavior
**Never:**
- Prohibited action# Good: Focused
description: SQL injection vulnerability detector
# Bad: Too broad
description: Security expert handling all issues## What I Don't Do
- I analyze, not implement fixes
- I review, not build from scratch------name.mddescriptiontoolsmodelsonnetopushaikuinherit[role]-[specialty][specialty]code-reviewertest-runnersecurity-auditorhelpermy-agentthe-best-agenttools:allowed-tools:Glob, Grep, Read, Skill, Task, TaskCreate, TaskUpdate, TaskList, TaskGet# Read-only
tools: Glob, Grep, Read, Skill, Task, TaskCreate, TaskUpdate, TaskList, TaskGet
# Read-only + git
tools: Glob, Grep, Read, Skill, Task, TaskCreate, TaskUpdate, TaskList, TaskGet, Bash(git show:*), Bash(git diff:*)
# Research
tools: Glob, Grep, Read, Skill, Task, TaskCreate, TaskUpdate, TaskList, TaskGet, WebSearch, WebFetch
# Full access
# (omit field to inherit all)# Agent Validation Report: [Agent Name]
## Summary
- **Status**: PASS | FAIL | WARNINGS
- **Location**: [path]
- **Issues**: [count critical] / [count warnings]
## Critical Issues (must fix)
1. [Issue with specific fix]
## Warnings (should fix)
1. [Issue with specific fix]
## Strengths
- [What's done well]| Scope | Location | Priority | Visibility |
|---|---|---|---|
| Project | | Highest | Team via git |
| Personal | | Medium | You only |
| Plugin | | Lowest | Plugin users |
agents/~/.claude/agents/./agents/claude --debugagents/agent-name.mdmodel: inherittools:| Reference | Content |
|---|---|
| agent-vs-skill.md | Agents vs Skills distinction |
| frontmatter.md | YAML schema and fields |
| tools.md | Tool configuration patterns |
| task-tool.md | Task tool integration |
| discovery.md | How agents are found and loaded |
| agent-types.md | Archetypes: analysis, implementation, etc. |
| patterns.md | Best practices and multi-agent patterns |
| tasks.md | Task tool patterns for agents |
| advanced-features.md | Resumable agents, CLI config |
templates/