creating-claude-agents

creating-claude-agents is a skill for Claude Code, Codex from AgentWorkforce/relay. It costs 40 tokens per session (3,825 once invoked), scanned A, original, Apache-2.0.

A guide for creating or improving Claude Code agents, which are specialized assistants with defined roles, instructions, tools, and model settings.

In plain words
What is it for?
Use it to create agent files, improve existing agents, define their behavior and tool access, choose model settings, and check their frontmatter and location.
Why use it?
It helps ensure agent files follow the required structure and can be validated correctly. It also clarifies choices such as the agent's persona, available tools, and model.

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/agentworkforce/relay/creating-claude-agents-skill
Any agent
npx skills add AgentWorkforce/relay --skill creating-claude-agents-skill
Clone the repo
git clone --depth 1 https://github.com/AgentWorkforce/relay

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 creating-claude-agents

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentworkforce/relay/creating-claude-agents-skill.svg)](https://agentmods.dev/skills/agentworkforce/relay/creating-claude-agents-skill)
Your own site
<a href="https://agentmods.dev/skills/agentworkforce/relay/creating-claude-agents-skill"><img src="https://agentmods.dev/badge/skills/agentworkforce/relay/creating-claude-agents-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,825 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.00040 $0.03825
Opus 5 $0.00020 $0.01912
Sonnet 5 $0.00008 $0.00765
Haiku 4.5 $0.00004 $0.00382

Measured 5d ago against content hash 3c2b3379e6a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

creating-claude-agents 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 5d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/skills/creating-claude-agents-skill/SKILL.md · 667 lines

How it starts

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

Creating Claude Code Agents - Expert Skill

Use this skill when creating or improving Claude Code agents. Provides comprehensive guidance on agent structure, schema validation, and best practices for building long-running AI assistants.

When to Use This Skill

Activate this skill when:

  • User asks to create a new Claude Code agent
  • User wants to improve an existing agent
  • User needs help with agent frontmatter or structure
  • User is troubleshooting agent validation issues
  • User wants to understand agent format requirements
  • User asks about agent vs skill vs slash command differences

Quick Reference

Agent File Structure

---
name: agent-name
description: When and why to use this agent
allowed-tools: Read, Write, Bash
model: sonnet
agentType: agent
---

# 🔍 Agent Display Name

You are [persona definition - describe the agent's role and expertise].

## Instructions

[Clear, actionable guidance on what the agent does]

## Process

[Step-by-step workflow the agent follows]

## Examples

[Code samples and use cases demonstrating the agent's capabilities]

File Location

Required Path:

.claude/agents/*.md

Agents must be placed in .claude/agents/ directory as markdown files.

Frontmatter Requirements

Required Fields

Field Type Description Example
name string Agent identifier (lowercase, hyphens only) code-reviewer
description string Brief overview of functionality and use cases Reviews code for best practices and potential issues

Optional Fields

Field Type Description Values
allowed-tools string Comma-separated list of available tools Read, Write, Bash, WebSearch
model string Claude model to use sonnet, opus, haiku, inherit
agentType string Explicit marker for format preservation agent

Read the full file on GitHub · 667 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. 5d ago First seen · 667 lines · 40 tokens per session scan A 3c2b3379e6a1

Subscribe to this mod's changes

creating-claude-agents is a skill published in the GitHub repository AgentWorkforce/relay (813 stars, last pushed yesterday), licensed Apache-2.0. It adds 40 tokens to every session and 3,825 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

lime-governance

Govern Lime legacy cleanup, fact-source convergence, current/compat/deprecated/dead classification, and guardrails.

limecloud/lime · 27 tokens

lime-quality-workflow

Choose Lime validation commands for GUI, command/bridge, config, version, and PR-readiness changes.

limecloud/lime · 26 tokens

lime-release-workflow

准备并执行 Lime 发版;覆盖版本号、发布说明、产物清理、验证门禁、commit、tag 和推送。.

limecloud/lime · 35 tokens

image_generate

Skill "image_generate" from limecloud/lime, covering 工作目标, 执行规则 and 输出规则(固定).

limecloud/lime · 44 tokens

brand-persona-knowledge-builder

将品牌定位、价值观、受众画像、语气风格、内容样例、危机回应和表达禁区,整理成符合 Agent Knowledge v0.6 document-first 标准、可被 AI 安全调用的品牌人设知识库。适用于用户要求“整理品牌人设”“沉淀品牌口吻”“把品牌资料变成可复用语气库”“维护品牌 persona pack”的场景。.

limecloud/lime · 99 tokens

personal-ip-knowledge-builder

将访谈稿、聊天记录、简历、公开内容、业务资料、案例和既有 DOCX/Markdown 文档,提炼成可被 AI 长期调用的个人 IP 知识库。适用于用户要求“生成个人知识库”“整理成个人 IP 成品知识库”“为创始人/专家/讲师/主播/顾问建立AI知识库”“把资料变成个人IP底层提示词/写作风格库/故事素材库/话术库”的场景。.

limecloud/lime · 117 tokens