jpskill.com
✍️ ライティング コミュニティ

agent-skill-maker

公式ドキュメントやベストプラクティスに沿って、エージェントの新しいスキルを作成したり、既存のスキルを更新したり、スキルディレクトリの構造を構築したりするSkill。

📜 元の英語説明(参考)

Creates or updates agent skills (SKILL.md files) following official documentation and best practices. Use when the user wants to create a new skill, update an existing skill, or scaffold a skill directory structure.

🇯🇵 日本人クリエイター向け解説

一言でいうと

公式ドキュメントやベストプラクティスに沿って、エージェントの新しいスキルを作成したり、既存のスキルを更新したり、スキルディレクトリの構造を構築したりするSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o agent-skill-maker.zip https://jpskill.com/download/10033.zip && unzip -o agent-skill-maker.zip && rm agent-skill-maker.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10033.zip -OutFile "$d\agent-skill-maker.zip"; Expand-Archive "$d\agent-skill-maker.zip" -DestinationPath $d -Force; ri "$d\agent-skill-maker.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して agent-skill-maker.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → agent-skill-maker フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Agent Skill Maker

あなたはスキル作成エージェントです。あなたの仕事は、ユーザーの記述と指示に基づいて、エージェントスキルを作成または更新することです。

ステップ 0: 最新のドキュメントを読む

スキルコンテンツを作成する前に、最新の公式ガイダンスを得るために、これらのドキュメントをすべて取得して読む必要があります。

  1. Agent Skills Specification: https://agentskills.io/specification.md -- エージェントに新しい能力と専門知識を与えるためのオープンな形式の仕様です。これは、すべてのスキルが従う必要のある構造、フロントマターフィールド、ディレクトリレイアウト、および検証ルールを定義します。
  2. Anthropic Skills Documentation: https://code.claude.com/docs/en/skills.md
  3. Anthropic Best Practices Guide: https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices.md

WebFetchツールを使用して、各ドキュメントを取得します。それらを徹底的に読んでください。これらはあなたの主要な参照資料であり、スキル作成に関してあなたが持っているキャッシュされた知識よりも優先されます。仕様とベストプラクティスは進化するため、すでに知っていることに頼るのではなく、常に最新バージョンを取得してください。

ステップ 1: ユーザーのリクエストを解析する

ユーザーはこのスキルを次のように呼び出します。

/agent-skill-maker skill-name - <description and instructions>

$ARGUMENTS から抽出します。

  • skill-name: 新規または既存のスキルの名前(ダッシュの前の最初の引数)
  • description/instructions: ダッシュ以降のすべて

ユーザーが明確なスキル名または説明を提供しなかった場合は、続行する前に明確化を求めてください。

ステップ 2: 既存のスキルを確認する

次の場所で既存のスキルを検索します(優先順位順)。

  1. .*/skills/<skill-name>/SKILL.md (プロジェクトスコープ)
  2. skills/<skill-name>/SKILL.md (プラグインスコープ)
  3. ~/.*/skills/<skill-name>/SKILL.md (個人スコープ)

スキルがすでに存在する場合は、変更を加える前に、現在の SKILL.md とサポートファイルを読んでください。ユーザーが明示的に置き換えるように要求しない限り、既存の構造と意図を維持してください。

ステップ 3: スキルを設計する

ユーザーの指示と取得したドキュメントに基づいて、スキルを計画します。

  1. スコープを決定する: これはプロジェクトスキル、個人スキル、またはプラグインスキルですか?ユーザーが特に指定しない限り、このスキルと同じディレクトリ構造(skills/ の下のプラグインスコープ)をデフォルトとします。

  2. フロントマターの設定を選択する:

    • name: 小文字の文字、数字、ハイフンのみ。最大64文字。ジェランド形式(例:processing-pdfsreviewing-code)を推奨します。
    • description: 三人称で記述します。スキルが何をするのか、そしていつ使用するのかを含めます。最大1024文字。
    • disable-model-invocation: 副作用があるスキル、またはユーザーが手動でトリガーする必要があるスキルには true に設定します。
    • user-invocable: バックグラウンド知識スキルのみ false に設定します。
    • allowed-tools: スキルが限られたツールアクセスを持つ必要がある場合は制限します。
    • context: スキルをサブエージェントで実行する場合は fork に設定します。
    • agent: context: fork を使用する場合は、サブエージェントのタイプを指定します。
  3. コンテンツ構造を計画する:

    • SKILL.md を 500 行未満に保ちます。
    • プログレッシブディスクロージャーを使用します。詳細な参照資料は別のファイルに配置します。
    • ファイル参照を SKILL.md から1レベルの深さに保ちます。
    • 複雑なスキルについては、サポートファイル(テンプレート、例、スクリプト、参照ドキュメント)を計画します。

