/create-agent

> Define a new specialist agent with role, capabilities, triggers, and routing rules.

170 stars

Best use case

/create-agent is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

> Define a new specialist agent with role, capabilities, triggers, and routing rules.

Teams using /create-agent should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/create-agent/SKILL.md --create-dirs "https://raw.githubusercontent.com/Miosa-osa/canopy/main/library/skills/agent/create-agent/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/create-agent/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How /create-agent Compares

Feature / Agent/create-agentStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

> Define a new specialist agent with role, capabilities, triggers, and routing rules.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# /create-agent

> Define a new specialist agent with role, capabilities, triggers, and routing rules.

## Usage
```
/create-agent "<name>" --role "<role>" [--tier <opus|sonnet|haiku>] [--triggers "<keywords>"]
```

## What It Does
Creates a new agent definition file with role description, capabilities, trigger keywords, file-type routing, escalation paths, and integration points. Validates against the existing agent roster to avoid duplicates. Registers the agent in the routing table.

## Implementation
1. **Check roster** -- verify no existing agent covers this role.
2. **Define agent** -- create agent definition with:
   - Name and role description
   - Tier assignment (opus for elite, sonnet for specialist, haiku for utility)
   - Trigger keywords for automatic routing
   - File-type associations
   - Capabilities and limitations
   - Escalation paths (when to hand off)
3. **Write definition** -- create `agents/<name>.md` following agent template.
4. **Register** -- add to routing table in CLAUDE.md.
5. **Validate** -- confirm no routing conflicts with existing agents.

## Examples
```bash
# Create a new specialist agent
/create-agent "data-engineer" --role "ETL pipelines and data modeling" --tier sonnet

# Create with specific triggers
/create-agent "mobile-dev" --role "React Native development" --tier sonnet --triggers "mobile, iOS, Android, React Native"

# Create a utility agent
/create-agent "formatter" --role "Code formatting and style enforcement" --tier haiku
```

Related Skills

ads create

170
from Miosa-osa/canopy

Campaign concept and copy brief generator for paid advertising. Reads brand-profile.json and optional audit results to produce structured campaign concepts, messaging pillars, and copy briefs. Outputs campaign-brief.md. Run after /ads dna and before /ads generate. Triggers on: "create campaign", "campaign brief", "ad concepts", "write ad copy", "campaign strategy", "ad messaging", "creative brief", "generate concepts"

create-spec

170
from Miosa-osa/canopy

Guided spec creation through 9 phases from discovery to testing strategy. Supports spec types: library, feature, change. Produces a complete specification document with requirements, architecture, constraints, and YAML test data. Interactive or autonomous modes. Triggers on: "create spec", "write spec", "spec out", "specification", "design document"

/create-pr

170
from Miosa-osa/canopy

> Create a pull request with summary, test plan, and proper labeling.

/create-operation

170
from Miosa-osa/canopy

> Define a new operation (a packaged workflow with agents, skills, and deliverables).

/do

170
from Miosa-osa/canopy

> The agent's primary skill. Customize this to match your agent's purpose.

/report

170
from Miosa-osa/canopy

> Generate structured reports. Director-owned.

/primary

170
from Miosa-osa/canopy

> Main workflow execution and routing. Director-owned.

Qualify

170
from Miosa-osa/canopy

## Command

Prospect

170
from Miosa-osa/canopy

## Command

Close Plan

170
from Miosa-osa/canopy

## Command

Battlecard

170
from Miosa-osa/canopy

## Command

Spec

170
from Miosa-osa/canopy

## Command