Install command
Not provided
Create and manage specialized Claude Code subagents using the interactive /agents command or Markdown definition files in .claude/agents/, with scoped tools, model selection, and isolated context.
Open the source and read safety notes before installing.
Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.
Decision playbook
Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.
0
78
—
No baseline selected
No major trust-signal divergence detected in the current selection.
Confirm ownership and provenance before trusting install instructions.
Source link availableRequired
Open the canonical repository and verify ownership.
Source provenance statusRequired
Marked as source-backed.
Metadata reviewed
Registry metadata indicates a reviewed listing.
Validate risk disclosures before installation or API wiring.
Safety notes presentRequired
Review the listed safety guidance before running commands.
Privacy notes presentRequired
Review data handling notes before connecting accounts or secrets.
Trust level risk gateRequired
Trust level does not block evaluation.
Check package metadata and artifact integrity signals.
Install payload available
Install or copy payload is available for review.
Package verification flag
No package verification flag provided.
Checksum metadata
No checksum provided for downloaded artifact.
Use compare context to validate trade-offs before adoption.
Compare tray has multiple entries
Add at least one more entry to compare trust differences.
Baseline comparison available
No baseline peer selected yet.
Diverging trust signals identified
No major trust-signal divergence found.
Setup at a glance
Copy-ready — paste the snippet to get started.
Install command
Not provided
Config snippet
Not provided
Copy snippet
Provided
Prerequisites
None
Platforms
1 listed
Difficulty
100/100
Adoption plan
Current risk score 16/100. Use staged verification before broader rollout.
Validate source and review signals before any execution.
Confirm source provenanceRequired
Source URL/provenance metadata is present.
Confirm metadata review state
Listing has review metadata.
Verify install payload
Install/config payload exists and can be inspected.
Confirm safety, privacy, and package integrity signals.
Review safety notesRequired
Safety notes are present.
Review privacy notesRequired
Privacy notes are present.
Verify package integrity metadata
No package verification/checksum metadata.
Adopt in controlled steps based on the selected plan.
Run in isolated sandbox firstRequired
Use a constrained sandbox and observe behavior across multiple tasks.
Roll out graduallyRequired
Roll out to a small cohort before wider usage.
Set monitoring and fallback
Define rollback path and monitor errors after adoption.
Evidence readiness
Required evidence gates are covered (5/6 signals complete).
Source repository/provenance is listed.
Required in this preset
Review metadata is present.
Required in this preset
Safety notes are present.
Required in this preset
Privacy notes are present.
Optional in this preset
Package integrity metadata is missing.
Optional in this preset
Install payload is available.
Required in this preset
Required evidence gates are covered for this preset.
Decision timeline
5/6 steps complete with no blocking gaps for this preset.
triage
Source/provenance metadata is available.
triage
Review metadata is available.
verify
Safety notes are available.
verify
Privacy notes are available.
verify
Package integrity metadata is missing.
rollout
Install payload is available.
No required blockers for this timeline preset.
Safety & privacy surface
4 safety and 3 privacy notes across 3 risk areas. Review closely: credentials & tokens, permissions & scopes.
/agentsClaude Code does not have a /subagent-create command. Subagents are created and managed with the built-in /agents command, by writing a Markdown file with YAML frontmatter under .claude/agents/ or ~/.claude/agents/, or by passing the --agents flag at launch. This entry documents the real workflow.
A subagent is a specialized assistant that runs in its own context window with a custom system prompt, its own tool access, and independent permissions. When a task matches a subagent's description, Claude can delegate to it; the subagent works independently and returns only its result, keeping verbose output (logs, search results, file dumps) out of your main conversation.
Claude Code also ships built-in subagents that it uses automatically: Explore (fast, read-only codebase search on Haiku), Plan (read-only research during plan mode), and general-purpose (full tools for multi-step work).
/agents command (recommended)Run /agents in an interactive session to open a tabbed interface:
/agents
Creating one through /agents walks you through: choosing a scope (Personal ~/.claude/agents/ or Project .claude/agents/), generating or writing the name/description/system prompt, selecting which tools it may use, picking a model, choosing a display color, and optionally enabling persistent memory. Subagents created through /agents take effect immediately, with no restart.
This is a built-in Claude Code command. There are no flags like
--code-reviewer,--tools=,--parallel=,--status, or--list— those are not part of Claude Code.
A subagent is a Markdown file with YAML frontmatter followed by the system prompt body. Store it by scope:
| Location | Scope |
|---|---|
.claude/agents/ |
Current project (check into version control) |
~/.claude/agents/ |
All your projects (personal) |
Plugin agents/ directory |
Where the plugin is enabled |
Example .claude/agents/code-reviewer.md:
---
name: code-reviewer
description: Expert code review specialist. Use proactively after writing or modifying code.
tools: Read, Grep, Glob, Bash
model: inherit
---
You are a senior code reviewer ensuring high standards of quality and security.
When invoked:
1. Run git diff to see recent changes
2. Focus on modified files
3. Begin review immediately
Provide feedback by priority: Critical issues, Warnings, Suggestions.
Include specific examples of how to fix each issue.
If you edit a file on disk directly, restart the session to load it. (Files created through /agents load immediately.)
Only name and description are required. Real fields from the documentation include:
name — unique lowercase-hyphen identifier (the filename need not match).description — when Claude should delegate to this subagent.tools — allowlist of tools (inherits all if omitted).disallowedTools — denylist removed from the inherited/specified set.model — sonnet, opus, haiku, fable, a full model ID (e.g. claude-opus-4-8), or inherit (default).permissionMode — default, acceptEdits, auto, dontAsk, bypassPermissions, or plan.skills — Skills to preload into the subagent's context.mcpServers — MCP servers scoped to this subagent.hooks — lifecycle hooks scoped to the subagent.memory — persistent memory scope: user, project, or local.maxTurns, effort, background, isolation (worktree), color, initialPrompt.Restrict capability with tools (allowlist) or disallowedTools (denylist). A read-only researcher:
---
name: safe-researcher
description: Research agent with restricted capabilities
tools: Read, Grep, Glob, Bash
---
If both fields are set, disallowedTools is applied first, then tools resolves against what remains. A tool listed in both is removed.
Define ephemeral subagents (not saved to disk) when launching:
claude --agents '{
"code-reviewer": {
"description": "Expert code reviewer. Use proactively after code changes.",
"prompt": "You are a senior code reviewer. Focus on quality, security, and best practices.",
"tools": ["Read", "Grep", "Glob", "Bash"],
"model": "sonnet"
}
}'
Run an entire session as one subagent with claude --agent code-reviewer (its system prompt, tools, and model replace the defaults for the main thread).
description and the task to decide when to delegate. Add "use proactively" to the description to encourage it.@ and pick the subagent (e.g. @agent-code-reviewer) to guarantee that subagent runs for the task.Reach for a subagent when a side task produces verbose output you do not need in the main context, when you want to enforce specific tool restrictions, or when self-contained work can return just a summary. For reusable prompts that run in the main context instead of an isolated one, consider Skills.
Create Claude Code Subagents with /agents side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
2 trust signals differ across this comparison (Source provenance, Submitter).
| Field | Create and manage specialized Claude Code subagents using the interactive /agents command or Markdown definition files in .claude/agents/, with scoped tools, model selection, and isolated context. Open dossier | Delegate repository maintenance to Claude Code subagents: docs drift scans, dependency report triage, README sync checks, and stale issue grooming with scoped tools, read-first policies, and human merge gates. Open dossier | Build autonomous agents with the Claude Agent SDK and Claude Code subagents: the query loop, built-in tools, subagent delegation, and permission controls. Open dossier | A CLAUDE.md rule set that turns Claude into a prompt-engineering reviewer for coding work — enforcing explicit requirements, task decomposition, example-driven prompts, and context management. Open dossier |
|---|---|---|---|---|
| Next steps | ||||
| Trust | ||||
| Review status | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed |
| Package trust | Package not verified | Package not verified | Package not verified | Package not verified |
| Source provenanceDiffers | Source-backed | Submission linkedSource submission | Source-backed | Source-backed |
| SubmitterDiffers | — | kiannidev | — | — |
| Install risk | Review first | Review first | Review first | Review first |
| Notes | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ |
| Brand | — | — | — | |
| Category | commands | guides | guides | rules |
| Source | source-backed | source-backed | source-backed | source-backed |
| Author | JSONbored | kiannidev | JSONbored | JSONbored |
| Added | 2025-10-25 | 2026-06-16 | 2025-10-27 | 2025-10-16 |
| Platforms | Claude Code | Claude Code | Claude Code | Claude Code |
| Source repo | — | — | — | — |
| Safety notes | ✓Subagents can be granted Bash, Write, and Edit tools, letting them execute commands and modify files; scope tools with the tools/disallowedTools frontmatter to enforce least privilege. permissionMode values acceptEdits, dontAsk, and especially bypassPermissions reduce or skip permission prompts; bypassPermissions lets a subagent run operations without approval (including writes to config directories) and should be used with caution. Background subagents run with permissions already granted in the session and auto-deny any tool call that would otherwise prompt, so review what tools a background subagent inherits. mcpServers in subagent frontmatter can connect external MCP servers; plugin subagents ignore the hooks, mcpServers, and permissionMode fields for security reasons. | ✓Maintenance subagents can propose file edits and shell commands—start read-only and add write tools only after review policy exists. Parallel subagents multiply tool calls; cap concurrent maintenance runs on large monorepos to control cost and noise. Dependency upgrade suggestions require human verification against semver, license, and security advisories before merge. | ✓Agents built with the Agent SDK run real tools (Bash commands, file edits, web fetches) autonomously in your process and on your filesystem; scope capability with allowed_tools/permission_mode and review what each tool and connected MCP server can do before granting it. | ✓This rule is prompt guidance, not executable code, but its example prompts direct Claude to generate authentication and payment logic (bcrypt password hashing, JWT issuance, Stripe payments); review and test generated security- and money-handling code before using it in production. |
| Privacy notes | ✓Project subagents in .claude/agents/ are checked into version control, so their system prompts and any embedded context are shared with collaborators; avoid putting secrets in subagent files. Persistent memory (memory: user/project/local) writes accumulated notes to ~/.claude/agent-memory/ or .claude/agent-memory(-local)/; project-scope memory can be committed to the repo. Subagent transcripts are stored under ~/.claude/projects/.../subagents/ as agent-*.jsonl and persist until cleaned up per the cleanupPeriodDays setting (default 30 days). | ✓Maintenance scans read internal docs, issue titles, dependency manifests, and CI configuration that may describe unreleased features. Subagent transcripts may retain file paths and package names from private forks; avoid pasting customer data into maintenance prompts. External MCP connectors can expose additional metadata—document what each maintenance subagent may read. | ✓The SDK authenticates with ANTHROPIC_API_KEY (or a third-party provider's credentials); keep the key in an environment variable, never in agent prompts or committed code. Connected MCP servers and the WebFetch/WebSearch tools can send project data to external systems. | ✓Example prompts reference credentials and third-party providers (JWT, Supabase auth, Stripe); keep API keys, tokens, and secrets in environment variables or a secrets manager and never paste them into prompts or commit them. |
| Prerequisites | — none listed |
| — none listed | — none listed |
| Install | — | — | — | — |
| Config | — | — | — | — |
| Citations | ||||
| Claim | Unclaimed | Unclaimed | Unclaimed | Unclaimed |
Source-backed guides for putting this to work.
Loading live community signals…
A short, calm digest of reviewed Claude resources. Unsubscribe any time.