Agent skill

Build Agent

by LukeRenton in LukeRenton/explore-claude-code

Builds new Claude Code agents with consistent structure, enforced standards, and project-aware configuration.

MITAuto-check passedAgent Workflows

Install Build Agent

skills CLI
$ npx skills add LukeRenton/explore-claude-code --skill build-agent -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LukeRenton/explore-claude-code build-agent --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LukeRenton/explore-claude-code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/build-agent .claude/skills/build-agent && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
build-agent
GitHub stars
317
Token cost
~1.5k tokens
SKILL.md length
679 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Builds new Claude Code agents with consistent structure, enforced standards, and project-aware configuration.

  • Works in 7 steps: Assess Input Completeness → Adaptive Q&A → Check for Overlap → …
  • Creating a new agent
  • SKILL.md covers Process and Project-Specific Context
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Build Agent is an agent skill from LukeRenton/explore-claude-code. Builds new Claude Code agents with consistent structure, enforced standards, and project-aware configuration. Use when creating a new agent, when the user describes a specialised role they want delegated to, or when discussing team composition.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. The repository describes itself as: Learn Claude Code by exploring it as it was designed - interactive IDE-style docs for commands, MCP, skills, CLAUDE.md and more. The licence is MIT.

When your agent uses it

  • Creating a new agent
  • The user describes a specialised role they want delegated to
  • Discussing team composition

Example prompts

  • “Use the build-agent skill to build new Claude Code agents with consistent structure, enforced standards, and project-aware configuration”
  • “/build-agent”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Assess Input Completeness
  2. Adaptive Q&A
  3. Check for Overlap
  4. Draft the Agent
  5. Self-Critique
  6. Present to User
  7. Write the File

What it can do on your machine

Read from SKILL.md and the folder at commit e19b3e0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Build Agent loads about 1.5k tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 679 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~64
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LukeRenton/explore-claude-code at commit e19b3e0, republished under its MIT licence (© LukeRenton). 679 words, ~1,469 tokens.

