create-agent
Create, audit, test or improve subagents (agents/*.md for Claude Code and Cursor), including prompts, tool and model choice, multi-agent orchestration and…
Skill by pahlevikun
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/pahlevikun-create-agent
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, security, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/create-agent
What's inside
- Skill name
create-agent- Description
- Create, audit, test or improve subagents (agents/*.md for Claude Code and Cursor), including prompts, tool and model choice, multi-agent orchestration and failure handling. Use when asked to add or review a subagent, fix an agent description that never delegates, choose its tools and model, coordinate several agents, make an agent more reliable, or debug one that misbehaves. Not for skills (use create-skill).
- License
- MIT
- Instructions
- 77 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (9)
- SKILL.md
- audit.md · references/
- orchestration.md · references/
- prompts.md · references/
- reliability.md · references/
- subagents.md · references/
- testing.md · references/
- lint.mjs · scripts/
- subagent.md · templates/
SKILL.md (first lines)
# Create subagents
A **subagent** is a Markdown file whose body is a system prompt. It runs in its own context, optionally with fewer tools or another model, and returns a summary.
Related skills in this group: `create-skill` (SKILL.md folders), `create-rule`, `create-hook`, `create-command`, `convert-as-skill`, and `create-agents-md` (AGENTS.md).
## Principles
1. **The description is the router.** The model decides to delegate from `description` alone. Write what it does, when to use it, and the words a user would say.
2. **Assume the model is smart.** Add only what it lacks: your conventions, your commands, the traps. Cut explanations of common knowledge.
3. **One job per agent.** If it needs "and", split it. If two overlap, merge them.
4. **Smallest authority.** Grant the fewest tools and the smallest model that works. Read-only unless it must write.
5. **Keep the prompt short.** About 80 lines. Link to rules and references instead of pasting them.
6. **Test by using it.** An untested description is a guess.
## Choose the right mechanism
| Need | Use |
|---|---|
| Isolate noisy or parallel work, restrict tools, use a cheaper model | **Subagent** |
| A reusable procedure or knowledge, loaded when relevant | **Skill** (`create-skill`) |
| Facts true for the whole repo, always in context | `AGENTS.md` (`create-agents-md`) or a rule (`create-rule`) |
| Must happen every time, not model-decided | **Hook** (`create-hook`) |
| A saved prompt you type as `/name` | A command (`create-command`) |
A skill can run as a subagent: in Claude Code set `context: fork` and `agent: <type>` (see `create-skill`).
## What do you want to do?
1. **New subagent** → [New subagent](#new-subagent)
2. **Audit existing agents** → [Audit](#audit)
3. **New or oversized skill** → use `create-skill`
Infer the intent from the request; ask only if it is unclear. If the conversation already described a recurring task, derive the agent from it instead of asking again.
## New subagent
1. **Check for overlap.** List the existing agents (project, user, plugin). Extend or merge before creating. A large roster of vague agents makes delegation worse.
2. **Pick the location.** Shared with the team: the project's `agents/` (plugin) or `.claude/agents/` / `.cursor/agents/`. Personal: `~/.claude/agents/` or `~/.cursor/agents/`. Cursor also reads `.claude/agents` and `.codex/agents`, so one file can serve several tools. See [subagents.md](references/subagents.md).
3. **Write the frontmatter** from [templates/subagent.md](templates/subagent.md): `name`, a `description` that says *when to call it*, `tools` (or `readonly`), and `model` only if the work is mechanical.
4. **Write the body** as a short system prompt: mission, the inputs the caller must pass, numbered steps, how to verify, the output format, an explicit "Do not" list. About 80 lines at most.
5. **Lint** with `node scripts/lint.mjs <file>`.
6. **Test:** ask for it by name ("use the X subagent to ..."), then give a task that should delegate on its own. Adjust the description until it triggers on the second and not on unrelated tasks.
## Audit
1. Run `node scripts/lint.mjs <path>` on an agent file or a directory of agents. The same linter also checks skill folders (`create-skill` uses it).
2. Walk the checklist in [audit.md](references/audit.md) for what a linter cannot judge (is the description specific, are the steps actionable, is the tool list minimal).
3. Report a score and findings by priority, each with a concrete fix: **Broken** (will not load or trigger), **Weak** (loads but misroutes or wastes context), **Polish**.
4. Apply only the fixes the user asked for. Preserve the author's structure and voice.
## Related skills
- `create-skill`: the job is a procedure the main agent runs, not a delegate.
- `create-command`: the job is a saved prompt you type as /name.
- `create-hook`: the job must run on an event, with no model decision.
- `create-rule`: the guidance must apply on every task.
- `convert-as-skill`: turn an existing agent into a skill.
## Done when
- `name` matches the filename; `description` states when to call it; the linter reports no errors.
- Tools and model are the minimum that works.
- It was exercised at least once on a real task, and the description triggered correctly.
- No overlap with an existing agent, or the overlap was merged.From pahlevikun/levistack, MIT.
More from pahlevikun/levistack
- 0.570score
output-savers
pahlevikun
Engineering principles plus plain STE writing in one skill.
SkillAFreshness: AClaude Code +9 - 0.570score
convert-as-skill
pahlevikun
Convert existing material into a skill, or merge existing skills into one.
SkillAFreshness: AClaude Code +9 - 0.570score
create-agents-md
pahlevikun
Create, audit or refresh AGENTS.md files: the repo root, nested package files, and the user-level global file, for Claude Code, Cursor and Codex.
SkillAFreshness: AClaude Code +9 - 0.570score
create-command
pahlevikun
Create, audit or improve slash commands (commands/*.md, .claude/commands, .cursor/commands): saved prompts you run as /name, with arguments and tool…
SkillAFreshness: AClaude Code +9 - 0.570score
create-hook
pahlevikun
Create, wire up, test and debug agent hooks: Claude Code settings.json or plugin hooks, Cursor hooks.json, or a shared hooks/ tree, with working recipes.
SkillAFreshness: AClaude Code +9 - 0.570score
create-rule
pahlevikun
Create, audit or tighten persistent rules for coding agents: .claude/rules/*.md, .cursor/rules/*.mdc, a catalog rules/ tree, CLAUDE.md or AGENTS.md.
SkillAFreshness: AClaude Code +9 - 0.570score
create-skill
pahlevikun
Create, audit, grow or repair agent skills (a folder with SKILL.md) for Claude Code, Cursor, Codex and the skills CLI, including skills that write or run plans.
SkillAFreshness: AClaude Code +9 - 0.570score
super-architecture
pahlevikun
Detect, choose, build, evaluate, migrate and document software architecture.
SkillAFreshness: AClaude Code +9 - 0.570score
super-caching
pahlevikun
Super caching: domain router for web (browser, CDN, service worker, HTTP Cache-Control, BFF/API route cache), mobile (on-device, offline, image cache…
SkillAFreshness: AClaude Code +9 - 0.570score
super-protobuf
pahlevikun
Protocol Buffers (proto3) design, buf.yaml/buf.gen.yaml, Connect and gRPC services, protovalidate, lint and breaking checks, schema evolution, mixed-version…
SkillAFreshness: AClaude Code +9 - 0.570score
super-tech-blueprint
pahlevikun
Choose or generate a target technology stack: compare frameworks with TCO, security and ecosystem scoring, plan a migration, or write a blueprint for a new or…
SkillAFreshness: AClaude Code +9 - 0.570score
atomic-semantic-commit
pahlevikun
Split a messy working tree into small commits, one purpose and one context per commit, with semantic commit messages (feat, fix, docs, style, refactor, test…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 5, 2026 (23 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/pahlevikun/levistack
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from pahlevikun
- 0.570score
convert-as-skill
pahlevikun
Convert existing material into a skill, or merge existing skills into one.
SkillAFreshness: AClaude Code +9 - 0.570score
create-agents-md
pahlevikun
Create, audit or refresh AGENTS.md files: the repo root, nested package files, and the user-level global file, for Claude Code, Cursor and Codex.
SkillAFreshness: AClaude Code +9 - 0.570score
create-command
pahlevikun
Create, audit or improve slash commands (commands/*.md, .claude/commands, .cursor/commands): saved prompts you run as /name, with arguments and tool…
SkillAFreshness: AClaude Code +9 - 0.570score
create-hook
pahlevikun
Create, wire up, test and debug agent hooks: Claude Code settings.json or plugin hooks, Cursor hooks.json, or a shared hooks/ tree, with working recipes.
SkillAFreshness: AClaude Code +9 - 0.570score
create-rule
pahlevikun
Create, audit or tighten persistent rules for coding agents: .claude/rules/*.md, .cursor/rules/*.mdc, a catalog rules/ tree, CLAUDE.md or AGENTS.md.
SkillAFreshness: AClaude Code +9 - 0.570score
create-skill
pahlevikun
Create, audit, grow or repair agent skills (a folder with SKILL.md) for Claude Code, Cursor, Codex and the skills CLI, including skills that write or run plans.
SkillAFreshness: AClaude Code +9
Cite this page
create-agent skill. Agent Mart. https://agentmart.dev/skills/pahlevikun-create-agent (last updated 2026-10-24)