9thlevelsoftware/legion/agent-creator
- community
Checking that the SKILL.md file is still in the repository.
Guided agent personality creation with schema validation and registry integration
Install
npx vskill@latest install 9thlevelsoftware/legion/agent-creatorSKILL.md
Agent Creator
Guided conversation engine for creating new agent personalities. Captures agent identity, validates the schema, generates the agent .md file, and inserts the registry row so the new agent appears in future planning recommendations.
References:
- Personality paths and divisions from
workflow-common.md(Agent Personality Paths, Division Constants) - Catalog format and recommendation algorithm from
agent-registry.md(Section 1 row format, Section 3 scoring) - Adaptive conversation pattern from
questioning-flow.md(3-stage structure, AskUserQuestion usage)
Section 1: Agent Schema
Complete schema for agent personality files. Every agent .md file must conform to this structure.
Required Frontmatter Fields
| Field | Format | Validation Rule | |
|---|---|---|---|
name | Kebab-case string | Non-empty. Must match regex ^[a-z][a-z0-9-]+$. No spaces, uppercase, or underscores. Must match the filename (without .md). Must be globally unique across all agent files in agents/. | |
description | Free text (single line) | Non-empty. At least 10 characters. No newlines within the value. | |
color | Color keyword | Must be one of: red, green, blue, purple, cyan, orange, yellow, pink. |
Optional Frontmatter Fields
| Field | Format | When to Include | |
|---|---|---|---|
tools | Comma-separated list | When the agent needs specific tools beyond defaults (e.g., WebFetch, WebSearch, Read, Write) |
Canonical Agent Format
All agents MUST use Format A — emoji headings with "Your" pronouns. The required sections are:
| Section | Heading | Purpose | |
|---|---|---|---|
| Title | # {AgentName} Agent Personality | Agent identity | |
| Identity | ## 🧠 Your Identity & Memory | Who you are — personality, experience, domain | |
| Mission | ## 🎯 Your Core Mission | What you do — 3-5 key capabilities | |
| Rules | ## 🚨 Critical Rules You Must Follow | Hard rules the agent always follows | |
| Deliverables | ## 🛠️ Your Technical Deliverables | Concrete output artifacts | |
| Workflow | ## 🔄 Your Workflow Process | Step-by-step task approach | |
| Communication | ## 💭 Your Communication Style | Voice, tone, how the agent communicates | |
| Learning | ## 🔄 Learning & Memory | What patterns to track across sessions | |
| Metrics | ## 🎯 Your Success Metrics | Observable success criteria |
Conventions:
- Use second-person "You" pronouns throughout (e.g., "You are a..." not "This agent is...")
- Every
##canonical heading must include the emoji prefix - Additional domain-specific
##sections are allowed after the canonical ones - Target size: 100-300 lines. Minimum 80 lines, maximum 350 lines
- Code examples should be concise representative snippets, not full implementations
Body Requirements
- Minimum 80 lines of body content after the frontmatter closing
--- - Must contain at least the 🧠 and 🎯 emoji headings (Identity and Mission)
- Must include the agent name somewhere in the body text
- Body must be substantive prose — not placeholder templates or bullet-only lists
Division Placement
The agent must be placed in an existing division directory OR custom:
The agents/ directory holds all agent files (no division subdirectories). It is created on first use if it doesn't exist.
Section 2: Guided Creation Flow
A 3-stage adaptive conversation that captures everything needed to write a valid agent file. Follows the questioning-flow.md pattern: infer where possible, confirm where uncertain.
Stage 1: Agent Identity (1-2 exchanges)
Open with:
"What kind of specialist do you want to add to your team? Give me the one-liner — what does this agent do?"
From the user's response, extract:
- Specialty domain — the agent's primary area of expertise
- Primary capability — the single most important thing this agent does
- Differentiator — what makes it different from existing agents in the registry
Infer from the extracted information:
- Division — map the specialty domain to one of the 10 divisions (engineering, design, marketing, product, project-management, testing, support, spatial-computing, specialized, custom). Use
customonly when none of the existing divisions fit. - Suggested name — generate a kebab-case name following the pattern
{division}-{specialty}(e.g.,engineering-security-auditor,design-motion-designer). Keep names descriptive but concise.
Confirm via AskUserQuestion:
"I'll create a {division} agent — '{suggested-name}'. Specialty: {description}. Correct, or would you like to adjust?"
Options:
- "Looks good" — proceed to Stage 2
- "Adjust" — let the user modify division, name, or description
If the user adjusts: update the inferred values and re-confirm before proceeding.
Stage 2: Capabilities and Personality (2-3 exchanges)
Ask these questions adaptively — skip any that the user already answered in Stage 1:
- Capabilities: "What are the top 3-5 things this agent can do that others can't?"
- Capture as a capability list
- Each capability should be specific enough to generate task type tags later
- Personality: "How does this agent think and communicate? What's its personality?"
- Capture personality traits, communication style, mindset
- This shapes the Identity and Process sections of the generated file
- Hard rules: "Are there any hard rules this agent always follows?"
- Capture as critical rules
- These become the Critical Rules section verbatim
Confirm summary via AskUserQuestion before proceeding:
"Here's the agent I'll create:- Division: {division}- Name: {name}- Capabilities: {capability_list}- Personality: {personality_traits}- Hard rules: {rules}Anything to adjust?"
Options:
- "Proceed to tags" — move to Stage 3
- "Adjust" — let the user modify any captured values
Stage 3: Registry Integration (1 exchange)
Generate 3-5 task type tags from the captured capabilities. Tags must be:
- Lowercase, hyphenated (kebab-case)
- Aligned with existing registry tags where the capability overlaps
- Specific enough to differentiate from generic tags
Present via AskUserQuestion:
"For recommendations to work, I need task type tags. Based on capabilities, I suggest: {tag1}, {tag2}, {tag3}. These align with existing registry tags like: {example_existing_tags}. Add or remove any?"
Options:
- "Use these tags" — proceed to validation
- "Adjust tags" — let the user modify the tag list
After tag confirmation, generate the full agent file content and registry row. Present both to the user for final review before writing any files:
"Here's what I'll create:Agent file:agents/{agent-name}.mdRegistry row:| {agent-id} | agents/{agent-id}.md | {specialty} | {tags} |Ready to write?"
Section 3: Schema Validation
Run this validation checklist BEFORE writing any files. All checks must pass.
On validation failure:
- Present specific errors via AskUserQuestion:
> "Validation found {N} issue(s): > - {error_1} > - {error_2} > Fix these before I can create the agent."
- Allow the user to provide corrections
- Re-run the full validation checklist after corrections
- Do NOT write any files until all 8 checks pass
Section 4: File Generation
After all validation checks pass, generate and write the agent file.
Step 1: Construct File Path
Example: agents/engineering-security-auditor.md
Step 2: Create Division Directory (if needed)
If agents/ doesn't exist, create it:
Step 3: Write Agent File
Generate the agent .md file with:
YAML frontmatter:
If tools are specified:
Body content — generate substantive prose from the conversation data. Target 80-120 lines. Structure:
The body must be substantive prose — not placeholder templates. Use the user's responses to generate detailed, character-specific content.
Step 4: Verify File
After writing, verify the file exists:
If verification fails: report the error and do NOT proceed to registry update.
Section 5: Registry Update
After the agent file is written and verified, update agent-registry.md to include the new agent.
Step 1: Read agent-registry.md
Read the current content of skills/agent-registry/SKILL.md.
Step 2: Find Target Division Table
Locate the division table heading in Section 1:
- For existing divisions: find
### {Division} Division ({N} agents)heading - For
customdivision: find### Custom Divisionheading
Step 3: Insert Registry Row
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agent-creator/SKILL.md
Popularity
- Repository stars
- 62
- Repository forks
- 7
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/9thlevelsoftware/legion/agent-creator)