Skip to content

Comprehensive guide for creating Claude Code agents with validated frontmatter, triggering examples, and system prompts.

CCM score
52 of 100
skills.sh installs
1.3K
GitHub stars
1.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers agent file structure, the frontmatter fields name, description, model, color, and tools, and triggering patterns
  • Specifies name rules (lowercase, hyphens, 3-50 characters) and description rules requiring "Use this agent when..." with <example> blocks
  • Provides a system prompt template with responsibilities, analysis process, output format, edge cases, and anti-patterns
  • Designed for authors building autonomous Task-tool subagents who need consistent, least-privilege configurations

Install

$ npx -y skills add neolabhq/context-engineering-kit --skill create-agent -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Agent Name: $1
Description: $2

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
ConceptAgentCommand
TriggerClaude decides based on descriptionUser invokes with /name
PurposeAutonomous workUser-initiated actions
ContextIsolated subprocessShared conversation
File formatagents/*.mdcommands/*.md

Agent File Structure

Agents use a unique format combining YAML frontmatter with a markdown system prompt:

---
name: agent-identifier
description: Use this agent when [triggering conditions]. Examples:

Details

Repository
github.com/neolabhq/context-engineering-kit
Category
Skill & Plugin Building
First seen
Jun 3, 2026

Questions

What does the create-agent skill do?

create-agent is a guide for building Claude Code agents with proper structure, triggering conditions, system prompts, and validation. It follows official Anthropic best practices and proven patterns, covering the YAML frontmatter fields, example blocks, and the markdown system prompt.

How do I install the create-agent skill?

Run npx -y skills add neolabhq/context-engineering-kit --skill create-agent -y in a project to install create-agent. Once installed, the agent can use create-agent to guide you through writing a new agent file.

Which category does create-agent belong to and what sets it apart?

create-agent sits in the Skill & Plugin Building category on Claude Marketplaces. It focuses specifically on agents, which are autonomous subprocesses spawned via the Task tool, and covers their trigger descriptions, model and color fields, and tool restrictions.

Who is create-agent for?

create-agent is for developers who want to write their own Claude Code agents that handle complex, multi-step tasks independently. It explains how to choose a name, write a trigger description with examples, and limit tools to what the agent needs.

More from neolabhq/context-engineering-kit

All 62

Similar to Create Agent

More Skill & Plugin Building