meta-agent-creator

Creates custom subagents for Claude Code with YAML frontmatter configuration in Markdown files. Covers agent scoping (project, user, CLI, plugin), tool access control, model selection, permission modes, skill preloading, and lifecycle hooks. Use when building specialized subagents, configuring tool access, selecting models, setting permission modes, or designing delegation patterns. Use for agent creation, subagent configuration, custom agent setup.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "meta-agent-creator" with this command: npx skills add oakoss/agent-skills/oakoss-agent-skills-meta-agent-creator

Custom Agent Creator

Overview

Subagents are specialized AI assistants defined as Markdown files with YAML frontmatter. Each subagent runs in its own context window with a custom system prompt, specific tool access, and independent permissions. When a task matches a subagent's description, the parent conversation delegates to it automatically, preserving main context while enforcing constraints.

When to use: Isolating high-volume operations (tests, logs), enforcing read-only access for reviewers, routing simple tasks to cheaper models, running parallel research, creating reusable team workflows.

When NOT to use: Tasks requiring frequent back-and-forth, quick targeted changes, workflows needing nested delegation (subagents cannot spawn subagents), latency-sensitive operations where fresh context gathering is costly.

Quick Reference

PatternConfigurationKey Points
File location (project).claude/agents/name.mdShared via version control, priority 2
File location (user)~/.claude/agents/name.mdAvailable across all projects, priority 3
Required fieldsname, descriptionOnly two fields are mandatory
Tool restrictiontools: Read, Grep, GlobAllowlist; inherits all if omitted
Tool denialdisallowedTools: Write, EditDenylist; removed from inherited set
Model selectionmodel: haikuOptions: sonnet, opus, haiku, inherit (default)
Permission modepermissionMode: dontAskControls permission prompt behavior
Skill preloadingskills: [auth, api-patterns]Injected at startup; no inheritance from parent
Lifecycle hookshooks: { PreToolUse: [...] }Validate or block tool usage conditionally
CLI-defined agentclaude --agents '{...}'Session-only, highest priority, JSON format
Interactive creation/agents commandGuided setup with Claude generation
Proactive triggers"Use proactively after..."Include in description for auto-delegation

Common Mistakes

MistakeCorrect Pattern
Using opus for simple checklist reviewsUse haiku for read-only reviews and style checks
Omitting output format in system promptInclude structured output template for consistent results
Listing tools explicitly when all are neededOmit tools field to inherit all tools including MCP
Expecting skills from parent conversationExplicitly list skills in the skills field
Generic description without triggersInclude specific trigger phrases like "Use proactively when..."
Giving a single agent too many responsibilitiesDesign focused agents with one clear purpose each
Using bypassPermissions without cautionPrefer acceptEdits or dontAsk for safer automation
Creating deeply nested agent workflowsChain subagents from main conversation; nesting is not supported

Delegation

  • Agent pattern discovery: Use Explore agent to find existing agents in .claude/agents/
  • Interactive creation: Use /agents command for guided setup with Claude generation
  • Code review of agent files: Use Task agent to validate system prompts and configuration

References

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-cli

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

tanstack-cli

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

typescript-patterns

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

tanstack-devtools

No summary provided by upstream source.

Repository SourceNeeds Review
meta-agent-creator | V50.AI