agentleFS
superuser-palsuperuser-pal/awesome-second-brain/.claude/skills/create-agent/SKILL.md

create-agent

Skill14 starsChanged 7 months agoMITView on GitHub

Create and validate Domain Agents for PAL Second Brain. USE WHEN create agent, new agent, domain agent, validate agent, check agent.

42 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use deploy-platform, setup-platform and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • agno-agiSkill

    deploy-platform

    Deploy this AgentOS using its own provider instructions, configure JWT verification, and verify the public service. Use for first deployment, redeployment, or production configuration changes.

    Also in 6 projects that use this

  • agno-agiSkill

    setup-platform

    Set up this AgentOS from a fresh clone — confirm Docker, configure .env, boot the containers, prove the MCP endpoint live, connect the AgentOS UI, then build the user's first agent. Use when the user asks to set up the platform, get started, or bring this repo up on a new machine.

    Also in 6 projects that use this

  • ElasticSkill

    create-integration

    Use when creating a new Elastic integration package, scaffolding data streams, answering package layout or structure questions, or running the end-to-end integration build workflow. Covers package topology, scaffold commands, post-scaffold edits, and full orchestration of CEL/pipeline/test subagents.

    Also in 3 projects that use this

  • dwiziSkill

    create-tool

    Expertise in designing, scaffolding, and implementing new MCP tools using dzx conventions. Use when the user asks to "create a tool", "add a tool", "wire up a tool", or similar for MCP servers built with dzx.

    Also in 3 projects that use this

  • MicrosoftSkill

    create-hook

    Create a hook (.json) to enforce policy or automate agent lifecycle events.

    Also in 5 projects that use this

  • LinHao-citySkill

    setup-api-key

    Guides users through setting up an ElevenLabs API key for ElevenLabs MCP tools. Use when the user needs to configure an ElevenLabs API key, when ElevenLabs tools fail due to missing API key, or when the user mentions needing access to ElevenLabs. First checks whether ELEVENLABS_API_KEY is already configured and valid, and only runs full setup when needed.

    Also in 3 projects that use this

  • +3 more from agno-agi

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 39 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read these before creating any agent:

    line 13
  2. Very specific:

    No existing agent with the same name in .claude/agents/

    line 39
  3. Very specific:

    No existing command file at .claude/commands/agent/[name].md

    line 40

“Common” is measured: kept by at least 6 in 10 of the 39 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

TypeFormatInvoked byPurpose
Subagentstools/model/maxTurns/skillsSlash commandsIsolated tasks: scanning, migrating, auditing
Domain Agentsdomain/tools/model/skills (no maxTurns)User via /agent:[name]Interactive domain context

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

Naming Conventions

EntityConventionExample
Agent filekebab-case.mdlaralou-agent.md
Agent name: YAML fieldkebab-casename: laralou-agent
Agent domain: YAML fieldPascalCasedomain: LaraLou
Activation command.claude/commands/agent/kebab-case.mdlaralou-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

WorkflowTrigger
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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.