agent0ai/agent-zero/a0-create-agent
Claude Code and agent skill by agent0ai/agent-zero
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Create Agent Zero profiles with agent.yaml, prompt overrides, tools and extensions.
Install
npx vskill@latest install agent0ai/agent-zero/a0-create-agentSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as agent0ai/agent-zero/a0-create-agent.
Create an Agent Zero Agent Profile
[!IMPORTANT]Do not create new profiles in/a0/agents/— that directory is reserved for core framework profiles (default,agent0,developer,hacker,researcher,_example). User profiles belong in/a0/usr/agents/<profile_name>/.
Related skills: /a0/skills/a0-development/SKILL.md (broader framework guide) | /a0/skills/a0-create-plugin/SKILL.md (bundle a profile inside a plugin).
Primary references:
/a0/agents/_example/— the canonical reference profile (tool + extension + prompt overrides)/a0/agents/default/— the base profile every other profile inherits from/a0/plugins/AGENTS.md— plugin-distributed profiles + per-profile config
Existing Profile Pattern
The built-in profiles are intentionally split into two layers:
agent.yamlis tiny metadata for discovery and delegation:
titledescriptioncontext
- The actual profile behavior usually lives in
prompts/agent.system.main.specifics.md.
Use the shipped profiles as calibration:
| Profile | Pattern to copy | |
|---|---|---|
agent0 | Minimal top-level assistant identity | |
developer | Rich capabilities, methodology, output requirements | |
researcher | Rich capabilities, methodology, evidence standards | |
hacker | Short, direct operational identity plus optional environment override | |
_example | Minimal demo of prompt/tool/extension override surfaces |
For most new profiles, create agent.yaml plus one strong agent.system.main.specifics.md. Add other prompt overrides, tools, or extensions only when the blueprint explicitly needs them.
Step 0: Progressive Intake
Do not ask the user a long form. New users are easily overwhelmed. Guide them with lossy compression: ask only the next highest-value question, one or two questions per turn maximum.
Default assumptions unless the user says otherwise:
- Scope: user profile in
/a0/usr/agents/<name>. - Models: inherit global/project
_model_config. - Response contract: keep the standard Agent Zero JSON tool-call contract.
- Extras: no custom tools or lifecycle extensions.
- Prompt strategy:
agent.yamlplusprompts/agent.system.main.specifics.md.
Recommended interview flow:
- First ask only:
- "What should this agent be excellent at?"
- Optionally: "Do you already have a name/title in mind?"
- After the purpose is clear, propose a short summary with inferred
name,title,description, andcontext, then ask for confirmation or corrections. - Ask about behavior only if needed:
- "Should it work more like a concise specialist, a rigorous researcher, a code-heavy implementer, or something else?"
- Ask about advanced options only when the user's request implies them:
- custom output format
- a profile-specific model preset
- custom tools
- lifecycle extensions
- plugin/project scope
- Before writing files, show the compact blueprint summary and ask for confirmation.
- Only after confirmation, produce the full AgentProfileBlueprint JSON in Step 1 and write files from it.
Never open with all blueprint fields. Do not mention obscure paths until they matter. Hide defaults, but use them.
If the user gives a broad idea, infer sensible defaults and mark uncertainties in validation.open_questions instead of stalling.
Step 1: Create an AgentProfileBlueprint JSON
Before writing files, produce exactly one valid JSON object in a fenced json block using this schema. This blueprint is the source of truth. Do not require a utility model or prose post-processing to extract fields.
Rules for the blueprint:
- Output strict JSON: no comments, no trailing commas, no markdown inside string values except the intended file content.
profile.namemust be lowercase letters, numbers, hyphens, or underscores only.prompt_strategy.root_prompt_overridesmust list any inherited root/promptsfiles being considered or replaced and why.- If a root prompt override is only a possibility, list it in
prompt_strategybut do not add it tofilesuntil confirmed. llm_config.enabledcontrols whether a profile-scoped_model_config/config.jsonfile is created. Keep itfalsewhen the preset should inherit from broader project/global settings.files[*].contentmust be the exact file content to write.- Include only files that should actually be created.
- Set
statustodraftuntil all required choices are known; set it toreadyonly after resolving open questions. - Ask the user to confirm or edit the blueprint before writing files unless they explicitly authorized immediate creation.
Step 2: Required Fields
The blueprint must contain these required profile inputs:
| Input | Rule | Example | |
|---|---|---|---|
| name (directory name) | lowercase letters, numbers, hyphens or underscores; must be unique across profile search paths | data-analyst | |
| title | human-readable display name shown in the UI | Data Analyst | |
| description | one-line specialization summary | Agent specialized in data analysis, visualization, and statistical modeling. | |
| context | instructions telling the superior agent when to delegate to this profile | Use this agent for data analysis tasks, creating visualizations, statistical analysis, and working with datasets in Python. |
[!NOTE]agent.yamlhas only these three content fields (title,description,context). Do not add model, temperature, orallowed_toolsfields toagent.yaml. A profile-specific preset selection lives in a companion_model_configplugin config file, and tool availability is controlled by plugin activation.
Step 3: Write Files from the Blueprint
After the user confirms the blueprint, create exactly the paths listed in files.
agent.yaml:
A profile with only agent.yaml is valid — it inherits everything from default/. Add the sections below only when you need to change something.
Step 4: Optional profile-specific model preset
Agent Zero does not read model settings from agent.yaml. The _model_config plugin is always enabled and supports per-agent-profile preset selection. If the user wants this profile to use a specific existing global preset, create a companion config file:
| Profile scope | Model config path | |
|---|---|---|
| User profile | /a0/usr/agents/<profile>/plugins/_model_config/config.json | |
| Plugin-distributed profile | /a0/usr/plugins/<plugin>/agents/<profile>/plugins/_model_config/config.json | |
| Project-scoped profile | <project>/.a0proj/agents/<profile>/plugins/_model_config/config.json |
Scoped _model_config/config.json files contain only the selected global preset name. Preset definitions are managed centrally in Model Configuration and are not copied into profiles.
Profile-scoped selection:
Rules:
- Ask whether the profile should inherit its scoped preset or select an existing global preset.
- Verify the preset exists before adding the file. If new model choices are needed, create a global preset through Model Configuration first.
- Do not store API keys or model dictionaries in this file; API keys and preset definitions are managed centrally.
- Add this file to
filesonly whenllm_config.enabledistrue.
Step 5: Override prompts (the most common customization)
Profiles inherit all prompts from /a0/prompts/ and from /a0/agents/default/. To change behavior, drop a file with the same filename into <PROFILE_ROOT>/<name>/prompts/. The loader searches profile-specific prompts first and falls back to the defaults.
The canonical override: agent.system.main.specifics.md
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 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/a0-create-agent/SKILL.md
Popularity
- Repository stars
- 19,619
- Repository forks
- 3,839
- 7-day trend score
- 49
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/agent0ai/agent-zero/a0-create-agent)