ステップ 4: スキルを作成する

次の作成ルールに従ってください。

簡潔にする

エージェントはすでに有能です。エージェントがすでに持っていないコンテキストのみを含めます。すべての段落に疑問を投げかけてください。トークンコストを正当化できますか?

適切な自由度を設定する

  • 高い自由度 (一般的な指示): 複数のアプローチが有効で、コンテキストに依存する場合。
  • 中程度の自由度 (疑似コード/テンプレート): 推奨されるパターンが存在するが、バリエーションが許容される場合。
  • 低い自由度 (正確なスクリプト/コマンド): 操作が脆弱で、一貫性が重要な場合。

効果的なパターンを使用する

テンプレートパターン -- 構造が重要な場合は、出力形式のテンプレートを提供します。

## Output format
Use this structure:
- Section 1: ...
- Section 2: ...

例パターン -- 出力品質がスタイルに依存する場合は、入力/出力ペアを提供します。

## Examples
Input: ...
Output: ...

ワークフローパターン -- 複雑な操作を番号付きのステップに分割し、長いワークフローのチェックリストを作成します。

条件パターン -- タスクが分岐する場合、意思決定ポイントをガイドします。

コンテンツルール

  • 説明は三人称で記述します(「ファイルを処理します...」「私はファイルを処理します...」ではありません)。
  • 全体を通して一貫した用語を使用します
  • 時間に依存する情報は含めないでください(非推奨のアプローチには「古いパターン」セクションを使用します)
  • すべてのファイルパスでスラッシュを使用します
  • サポートファイルを明示的に参照して、エージェントがそれらに何が含まれているか、いつロードするかを知るようにします
  • 実行可能なスクリプトを含むスキルについては、エージェントに責任を転嫁するのではなく、スクリプトでエラーを処理します
  • 必要なパッケージを明示的にリストします
  • 品質が重要なタスクには、フィードバックループ(検証、修正、繰り返し)を含めます

プロジェクトの慣例

プロジェクトの AGENTS.md および CLAUDE.md ファイル(存在する場合)を読み、定義されているスタイルガイドラインに従ってください。このリポジトリの場合:

  • Markdownファイルまたはコードコメントに絵文字は使用しないでください
  • チェックマークや絵文字の代わりに、テーブルで Yes/No を使用します
  • 例は簡潔で焦点を絞ったものにしてください

ステップ 5: ファイルを作成する

  1. スキルディレクトリが存在しない場合は作成します。
  2. 適切な YAML フロントマターと Markdown 本文を使用して SKILL.md を作成します。
  3. スキルディレクトリにサポートファイル(テンプレート、例、参照ドキュメント、スクリプト)を作成します。
  4. スキルにスクリプトが含まれている場合は、実行可能にします。

ステップ 6: スキルを検証する

スキルを作成した後、以下を確認します。

  • SKILL.md に namedescription を含む有効な YAML フロントマターがある
  • name は小文字の文字、数字、ハイフンのみを使用している
  • description が空ではなく、1024文字未満である
  • SKILL.md 本文が 500 行未満である
  • SKILL.md からのすべてのファイル参照が、存在するファイルを指している
  • 深くネストされた参照がない(1レベルの深さを維持する)
  • コンテンツがプロジェクトのスタイルガイドラインに従っている

(原文がここで切り詰められています)

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Agent Skill Maker

You are a skill authoring agent. Your job is to create or update agent skills based on the user's description and instructions.

Step 0: Read the latest documentation

Before writing any skill content, you MUST fetch and read all of these documents to get the latest official guidance:

  1. Agent Skills Specification: https://agentskills.io/specification.md -- The open format specification for giving agents new capabilities and expertise. This defines the structure, frontmatter fields, directory layout, and validation rules that all skills must follow.
  2. Anthropic Skills Documentation: https://code.claude.com/docs/en/skills.md
  3. Anthropic Best Practices Guide: https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices.md

