Agent skill · neolabhq
create-agent
Comprehensive guide for creating Claude Code agents with proper structure, triggering conditions, system prompts, and validation - combines official Anthropic best practices with proven patterns
What it needs
About 11k tokens when loaded.
What this skill does
Create Agent Command Create autonomous Claude Code agents that handle complex, multi-step tasks independently. This command provides comprehensive guidance based on official Anthropic documentation and proven patterns. User Input What Are Agents? Agents are autonomous subprocesses spawned via the Task tool that: Handle complex, multi-step tasks independently Have their own isolated context window Return results to the parent conversation Can be specialized for specific domains Concept Agent Command --------- ------- --------- Trigger Claude decides based on description User invokes with /name Purpose Autonomous work User-initiated actions Context Isolated subprocess Shared conversation File format agents/.md commands/.md Agent File Structure Agents use a unique format combining YAML frontmatter with a markdown system prompt: Frontmatter Fields Reference Required Fields name (Required) Format: Lowercase with hyphens only Length: 3-50 characters Rules: Must start and end with alphanumeric character Only lowercase letters, numbers, and hyphens No underscores, spaces, or special characters Valid Invalid Reason ------- --------- -------- code-reviewer helper Too generic test-generator -agent- Starts/ends with hyphen api-docs-writer myagent Underscores not allowed security-analyzer ag Too short (<3 chars) pr-quality-reviewer MyAgent Uppercase not allowed description (Required, Critical) The most important field - Defines when Claude triggers the agent. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills neolabhq/create-agent--79d2cf