agent0ai/agent-zero/a0-create-agent

Claude Code and agent skill by agent0ai/agent-zero

Trust tier 2
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
LLM review pending
Source check pending

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-agent

Semi-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:

  1. agent.yaml is tiny metadata for discovery and delegation:
  • title
  • description
  • context
  1. The actual profile behavior usually lives in prompts/agent.system.main.specifics.md.

Use the shipped profiles as calibration:

ProfilePattern to copy
agent0Minimal top-level assistant identity
developerRich capabilities, methodology, output requirements
researcherRich capabilities, methodology, evidence standards
hackerShort, direct operational identity plus optional environment override
_exampleMinimal 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.yaml plus prompts/agent.system.main.specifics.md.

Recommended interview flow:

  1. First ask only:
  • "What should this agent be excellent at?"
  • Optionally: "Do you already have a name/title in mind?"
  1. After the purpose is clear, propose a short summary with inferred name, title, description, and context, then ask for confirmation or corrections.
  2. Ask about behavior only if needed:
  • "Should it work more like a concise specialist, a rigorous researcher, a code-heavy implementer, or something else?"
  1. 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
  1. Before writing files, show the compact blueprint summary and ask for confirmation.
  2. 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.

json
{
"schema": "agent_zero.agent_profile_blueprint.v1",
"status": "draft",
"profile": {
"scope": "user",
"root": "/a0/usr/agents",
"name": "data-analyst",
"title": "Data Analyst",
"description": "Agent specialized in data analysis, visualization, and statistical modeling.",
"context": "Use this agent for data analysis tasks, creating visualizations, statistical analysis, and working with datasets in Python."
},
"behavior": {
"role": "You are a specialized data analysis agent.",
"primary_capabilities": [
"Python data analysis with pandas, numpy, and scipy",
"Data visualization with matplotlib, seaborn, and plotly",
"Statistical modeling and hypothesis testing"
],
"operating_principles": [
"Inspect data before drawing conclusions",
"Prefer reproducible code and explicit assumptions",
"Explain uncertainty and limitations"
],
"workflow": [
"Clarify the question and available data",
"Profile and clean the dataset",
"Run analysis with appropriate methods",
"Visualize and interpret results"
],
"output_preferences": [
"Concise findings first",
"Tables or charts when useful",
"Reproducible code when analysis is performed"
]
},
"prompt_strategy": {
"base_pattern": "specifics_only",
"override_rationale": [
"Use agent.system.main.specifics.md for role, expertise, and process.",
"Keep the inherited communication contract unchanged."
],
"root_prompt_overrides": [
{
"file": "agent.system.main.communication.md",
"reason": "Only include if the profile needs a different response JSON schema or output format."
}
]
},
"llm_config": {
"enabled": false,
"path": "/a0/usr/agents/data-analyst/plugins/_model_config/config.json",
"source": "inherit_scoped",
"model_preset": null,
"notes": [
"Do not put model settings in agent.yaml.",
"Only create this config file if the user wants this profile to select a specific global model preset.",
"Scoped _model_config config stores only model_preset."
]
},
"files": [
{
"path": "/a0/usr/agents/data-analyst/agent.yaml",
"kind": "yaml",
"content": "title: Data Analyst\ndescription: Agent specialized in data analysis, visualization, and statistical modeling.\ncontext: Use this agent for data analysis tasks, creating visualizations, statistical analysis, and working with datasets in Python.\n"
},
{
"path": "/a0/usr/agents/data-analyst/prompts/agent.system.main.specifics.md",
"kind": "markdown",
"content": "## Your role\n\nYou are a specialized data analysis agent.\n\n## Expertise\n- Python data analysis with pandas, numpy, and scipy\n- Data visualization with matplotlib, seaborn, and plotly\n- Statistical modeling and hypothesis testing\n\n## Process\n1. Clarify the question and available data\n2. Profile and clean the dataset\n3. Run analysis with appropriate methods\n4. Visualize and interpret results\n"
}
],
"optional_components": {
"extra_prompt_overrides": [],
"tools": [],
"extensions": []
},
"validation": {
"needs_user_confirmation": true,
"unique_name_checked": false,
"yaml_valid": false,
"open_questions": []
}
}

Rules for the blueprint:

  • Output strict JSON: no comments, no trailing commas, no markdown inside string values except the intended file content.
  • profile.name must be lowercase letters, numbers, hyphens, or underscores only.
  • prompt_strategy.root_prompt_overrides must list any inherited root /prompts files being considered or replaced and why.
  • If a root prompt override is only a possibility, list it in prompt_strategy but do not add it to files until confirmed.
  • llm_config.enabled controls whether a profile-scoped _model_config/config.json file is created. Keep it false when the preset should inherit from broader project/global settings.
  • files[*].content must be the exact file content to write.
  • Include only files that should actually be created.
  • Set status to draft until all required choices are known; set it to ready only 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:

InputRuleExample
name (directory name)lowercase letters, numbers, hyphens or underscores; must be unique across profile search pathsdata-analyst
titlehuman-readable display name shown in the UIData Analyst
descriptionone-line specialization summaryAgent specialized in data analysis, visualization, and statistical modeling.
contextinstructions telling the superior agent when to delegate to this profileUse this agent for data analysis tasks, creating visualizations, statistical analysis, and working with datasets in Python.
[!NOTE]
agent.yaml has only these three content fields (title, description, context). Do not add model, temperature, or allowed_tools fields to agent.yaml. A profile-specific preset selection lives in a companion _model_config plugin 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.

<PROFILE_ROOT>/<name>/
├── agent.yaml # Required
├── prompts/ # Optional — prompt overrides
├── tools/ # Optional — profile-specific tools
└── extensions/ # Optional — profile-specific extensions

agent.yaml:

yaml
title: Data Analyst
description: Agent specialized in data analysis, visualization, and statistical modeling.
context: Use this agent for data analysis tasks, creating visualizations, statistical
analysis, and working with datasets in Python.

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 scopeModel 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:

json
{
"model_preset": "Research"
}

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 files only when llm_config.enabled is true.

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/agent0ai/agent-zero/a0-create-agent/badge)](https://verified-skill.com/skills/agent0ai/agent-zero/a0-create-agent)

Something wrong with this skill or its page? Tell us.