Source profileQuality 92/100

eltmon/overdeck/sync-sources/skills/pan-subagent-creator/SKILL.md

pan-subagent-creator

Create custom Claude Code subagents with isolated context windows, specific tool permissions, and specialized prompts. Use when users want to create a new subagent, configure agent delegation, set up task-specific agents, or define specialized assistants. Triggers on "create a subagent", "make a custom agent", "define an agent", "agent configuration", or "Task tool agent".

Source repository stars
18
Declared platforms
1
Static risk flags
2
Last source update
2026-08-28
Source checked
2026-08-28

Decision brief

What it does: where it fits

Create specialized subagents that handle specific tasks with their own context windows, system prompts, and tool permissions.

Best for

  • Use when users want to create a new subagent, configure agent delegation, set up task-specific agents, or define specialized assistants.

Not for

  • Check description matches user intent
  • Verify file is in correct location

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeDeclaredSource recordInstall path and trigger
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/eltmon/overdeck --skill "sync-sources/skills/pan-subagent-creator"
Safe inspection promptEditorial

Inspect the Agent Skill "pan-subagent-creator" from https://github.com/eltmon/overdeck/blob/da5ab83250ee6edab65e2050111624829ffaf5dd/sync-sources/skills/pan-subagent-creator/SKILL.md at commit da5ab83250ee6edab65e2050111624829ffaf5dd. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Creation Process

    The description is how Claude decides when to delegate. Make it specific:

    What specific task does this agent handle?What expertise should it have?What tools does it need (minimum necessary)?
  2. 02

    Step 1: Define Purpose

    What specific task does this agent handle?

    What specific task does this agent handle?What expertise should it have?What tools does it need (minimum necessary)?
  3. 03

    Step 2: Write Description

    The description is how Claude decides when to delegate. Make it specific:

    The description is how Claude decides when to delegate. Make it specific:Good: "Expert database query optimizer. Analyzes SQL queries for performance issues, suggests indexes, and rewrites slow queries."Bad: "Helps with database stuff."
  4. 04

    Step 3: Create Agent File

    Review the “Step 3: Create Agent File” section in the pinned source before continuing.

    Review and apply the “Step 3: Create Agent File” source section.
  5. 05

    Step 4: Write Instructions

    Use imperative voice. Be specific about: - What the agent should do when invoked - How to structure output - What to avoid - Error handling

    What the agent should do when invokedHow to structure outputWhat to avoid

Permission review

Static risk signals and limitations

Writes files

medium · line 109

The documentation asks the agent to create, modify, or delete local files.

### Step 3: Create Agent File

Reads files

low · line 237

The documentation asks the agent to read local files, directories, or repositories.

| **Explore** | Haiku | Fast, read-only codebase analysis |

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score92/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars18SourceRepository attention, not individual Skill quality
Compatibility1 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
eltmon/overdeck
Skill path
sync-sources/skills/pan-subagent-creator/SKILL.md
Commit
da5ab83250ee6edab65e2050111624829ffaf5dd
License
MIT
Collected
2026-08-28
Default branch
main
View the original SKILL.md

Subagent Creator

Create specialized subagents that handle specific tasks with their own context windows, system prompts, and tool permissions.

What Are Subagents?

Subagents are mini-agents with:

  • Independent context window - Keep exploration out of main conversation
  • Custom system prompt - Specialized behavior and expertise
  • Scoped tool permissions - Least-privilege access
  • Model selection - Cost optimization (Haiku for read-only, Sonnet for complex)

Claude delegates to subagents via the Task tool based on matching descriptions.

Subagent Anatomy

Subagents are Markdown files with YAML frontmatter:

---
name: code-reviewer
description: Expert code review. Use proactively after code changes.
tools: Read, Grep, Glob, Bash
model: sonnet
---

You are a senior code reviewer focusing on quality, security, and best practices.

[Instructions for the subagent...]

Frontmatter Fields

