create-agent

A guided skill for creating a specialized software agent with its own persona and working principles. It gathers requirements through conversation, shows a preview for confirmation, and then creates the agent.

In plain words
What is it for?
Use it to create a domain assistant, such as a legal or financial helper, or to build a governed prototype from a template.
Why use it?
Creating a useful specialist requires deciding what it should do, how it should behave, and what limits it should follow. This process turns those requirements into a version-managed agent setup.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/desirecore/market/create-agent
Any agent
npx skills add desirecore/market --skill create-agent
Clone the repo
git clone --depth 1 https://github.com/desirecore/market

Made for: Claude Code, Codex.

Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,483 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00060 $0.02483
Opus 5 $0.00030 $0.01241
Sonnet 5 $0.00012 $0.00497
Haiku 4.5 $0.00006 $0.00248

Measured 2d ago against content hash 56c801ad5ab3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-agent scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Always create via `ManageAgent`; never use curl / HTTP or write AgentFS directories directly. Requires client ≥ 10.0.90.
skills/create-agent/SKILL.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

create-agent skill

L0: One-Sentence Summary

Collect requirements through natural-language conversation and call the ManageAgent builtin tool to create a specialized digital Agent.

L1: Overview

Meta-skill: gather requirements over multi-turn conversation → generate persona/principles → land via ManageAgent(action='create'). Use it to raise a domain specialist (legal advisor, financial analyst), deploy a customized business Agent quickly, or produce a prototype from a template. The created repo conforms to the AgentFS v2 spec and is version-managed by git (governable, traceable). Its value is what the tool can't give: domain-tailored persona/principles generation + a pre-create preview confirmation.

L2: Detailed Spec

Flow: intent recognition → requirement gathering → content generation → user confirmation → creation → receipt.

Stage 1: Intent Recognition

Trigger (any): user explicitly says "create an Agent / make me an assistant"; describes a domain-specific need the current Agent lacks; asks "can you raise a …". Confirm intent, then move to requirement gathering.

Stage 2: Requirement Gathering

  • Required (parenthesized = example prompt question): name ("what to name it?"), role ("what does it mainly do?"), target_users ("who will use it?"), domain ("what expertise does it need?").
  • Optional: style (communication tone), boundaries (red lines), language (default Chinese) — defaults derived from the domain template.
  • Strategy: prefer inferring from the user's natural description; only ask for missing required fields; you decide how many to ask and the pacing.

Stage 3: Content Generation

Organize persona and principles as structured fields (do not emit raw markdown; present field-by-field). Leave uncollected fields empty for the system to fill with defaults:

  • persona: L0 one-sentence core identity; L1 role / personality (array of trait tags) / communication_style; L2 specialty, values, decision preferences (free-form).
  • principles: L0 one-sentence top principle; L1 must_do / must_not (safety red lines) / priority; L2 governance principles, escalation rules (free-form).

Read the full file on GitHub · 182 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 182 lines · 60 tokens per session scan A 56c801ad5ab3

Subscribe to this mod's changes

create-agent is a skill published in the GitHub repository desirecore/market (2 stars, last pushed 2d ago), licensed MIT. It adds 60 tokens to every session and 2,483 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

create-skill

Wizard for creating new Agent Zero skills. Guides users through creating well-structured SKILL.md files. Use when users want to create custom skills.

Gen-Verse/PAST-Bench · 33 tokens

agent-writer

Write new agent definitions, skill files, and agent configurations. Use when someone asks to "create a new agent", "write a skill", "define an agent", or needs to create reusable AI agent instructions for any platform. This is the meta-skill for creating other skills and agents in the polyagent-skills format.

gyanranjan/polyagent-skills · 69 tokens

skill-authoring

Author SKILL.md skills: frontmatter, validator limits, structure.

mateaix/mateclaw · 18 tokens

a0-plugin-router

Main entry point for all Agent Zero plugin tasks. Routes to specialist skills for creating, reviewing, contributing, managing, or debugging plugins. Use when the user mentions plugins, asks how the plugin system works, wants to build/install/uninstall/publish/debug a plugin, or asks about the Plugin Hub.

agent0ai/agent-zero · 65 tokens

a0-plugin-router

Main entry point for all Agent Zero plugin tasks. Routes to specialist skills for creating, reviewing, contributing, managing, or debugging plugins. Use when the user mentions plugins, asks how the plugin system works, wants to build/install/uninstall/publish/debug a plugin, or asks about the Plugin Hub.

Gen-Verse/PAST-Bench · 65 tokens

creating-agents

Teaches how to create new agents in the agents/ directory — isolated agentic loops with their own model, tool whitelist, and AGENT.md instructions.

chinkan/RustFox · 35 tokens