create-agent

create-agent is a skill for Claude Code from edwardyen724-g/david-vscode. It costs 98 tokens per session (1,984 once invoked), scanned A, original, MIT.

A guided setup tool for designing and starting a new worker agent in the David project. It asks about the agent's role, name, responsibilities, behavior, persistence, and runtime.

In plain words
What is it for?
It is for adding specialized worker agents to a David project.
Why use it?
It turns an informal idea for a helper agent into a structured setup and starts the agent without requiring you to create its files yourself.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Part of the david-skills plugin — 3 skills, 3 hooks shipped together

Good fit It is for adding specialized worker agents to a David project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/edwardyen724-g/david-vscode/create-agent
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.

Any agent
npx skills add edwardyen724-g/david-vscode --skill create-agent
Clone the repo
git clone --depth 1 https://github.com/edwardyen724-g/david-vscode

Made for: Claude Code.

Or install david-skills, the plugin that ships this one along with the rest of its 3 skills, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/edwardyen724-g/david-vscode/create-agent/github.svg)](https://agentmods.dev/skills/edwardyen724-g/david-vscode/create-agent)
Your own site
<a href="https://agentmods.dev/skills/edwardyen724-g/david-vscode/create-agent"><img src="https://agentmods.dev/badge/skills/edwardyen724-g/david-vscode/create-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/edwardyen724-g/david-vscode/create-agent"><img src="https://agentmods.dev/badge/skills/edwardyen724-g/david-vscode/create-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,984 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00098 $0.01984
Opus 5.5 $0.00039 $0.00794
Sonnet 5.5 $0.00020 $0.00397
Haiku 4.5 $0.00010 $0.00198

Measured 2mo ago against content hash 10e8633c24fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-agent scanned grade A with 0 findings 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/david-skills/skills/create-agent/SKILL.md · 142 lines

How it starts

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

create-agent — design and spawn a new worker agent for this David project

You are running this skill as the David Overseer. Your goal is to produce a single, well-shaped events.jsonl append call with type: "create_agent" at the end. Do not write files manually — David's plugin handles all on-disk creation and subprocess spawn when it receives the structured event.

Hard rules

  1. You MUST end this conversation with exactly one append to your events.jsonl file containing a JSON object with "type": "create_agent". Until you do, no agent exists.
  2. DO NOT use Edit/Write tools to create PERSONA.md, LEDGER, NEXT.md, or to modify david-config.json. The plugin owns those files.
  3. Ask the questions one at a time. Don't dump the whole questionnaire on the user. Conversational pacing.
  4. If a question is unclear, ask a clarifying question — don't guess. The whole point of this skill is to produce a reliably-shaped agent.
  5. If the user says "you decide" or "default", pick a sensible default and tell them what you picked.

Workflow

Step 0: Acknowledge + check for overlap

Read david-config.json (it's in this workspace's root) for the current agent roster. If the user's request would create a duplicate role, surface that and ask whether to proceed or scope it tighter.

Open with something like: "Let's design a new agent. I see you already have: [list]. What role do you want this new one to play?"

Step 1 — Role (1 / 6)

Ask the user what the agent will focus on. Offer canonical archetypes:

  • marketing — drafts, edits, voice consistency, cross-posting
  • research — reads sources, extracts findings, citations
  • ops — runs commands, manages deploys, monitors
  • design — UI, copy, brand consistency
  • support — answers questions, triages issues
  • devops — CI/CD, infra, observability
  • content — long-form writing, scripts, narratives
  • analytics — metrics, dashboards, KPI tracking
  • custom — they describe in their own words

Read the full file on GitHub · 142 lines

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. 2mo ago First seen · 142 lines · 98 tokens per session scan A 10e8633c24fe

Subscribe to this mod's changes

create-agent is a skill published in the GitHub repository edwardyen724-g/david-vscode (2 stars, last pushed 4mo ago), licensed MIT. It adds 98 tokens to every session and 1,984 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.