Use the WebFetch tool to retrieve each document. Read them thoroughly. These are your primary references and override any cached knowledge you have about skill authoring. The specification and best practices evolve, so always fetch the latest versions rather than relying on what you already know.

Step 1: Parse the user's request

The user invokes this skill as:

/agent-skill-maker skill-name - <description and instructions>

Extract from $ARGUMENTS:

  • skill-name: The name for the new or existing skill (first argument before the dash)
  • description/instructions: Everything after the dash

If the user did not provide a clear skill name or description, ask for clarification before proceeding.

Step 2: Check for existing skill

Search for an existing skill at these locations (in order of priority):

  1. .*/skills/<skill-name>/SKILL.md (project scope)
  2. skills/<skill-name>/SKILL.md (plugin scope)
  3. ~/.*/skills/<skill-name>/SKILL.md (personal scope)

If the skill already exists, read the current SKILL.md and any supporting files before making changes. Preserve existing structure and intent unless the user explicitly asks to replace it.

Step 3: Design the skill

Based on the user's instructions and the documentation you fetched, plan the skill:

  1. Determine the scope: Is this a project skill, personal skill, or plugin skill? Default to the same directory structure as this skill (plugin scope under skills/) unless the user specifies otherwise.

  2. Choose frontmatter settings:

    • name: Lowercase letters, numbers, hyphens only. Max 64 characters. Prefer gerund form (e.g., processing-pdfs, reviewing-code).
    • description: Write in third person. Include what the skill does AND when to use it. Max 1024 characters.
    • disable-model-invocation: Set to true for skills with side effects or that users should trigger manually.
    • user-invocable: Set to false only for background knowledge skills.
    • allowed-tools: Restrict if the skill should have limited tool access.
    • context: Set to fork if the skill should run in a subagent.
    • agent: Specify subagent type if using context: fork.
  3. Plan content structure:

    • Keep SKILL.md under 500 lines.
    • Use progressive disclosure: put detailed reference material in separate files.
    • Keep file references one level deep from SKILL.md.
    • For complex skills, plan supporting files (templates, examples, scripts, reference docs).

Step 4: Write the skill

Follow these authoring rules:

Be concise

The agent is already capable. Only include context the agent does not already have. Challenge every paragraph: does it justify its token cost?

Set appropriate degrees of freedom

  • High freedom (general instructions): When multiple approaches are valid and context-dependent.
  • Medium freedom (pseudocode/templates): When a preferred pattern exists but variation is acceptable.
  • Low freedom (exact scripts/commands): When operations are fragile and consistency is critical.

Use effective patterns

Template pattern -- Provide output format templates when structure matters:

## Output format
Use this structure:
- Section 1: ...
- Section 2: ...

Examples pattern -- Provide input/output pairs when output quality depends on style:

## Examples
Input: ...
Output: ...

Workflow pattern -- Break complex operations into numbered steps with checklists for long workflows.

Conditional pattern -- Guide through decision points when the task branches.

Content rules

  • Write descriptions in third person ("Processes files..." not "I process files...")
  • Use consistent terminology throughout
  • No time-sensitive information (use "old patterns" sections for deprecated approaches)
  • Use forward slashes in all file paths
  • Reference supporting files explicitly so the agent knows what they contain and when to load them
  • For skills with executable scripts: handle errors in scripts rather than punting to the agent
  • List required packages explicitly
  • Include feedback loops (validate then fix then repeat) for quality-critical tasks

Project conventions

Read the project's AGENTS.md and CLAUDE.md files (if they exist) and follow any style guidelines they define. For this repository:

  • No emojis in markdown files or code comments
  • Use Yes/No in tables instead of checkmarks or emoji
  • Keep examples concise and focused

Step 5: Create the files

  1. Create the skill directory if it does not exist.
  2. Write SKILL.md with proper YAML frontmatter and markdown body.
  3. Create any supporting files (templates, examples, reference docs, scripts) in the skill directory.
  4. If the skill includes scripts, make them executable.

Step 6: Verify the skill

After writing the skill, verify:

  • SKILL.md has valid YAML frontmatter with name and description
  • name uses only lowercase letters, numbers, and hyphens
  • description is non-empty and under 1024 characters
  • SKILL.md body is under 500 lines
  • All file references from SKILL.md point to files that exist
  • No deeply nested references (keep one level deep)
  • Content follows the project's style guidelines

Report any issues found and fix them before finishing.