FieldRequiredDescription
nameYesUnique identifier (lowercase, hyphens allowed)
descriptionYesWhen Claude should delegate - this is how Claude decides
toolsNoAllowed tools (inherits all if omitted)
disallowedToolsNoTools to explicitly deny
modelNohaiku, sonnet, opus, or inherit (default: sonnet)
permissionModeNodefault, acceptEdits, dontAsk, bypassPermissions, plan
skillsNoSkills to load at startup
hooksNoLifecycle hooks for validation

Storage Locations

LocationScopeUse Case
.claude/agents/Current projectTeam-shared subagents
~/.claude/agents/All projectsPersonal, reusable subagents
CLI --agents flagCurrent sessionQuick testing

Model Selection for Cost

ModelCostBest For
HaikuLowestRead-only exploration, simple validation
SonnetMediumMost tasks, good balance
OpusHighestComplex reasoning, critical decisions
inheritParent'sMatch main conversation

Permission Modes

permissionMode: default        # Normal permission prompts
permissionMode: acceptEdits    # Auto-accept file edits
permissionMode: dontAsk        # Auto-deny all prompts
permissionMode: bypassPermissions  # Skip all checks (dangerous)
permissionMode: plan           # Read-only exploration mode

Common Tool Sets

Read-only agents:

tools: Read, Grep, Glob

Code review agents:

tools: Read, Grep, Glob, Bash

Full development agents:

tools: Read, Write, Edit, Bash, Grep, Glob

Restricted bash (specific commands only):

tools: Read, Grep, Glob, Bash(git status:*), Bash(git diff:*)

Creation Process

Step 1: Define Purpose

  • What specific task does this agent handle?
  • What expertise should it have?
  • What tools does it need (minimum necessary)?

Step 2: Write Description

The description is how Claude decides when to delegate. Make it specific:

Good: "Expert database query optimizer. Analyzes SQL queries for performance issues, suggests indexes, and rewrites slow queries."

Bad: "Helps with database stuff."

Step 3: Create Agent File

# Project-level (shared with team)
mkdir -p .claude/agents
touch .claude/agents/my-agent.md

# User-level (personal)
mkdir -p ~/.claude/agents
touch ~/.claude/agents/my-agent.md

Step 4: Write Instructions

Use imperative voice. Be specific about:

  • What the agent should do when invoked
  • How to structure output
  • What to avoid
  • Error handling

Step 5: Test Delegation

Try prompts that should and shouldn't trigger the agent. Refine description if needed.

Example: Code Reviewer

---
name: code-reviewer
description: Expert code review specialist. Reviews code for quality, security, and maintainability. Use proactively after code changes or when user asks for review.
tools: Read, Grep, Glob, Bash
model: inherit
---

You are a senior code reviewer ensuring high standards.

When invoked:
1. Run `git diff` to see recent changes
2. Focus on modified files
3. Begin review immediately

Review checklist:
- Code is clear and readable
- Functions and variables are well-named
- No duplicated code
- Proper error handling
- No exposed secrets or API keys
- Input validation present
- Good test coverage
- Performance considered

Provide feedback by priority:
- **Critical** (must fix)
- **Warning** (should fix)
- **Suggestion** (consider)

Include specific examples of how to fix issues.

Example: Database Read-Only Agent with Hooks

---
name: db-reader
description: Execute read-only database queries. Use when user needs data analysis without modification risk.
tools: Bash
model: haiku
hooks:
  PreToolUse:
    - matcher: "Bash"
      hooks:
        - type: command
          command: "./scripts/validate-readonly.sh"
---

You are a database analyst with read-only access.
Execute SELECT queries to answer questions about data.

You cannot modify data. If asked to INSERT, UPDATE, DELETE,
or modify schema, explain you only have read access.

Example: Test Runner

---
name: test-runner
description: Run and analyze test suites. Returns only failures and summary, keeping main context clean. Use after code changes or when user asks to run tests.
tools: Bash, Read, Grep
model: haiku
---

You are a test execution specialist.

When invoked:
1. Identify test framework (jest, pytest, vitest, etc.)
2. Run full test suite
3. Analyze failures
4. Return concise summary:
   - Total tests / passed / failed
   - Failed test names and reasons
   - Suggested fixes if obvious

