create-agent

create-agent is a skill for Claude Code, Codex from superuser-pal/awesome-second-brain. It costs 30 tokens per session (531 once invoked), scanned A, original, MIT.

A guided tool for creating and checking domain agents in PAL Second Brain, a knowledge-management system. These agents keep interactive work focused on one knowledge area.

In plain words
What is it for?
Use it to create a new domain agent, check an existing one, or validate its structure and activation command.
Why use it?
It helps you follow the required files, names, and checks when adding a domain agent. It also separates domain agents from subagents, which handle isolated tasks.

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/superuser-pal/awesome-second-brain/create-agent
Any agent
npx skills add superuser-pal/awesome-second-brain --skill create-agent
Clone the repo
git clone --depth 1 https://github.com/superuser-pal/awesome-second-brain

Made for: Claude Code, Codex.

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/superuser-pal/awesome-second-brain/create-agent.svg)](https://agentmods.dev/skills/superuser-pal/awesome-second-brain/create-agent)
Your own site
<a href="https://agentmods.dev/skills/superuser-pal/awesome-second-brain/create-agent"><img src="https://agentmods.dev/badge/skills/superuser-pal/awesome-second-brain/create-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 531 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00030 $0.00531
Opus 5 $0.00015 $0.00266
Sonnet 5 $0.00006 $0.00106
Haiku 4.5 $0.00003 $0.00053

Measured 4d ago against content hash 634e23be6886, 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 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 4d 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.

.claude/skills/create-agent/SKILL.md · 56 lines

What it actually says

create-agent

Creates Domain Agents — interactive, domain-bound agents that load domain context and maintain focus within a single knowledge area. Distinct from Subagents (which are task-specific and invoked by commands).

Authoritative Sources

Read these before creating any agent:

  • .claude/core/system/AGENT-BASE.md — shared behavioral constraints
  • This SKILL.md — naming conventions and creation checklist

Two Agent Types in PAL Second Brain

Type Format Invoked by Purpose
Subagents tools/model/maxTurns/skills Slash commands Isolated tasks: scanning, migrating, auditing
Domain Agents domain/tools/model/skills (no maxTurns) User via /agent:[name] Interactive domain context

This skill creates Domain Agents only. Do not modify Subagents.

Naming Conventions

Entity Convention Example
Agent file kebab-case.md laralou-agent.md
Agent name: YAML field kebab-case name: laralou-agent
Agent domain: YAML field PascalCase domain: LaraLou
Activation command .claude/commands/agent/kebab-case.md laralou-agent.md

Pre-Creation Checks

Before creating:

  1. Domain domains/[Name]/ must exist with INDEX.md
  2. No existing agent with the same name in .claude/agents/
  3. No existing command file at .claude/commands/agent/[name].md

Workflow Routing

Workflow Trigger
create-agent "create agent", "new agent", "domain agent"
validate-agent "validate agent", "check agent"

Quick Reference

  • Agent file: .claude/agents/kebab-case.md
  • Command file: .claude/commands/agent/kebab-case.md
  • AGENT-BASE.md path: .claude/core/system/AGENT-BASE.md
  • 5-section structure (see agent_template.md)
  • Post-creation: Register in CLAUDE.md Domain Agents section + Skills.md
Files

What ships with it

4 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. 4d ago First seen · 56 lines · 30 tokens per session scan A 634e23be6886

Subscribe to this mod's changes

create-agent is a skill published in the GitHub repository superuser-pal/awesome-second-brain (14 stars, last pushed 4mo ago), licensed MIT. It adds 30 tokens to every session and 531 once invoked, about $0.0002 per session on Opus 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-30.

Related

Other skills, from other repositories

wiki-ingest

Ingest supplied source material into an Obsidian vault with provenance and claim tracking: pasted text, files staged in the selected vault's inbox or .raw archive, or explicitly approved URLs. Use for a single source or bounded batch, not for saving an assistant answer. Triggers: ingest, ingest this file, ingest this…

AgriciDaniel/claude-obsidian · 88 tokens

autoresearch

Run a bounded, source-grounded research loop, draft a cited dossier, and optionally propose a separately reviewed canonical vault merge. Use when the user wants autonomous or deep research that may access the public web. Triggers: /autoresearch, autoresearch, research this topic, deep dive into, investigate, find…

AgriciDaniel/claude-obsidian · 80 tokens

canvas

Create, inspect, and update Obsidian JSON Canvas boards with text, file, link, group, and edge nodes. Use for canvas status, canvas lists, visual maps, zones, spatial layouts, adding vault notes or media to a .canvas file, and requests such as create canvas, add to canvas, or put this on the canvas.

AgriciDaniel/claude-obsidian · 72 tokens

wiki-retrieve

Build and query a vault-local contextual BM25 retrieval index with optional multilingual Nomic cosine reranking; use for retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, chunk search, vault search, semantic search, find relevant passages, or retrieval diagnostics. Derived caches stay under .vault-meta…

AgriciDaniel/claude-obsidian · 81 tokens

wiki

Initialize, adopt, and route work for a separate Obsidian knowledge vault through the portable claude-obsidian core. Use for vault setup, scaffolding, workspace selection, cross-project configuration, or choosing the correct wiki sub-skill. Triggers: /wiki, set up wiki, scaffold vault, create knowledge base, adopt…

AgriciDaniel/claude-obsidian · 84 tokens

defuddle

Plan and, with explicit network consent, use an optional external Defuddle cleaner to extract article-like HTTPS pages as Markdown. Use for defuddle, clean this URL, strip page clutter, readable Markdown from a web page, or preparing a web source for later wiki ingestion.

AgriciDaniel/claude-obsidian · 57 tokens