agent-generator

agent-generator is a skill for Claude Code, Codex from majiayu000/claude-skill-registry. It costs 82 tokens per session (3,308 once invoked), scanned A, original, MIT.

An agent-definition generator that turns a user's description of an agent's responsibilities into a Markdown file. It first checks existing agents to avoid overlapping work.

In plain words
What is it for?
It helps collect an agent's purpose, scope, role, tools, and display settings, then create and check its documentation.
Why use it?
It reduces the effort of deciding what an agent should do and helps prevent duplicate agent definitions in a plugin.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps collect an agent's purpose, scope, role, tools, and display settings, then create and check its documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/majiayu000/claude-skill-registry/agent-generator
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.

Any agent
npx skills add majiayu000/claude-skill-registry --skill agent-generator
Clone the repo
git clone --depth 1 https://github.com/majiayu000/claude-skill-registry

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 agent-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/majiayu000/claude-skill-registry/agent-generator/github.svg)](https://agentmods.dev/skills/majiayu000/claude-skill-registry/agent-generator)
Your own site
<a href="https://agentmods.dev/skills/majiayu000/claude-skill-registry/agent-generator"><img src="https://agentmods.dev/badge/skills/majiayu000/claude-skill-registry/agent-generator/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 agent-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/majiayu000/claude-skill-registry/agent-generator"><img src="https://agentmods.dev/badge/skills/majiayu000/claude-skill-registry/agent-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,308 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.00082 $0.03308
Opus 5 $0.00041 $0.01654
Sonnet 5 $0.00016 $0.00662
Haiku 4.5 $0.00008 $0.00331

Measured 8d ago against content hash 20ed5c7bc6e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

agent-generator 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 8d 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.

skills/agent/agent-generator/SKILL.md · 295 lines

How it starts

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

Agent Generator

概要

このSkillは、ユーザーが提供する責任範囲や対象フェーズの情報を基に、Agentのマークダウンファイルを生成する。ユーザーとの対話を通じて必要な情報を収集し、標準化されたエージェントのドキュメントを作成する。

責任範囲

このSkillは以下の範囲をカバーする:

  • 既存エージェントの確認と重複チェック
  • ユーザーとの対話による責任範囲情報の収集
  • 対象フェーズや役割の明確化
  • エージェントファイルの生成
  • プラグインアーキテクチャ規約の遵守確認
  • markdownlint検証の実施
  • ユーザーフィードバックの収集と反映

ワークフロー

フェーズ1: 既存エージェント確認

エージェント生成前に、既存のエージェントを確認し、重複を避ける。

実施内容:

  1. プラグインディレクトリ内の既存エージェントを確認する
  2. 作成予定のエージェントと同じ責任範囲のエージェントが存在しないか確認する
  3. 作成予定のエージェント内容と重複する記述が他のエージェントに含まれていないか確認する
  4. 既存エージェントで代用できる場合はユーザーに提案する
  5. 重複が避けられない場合は、どの内容を削除すべきかユーザーと確認する

確認対象:

  • プラグインディレクトリ内のagentsディレクトリ内のドキュメント

質問例:

【既存エージェント確認】
プラグインディレクトリ内の既存エージェントを確認しました。
以下のエージェントと責任範囲が重複する可能性があります:

- [既存エージェント名]: [既存エージェントの説明]

作成予定のエージェントから、これらの重複内容を除外してよろしいですか?

既存エージェントで代用可能な場合:

【確認】
作成予定のエージェントと同じ責任範囲のエージェントが既に存在します:
- [既存エージェント名]: [既存エージェントの説明]

既存エージェントで十分な場合は、新規作成は不要です。
それでも新規作成が必要ですか?必要な場合は、既存エージェントとの違いを教えてください。

フェーズ2: 情報収集

ユーザーとの対話を通じて、エージェントに必要な情報を収集する。

実施内容:

  1. エージェントの目的と役割を確認する
  2. 責任範囲内の項目を把握する
  3. 責任範囲外の項目を把握する
  4. 対象フェーズや役割を明確にする
  5. 注意事項として記述すべき内容を確認する
  6. 使用可能なツール(tools)を確認する
  7. 表示色(color)の希望を確認する
  8. ユーザーとの対話時は、明確なタイトル付き質問、複数選択肢の提示、推奨オプションの明示を行う

質問例:

【責任範囲の確認】
このエージェントが担当する責任範囲を確認します。以下のどの範囲ですか?

1. 特定フェーズ全体(要件定義、設計、実装など)【推奨】
2. 特定領域全体(セキュリティ、パフォーマンス、品質管理など)
3. 複数フェーズにまたがる横断的な役割

フェーズ3: コンテンツ生成

収集した情報を基に、エージェントファイルのコンテンツを生成する。

実施内容:

  1. フロントマター(name, description, tools, model, color)を作成する
  2. 役割セクションを記述する
  3. 責任範囲を定義する(責任範囲内と責任範囲外に分けて記述)
  4. 注意事項を記述する

フロントマターの作成:

---
name: エージェント名(ケバブケース、例: requirements-agent)
description: エージェントの簡潔な説明(1行、50文字以内)
tools: 使用可能な外部ツール(例: "*", "Read", "Write", "Bash"など)
model: inherit(通常はinherit、特定のモデルを指定する場合のみ変更)
color: 表示色(例: blue, green, redなど)
---

役割の記述:

  • エージェントの目的と役割を明確に記述する
  • 担当する責任範囲の概要を説明する
  • 簡潔に1〜2段落で記述する

責任範囲の定義:

責任範囲は「責任範囲内」と「責任範囲外」の2つのサブセクションに分けて記述する。

責任範囲内:

  • 太字の見出しと説明を組み合わせた形式で記述する
  • [項目名]: [説明]」の形式を使用する
  • 3〜5項目程度を記述する
  • エージェントが担当する具体的な範囲を明確にする

Read the full file on GitHub · 295 lines

Files

What ships with it

1 file 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. 8d ago First seen · 295 lines · 82 tokens per session scan A 20ed5c7bc6e3

Subscribe to this mod's changes

agent-generator is a skill published in the GitHub repository majiayu000/claude-skill-registry (604 stars, last pushed yesterday), licensed MIT. It adds 82 tokens to every session and 3,308 once invoked, about $0.0004 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-09-03.

Related

Other skills, from other repositories

find-skills

Use when automatically discover, evaluate, and activate community skills when local skills don't cover user needs. Includes credibility scoring and safety checks for complete OpenClaw self-sufficiency.

oyi77/1ai-skills · 39 tokens

obsidian-bases

Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.

guanyang/open-agent-hub · 63 tokens

obsidian-cli

Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme development with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. Use when the user asks to interact with their…

guanyang/open-agent-hub · 102 tokens

macos-maintenance

Periodic macOS maintenance + optimization — read-only health sweep (pending OS/brew updates, disk health + SMART, memory pressure + swap, battery condition, Time Machine recency, Spotlight indexing state, crash/panic reports, uptime, login-item load) -> ok/attention/action report -> confirmed fixes. Use when the user…

pivoshenko/pivoshenko.ai · 169 tokens

stay-within-limits

Use when long-running or parallel agent work must respect 5-hour and weekly usage limits by checking usage between waves, pausing near the cap, and resuming only when the window is clear.

BuilderIO/skills · 45 tokens

prompt-proximity-architecture

Turn an approved measurement charter, ICPs, and buyer jobs into a budget-aware prompt coverage blueprint across proximity bands, aided status, information acts, journey states, roles, locales, evidence grades, partitions, and measurement lanes. Use before prompt wording to define required, optional, and prohibited…

elvisun/newsjack · 67 tokens