create-agent

create-agent is a skill for Claude Code from pjt222/agent-almanac. It costs 83 tokens per session (3,361 once invoked), scanned A, original, MIT.

A guide to defining a specialized coding agent with a focused role, selected tools, assigned skills, and documented settings. An agent is an assistant configured for a particular kind of work.

In plain words
What is it for?
Use it to create the agent definition, choose its model and tools, assign skills, and add it to the project registry.
Why use it?
It turns a recurring workflow or broad assistant into a reusable specialist with clear responsibilities and limits.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - [relevant-guide](../guides/guide-name.md) - background knowledge for this domain.

Part of the agent-almanac plugin — 122 skills, 77 agents shipped together

Good fit Use it to create the agent definition, choose its model and tools, assign skills, and add it to the project registry.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/pjt222/agent-almanac
agentmods
npx agentmods add skills/pjt222/agent-almanac/create-agent

Made for: Claude Code.

Or install agent-almanac, the plugin that ships this one along with the rest of its 122 skills, 77 agents.

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/pjt222/agent-almanac/create-agent/github.svg)](https://agentmods.dev/skills/pjt222/agent-almanac/create-agent)
Your own site
<a href="https://agentmods.dev/skills/pjt222/agent-almanac/create-agent"><img src="https://agentmods.dev/badge/skills/pjt222/agent-almanac/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/pjt222/agent-almanac/create-agent"><img src="https://agentmods.dev/badge/skills/pjt222/agent-almanac/create-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,361 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00083 $0.03361
Opus 5.5 $0.00033 $0.01344
Sonnet 5.5 $0.00017 $0.00672
Haiku 4.5 $0.00008 $0.00336

Measured 1mo ago against content hash 2f4e2aad7daf, 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 1mo 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.

i18n/caveman-lite/skills/create-agent/SKILL.md · 338 lines

How it starts

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

Create a New Agent

Define a Claude Code subagent persona with a focused purpose, curated tools, assigned skills, and complete documentation following the agent template and registry conventions.

When to Use

  • Adding a new specialist agent to the library for a domain not yet covered
  • Converting a recurring workflow or prompt pattern into a reusable agent persona
  • Creating a domain-specific assistant with curated skills and constrained tools
  • Splitting an overly broad agent into focused, single-responsibility agents
  • Designing a new team member before composing a multi-agent team

Inputs

  • Required: Agent name (lowercase kebab-case, e.g., data-engineer)
  • Required: One-line description of the agent's primary purpose
  • Required: Purpose statement explaining the problem the agent solves
  • Optional: Model choice (default: sonnet; alternatives: opus, haiku)
  • Optional: Priority level (default: normal; alternatives: high, low)
  • Optional: List of skills from skills/_registry.yml to assign
  • Optional: MCP servers the agent requires (e.g., r-mcptools, hf-mcp-server)

Procedure

Step 1: Design the Agent Persona

Choose a clear, focused identity for the agent:

  • Name: lowercase kebab-case, descriptive of the role. Start with a noun or domain qualifier: security-analyst, r-developer, tour-planner. Avoid generic names like helper or assistant.
  • Purpose: one paragraph explaining the specific problem this agent solves. Ask: "What does this agent do that no existing agent covers?"
  • Communication style: consider the domain. Technical agents should be precise and citation-heavy. Creative agents can be more exploratory. Compliance agents should be formal and audit-oriented.

Before proceeding, check for overlap with the existing 53 agents:

grep -i "description:" agents/_registry.yml | grep -i "<your-domain-keywords>"

Got: No existing agent covers the same niche. If an existing agent partially overlaps, consider extending it instead of creating a new one.

Read the full file on GitHub · 338 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. 1mo ago First seen · 338 lines · 83 tokens per session scan A 2f4e2aad7daf

Subscribe to this mod's changes

create-agent is a skill published in the GitHub repository pjt222/agent-almanac (42 stars, last pushed 5d ago), licensed MIT. It adds 83 tokens to every session and 3,361 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

audit-pr

Audit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the current review-change REVIEW-PASS receipt instead of re-running review axes; posts a SHA-bound ready comment; never edits or merges. Triggers: "audit-pr", "is this PR ready", "merge gate".

gtrabanco/agentic-workflow · 71 tokens

execute-phase

Step executor for units whose triage (unit-lane) decided which steps the unit needs. Implements one triaged step (or all remaining steps), with frozen acceptance, step-local gates, commits, red-gate repair, and diff-size guard. BREAKING: replaced PLAN.md/TASKS.md/progress.md/ACCEPTANCE.md with the unit doc's Tasks…

gtrabanco/agentic-workflow · 106 tokens

fold-findings

Repair persisted fix-now findings in compatible atomic batches: root-cause fixes, green gate, commit/push, and per-row folded: yes updates. Never reclassify or substitute backlog notes. Triggers: "fold-findings", "fix the review findings", "repair audit blockers".

gtrabanco/agentic-workflow · 65 tokens

init-workspace

Adapt the workflow scaffold to a new repository or add only missing substrate blocks to an existing install. Every install, hook, and overwrite needs explicit consent. Triggers: "init-workspace", "set up agentic workflow", "upgrade workflow scaffold".

gtrabanco/agentic-workflow · 54 tokens

product-audit

Audit the whole product across code, quality, process, docs, roadmap, and tooling; it owns the repo-wide bug hunt, security research, and broken-version investigation (scoped and budgeted per dimension, as distinct from review-change's change-scoped review). Persist one severity-ranked, F-numbered report with…

gtrabanco/agentic-workflow · 107 tokens

review-change

Review a change with only applicable internal axes, classify every finding, persist fix-now work, and return one evidence-backed decision. Findings only; --adversarial N uses isolated reviewers; --synthesize fuses supplied reviewer tables. Triggers: "review-change", "review this change", "adversarial review".

gtrabanco/agentic-workflow · 67 tokens