From prism-devtools
Create custom Claude Code sub-agents with specialized expertise and tool access. Use when you need to build reusable agents for specific tasks like code review, debugging, data analysis, or domain-specific workflows.
npx claudepluginhub resolve-io/.prismThis skill uses the workspace's default tool permissions.
- Creating a specialized agent for recurring tasks (code review, debugging, testing)
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Provides patterns for autonomous Claude Code loops: sequential pipelines, agentic REPLs, PR cycles, de-sloppify cleanups, and RFC-driven multi-agent DAGs. For continuous dev workflows without intervention.
Applies NestJS patterns for modules, controllers, providers, DTO validation, guards, interceptors, config, and production TypeScript backends with project structure and bootstrap examples.
Guides you through creating custom sub-agents that:
# Run the agents command
/agents
Then:
.claude/agents/) or user-level (~/.claude/agents/)Create a markdown file in .claude/agents/ (project) or ~/.claude/agents/ (user):
---
name: my-agent-name
description: Use this agent when [specific trigger condition]
tools: Read, Edit, Bash
model: sonnet
---
# Agent System Prompt
Your detailed instructions for the agent go here.
Be specific about:
- What tasks this agent handles
- How to approach problems
- What outputs to produce
- Any constraints or guardrails
Automatic: Claude detects matching tasks based on description Explicit: "Use the my-agent-name agent to [task]"
| Field | Description | Example |
|---|---|---|
name | Lowercase with hyphens | code-reviewer |
description | When to use this agent (triggers routing) | Use PROACTIVELY to review code changes for quality and security |
| Field | Description | Default |
|---|---|---|
tools | Comma-separated tool list | All tools inherited |
model | Model alias (sonnet/opus/haiku) or 'inherit' | Inherits from main |
.claude/agents/ # Project-level agents
├── code-reviewer.md
├── debugger.md
└── custom-agent.md
~/.claude/agents/ # User-level agents (global)
├── my-helper.md
└── data-analyzer.md
Priority: Project agents override user agents with same name
Reviews code for quality, security, and best practices
Triggers: After code changes, before commits
Analyzes errors, identifies root causes, proposes fixes
Triggers: Test failures, runtime errors
Writes SQL queries, performs analysis, generates reports
Triggers: Data questions, BigQuery tasks
See: Agent Examples
Full Guide: Best Practices
Sub-agents can access:
Use /agents interface to visually select tools.
This skill helps you create:
.md with YAML frontmatter)This skill activates when you mention:
To test your agent:
# Ask Claude to use it explicitly
"Use the [agent-name] agent to [task]"
# Or test automatic triggering
"[Describe a task matching agent's description]"
Verify:
Last Updated: 2025-10-27 Version: 1.0.0