Do NOT include passing test details - only failures matter.

Hooks for Validation

Add validation scripts to enforce constraints:

hooks:
  PreToolUse:
    - matcher: "Bash"
      hooks:
        - type: command
          command: "./scripts/validate-command.sh"
  PostToolUse:
    - matcher: "Edit|Write"
      hooks:
        - type: command
          command: "./scripts/run-linter.sh"

Built-in Subagents

Claude Code includes:

NameModelPurpose
ExploreHaikuFast, read-only codebase analysis
PlanInheritedResearch for plan mode
general-purposeInheritedComplex multi-step tasks
BashInheritedTerminal commands in isolation

Key Constraints

  1. Subagents cannot spawn subagents - Don't include Task in tools
  2. Context is isolated - Results must be explicitly returned
  3. Tools must be allowed - Can't use tools not in your list
  4. Hooks run in order - PreToolUse blocks can reject operations

Common Patterns

1. Isolate High-Volume Operations

Run tests/linting in subagent, return only failures to main conversation.

2. Parallel Research

Multiple subagents explore different aspects, results synthesized by main agent.

3. Cost Optimization

Route read-only tasks to Haiku, complex reasoning to Sonnet/Opus.

4. Security Boundaries

Restrict tools to minimum needed. Use hooks for additional validation.

CLI-Defined Subagents

For quick testing without files:

claude --agents '{
  "code-reviewer": {
    "description": "Expert code reviewer.",
    "prompt": "You are a senior code reviewer...",
    "tools": ["Read", "Grep", "Glob", "Bash"],
    "model": "sonnet"
  }
}'

Troubleshooting

Agent not triggering:

  • Check description matches user intent
  • Verify file is in correct location
  • Check YAML frontmatter syntax

Agent has wrong permissions:

  • Explicitly list required tools
  • Check disallowedTools doesn't block needed tools

Agent too expensive:

  • Use model: haiku for simple tasks
  • Scope tools to minimum needed

Frequently asked questions

What to verify before installation and use

What does the pan-subagent-creator source document cover?

Create specialized subagents that handle specific tasks with their own context windows, system prompts, and tool permissions.

How do I install pan-subagent-creator?

The source record exposes this install command: npx skills add https://github.com/eltmon/overdeck --skill "sync-sources/skills/pan-subagent-creator". Inspect the command and pinned source before running it.

Which Agent platforms does the source record declare?

The pinned source record declares support for: claude code.

Which permission-related actions were detected?

Static rules flagged write-files, read-files in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing

Computed 97224

yonatangross/orchestkit

verify

Grade work that already exists and decide whether it can merge. Runs the project's current unit, integration, and E2E suites plus security scanning and type checking, scores every dimension 0-10, and returns a merge verdict with a VERIFIED-vs-CLAIMED evidence manifest. Writes no test files and edits no source. Use when verifying changes are ready to merge. Use /ork:cover instead when the tests still have to be written.

Computed 97211

PramodDutta/qaskills

RAG Regression Testing

Gate RAG pipelines in CI with versioned golden eval sets, per-metric thresholds, baseline drift detection, and a build that fails when retrieval or answer quality regresses.

Computed 9667

brucesongs/kali-claw

automotive-vehicle-security

CAN/CAN-FD bus analysis, UDS diagnostics, IVI pentest, OBD-II exploitation, key fob replay/relay attacks, GNSS spoofing, EV charging station (ISO 15118), and connected vehicle red team operations.

Computed 9621

upex-galaxy/agentic-qa-boilerplate

regression-testing

Execute regression test suites via CI/CD, analyze results, classify failures, and produce GO/NO-GO release decisions. Use when running regression, smoke, or sanity suites through GitHub Actions, monitoring workflow runs, downloading Allure or Playwright artifacts, classifying failures (REGRESSION vs FLAKY vs KNOWN vs ENVIRONMENT vs NEW TEST), computing pass-rate and trend metrics, deciding release readiness, generating executive quality reports, or creating regression issues. Triggers on: run re