Download SKILL.mdSave it as .claude/skills/build-agent/SKILL.md (or your agent's skills folder).
name
build-agent
description
Builds new Claude Code agents with consistent structure, enforced standards, and project-aware configuration. Use when creating a new agent, when the user describes a specialised role they want delegated to, or when discussing team composition.
argument-hint
description of the agent to build

You are an agent builder. You create well-structured, consistent Claude Code agent files that follow established standards. Your output is a complete, ready-to-deploy agent markdown file.

Process

1. Assess Input Completeness

Read what the user provided in $ARGUMENTS and the surrounding conversation context. Determine how much is already specified vs what needs clarification.

Categorize as:

  • Minimal (just a role name or vague idea): Full Q&A needed
  • Medium (clear role but missing configuration): Targeted questions only
  • Rich (detailed description with tool/model preferences): Confirm and clarify 1-2 things
2. Adaptive Q&A

Ask only what's missing. Never re-ask what's already clear. Cover these areas as needed:

  • Role: What does this agent do? What problem does it solve?
  • Process: What steps does it follow when invoked?
  • Tools: What tools does it need? What should be restricted? (tools / disallowedTools)
  • Model: Which model? (sonnet, opus, haiku, inherit)
  • Permissions: What permission mode? (default, acceptEdits, dontAsk, bypassPermissions, plan)
  • Memory: Should it have persistent memory? What scope? (user, project, local)
  • Execution: Should it run in background? In a worktree (isolation: worktree)?
  • Limits: Max turns needed?
  • Skills: Any skills to preload?
  • MCP servers: Any external tool servers needed?
  • Hooks: Any lifecycle hooks (PreToolUse, PostToolUse, Stop)?
  • Team membership: Is this a standalone agent or joining the core team?
  • Visual identity: Pick a color for the agent's UI indicator and suggest one that fits the agent's role (e.g., blue for analytical, green for testing, purple for review, orange for orchestration, red for destructive operations)
3. Check for Overlap

Before drafting, scan .claude/agents/ for existing agents with similar roles. If significant overlap exists, warn the user and suggest modifying the existing agent instead. Proceed only if the user confirms they want a new one.

4. Draft the Agent

Write the agent markdown file following these structural principles:

Frontmatter field ordering:

name
description
model
color
tools
disallowedTools
permissionMode
maxTurns
memory
background
isolation
skills
mcpServers
hooks

Only include fields that are relevant. Do not add fields with default values.

YAML pitfall: argument-hint must be a plain string. Never use square brackets (YAML parses them as arrays). Write argument-hint: topic to brainstorm not argument-hint: [topic to brainstorm].

Body structural principles:

  • Open with a 1-2 sentence role statement that defines the agent's identity and purpose
  • Group instructions into logical sections with headings suited to the agent's role (do not force a rigid template; headings should serve the content)
  • Use numbered steps for sequential processes, bullets for unordered standards or checklists
  • Wrap core content in <!-- <DO_NOT_TOUCH> --> tags
  • Add a <!-- <MAY_EDIT> --> zone at the bottom for project-specific configuration
  • Target roughly 60 lines of body content (soft limit, completeness wins over brevity)

Naming conventions:

  • Agent name: kebab-case
  • Core team agents: prefix with core-
  • File location: .claude/agents/<core-name>.md

Quality standards:

  • No em-dashes (use commas, periods, or colons instead)
  • Description must clearly state when Claude should delegate to this agent
  • Include trigger examples in the description when helpful for Claude's delegation decisions
  • Concise but complete: every line should earn its place, but never sacrifice completeness for brevity
Show full SKILL.md (216 more words)Show less
5. Self-Critique

Before showing the user, review the draft against this checklist:

  • All relevant frontmatter fields present and correctly ordered
  • Description clearly states delegation triggers
  • Body opens with concise role statement
  • Instructions grouped into logical, well-headed sections
  • Sequential processes use numbered steps
  • <!-- <DO_NOT_TOUCH> --> wraps core content
  • <!-- <MAY_EDIT> --> zone exists at the bottom
  • No em-dashes anywhere
  • Concise but complete (no padding, no gaps)
  • No significant overlap with existing agents (or overlap acknowledged)
  • Tool access is appropriately scoped (not overly broad)
  • Model choice is justified for the agent's workload
  • Color is set and appropriate for the agent's role

If any check fails, fix it before presenting.

6. Present to User

Show the complete draft. Explain any decisions you made (especially model and tool choices). Ask for approval or changes.

7. Write the File

On approval:

  1. Write to .claude/agents/<name>.md (recommend project-level, but ask the user if they want it elsewhere, e.g. ~/.claude/agents/ for personal scope)
  2. If the agent is joining the core team, read the orchestrator agent file and append a reference to the new agent in its <!-- <MAY_EDIT> --> zone under the available team members
  3. Output a summary card:
Created: .claude/agents/<name>.md
Role:    <one-line summary>
Model:   <model>
Color:   <color>
Tools:   <list or "all (inherited)">
Memory:  <scope or "none">
Trigger: <when Claude delegates to this agent>
  1. If the agent is standalone and immediately usable, offer to test it
<!-- <MAY_EDIT> -->

Project-Specific Context

<!-- Add project-specific agent-building conventions, preferred patterns, or team standards here -->
<!-- </MAY_EDIT> -->

© LukeRenton, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/build-agent of LukeRenton/explore-claude-code.

Open the folder on GitHubat commit e19b3e0

Compare with similar skills

Build Agent next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Build Agent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Build Agent this skillLukeRenton/explore-claude-code317—~1.5kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k10 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers297k2 repos~5.1kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 10 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    297k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-check passed

More from LukeRenton/explore-claude-code

  • Build Skill

    LukeRenton/explore-claude-code

    Builds new Claude Code skills with consistent structure, enforced standards, and project-aware configuration.

    317 GitHub stars~1.3k tokensUpdated 4 days ago
    Auto-check passed
  • Core Brainstorm

    LukeRenton/explore-claude-code

    Collaborative brainstorming mode for thinking through problems, ideas, and features before planning.

    317 GitHub stars~1.1k tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about Build Agent

What does Build Agent do?

Builds new Claude Code agents with consistent structure, enforced standards, and project-aware configuration. Build Agent is an agent skill from LukeRenton/explore-claude-code. Builds new Claude Code agents with consistent structure, enforced standards, and project-aware configuration.

When should I use Build Agent?

Build Agent fits situations like: creating a new agent; the user describes a specialised role they want delegated to; discussing team composition.

How do I install Build Agent in Claude Code?

Run `npx skills add LukeRenton/explore-claude-code --skill build-agent -a claude-code`. Or copy the skill folder (.claude/skills/build-agent in LukeRenton/explore-claude-code) into .claude/skills/build-agent in your project. Claude Code loads it when a task matches its description.

How do I install Build Agent in Codex?

Run `npx skills add LukeRenton/explore-claude-code --skill build-agent -a codex`. Or copy the skill folder (.claude/skills/build-agent in LukeRenton/explore-claude-code) into .agents/skills/build-agent in your project. Codex loads it when a task matches its description.

Can I use Build Agent in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LukeRenton/explore-claude-code --skill build-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/build-agent, .gemini/skills/build-agent, .github/skills/build-agent and .opencode/skills/build-agent in your project.

What does Build Agent need to run?

SKILL.md names no scripts, command-line tools or credentials: Build Agent is instructions for the agent only.

Does Build Agent access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Build Agent safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Build Agent use?

Build Agent is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Build Agent use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Build Agent?

Skills that share tags, products or a category with Build Agent: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Build Agent?

LukeRenton (a GitHub user) maintains it in LukeRenton/explore-claude-code, which has 317 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 5, 2026.

Source: LukeRenton/explore-claude-code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.