Agent Skill Authorのロゴ

Agent Skill Author

組織
matlab
agent-skill-author

Use this skill when the user wants to author, design, scope, or refine an Agent Skill (a SKILL.md file). Trigger phrases include "build a new skill", "design an agent skill", "scope a SKILL.md", "how should I structure this skill", "write a skill for X", "my skill isn't working well", or any request to improve an existing SKILL.md. Walks the user through an empirical, test-first process — probe the agent for real failures, design only for genuine knowledge gaps, iterate against runnable examples, and verify across models.

概要

公開者matlab
リポジトリagent-skills-playground
スキル名agent-skill-author
スター
179
フォーク
32
同梱ファイル
1
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    matlabがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルAgent Skill AuthorをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/matlab/agent-skills-playground/tree/main/demos/engineering-an-agent-skill/skills/agent-skill-author
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/matlab/agent-skills-playground.git /tmp/agent-skills-playground
mkdir -p .claude/skills
cp -r /tmp/agent-skills-playground/demos/engineering-an-agent-skill/skills/agent-skill-author .claude/skills/agent-skill-author
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAgent Skill Authorを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にAgent Skill Authorを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Agent Skill Authorは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Authoring an Agent Skill

You are helping a user author or improve an Agent Skill. Skills are markdown files an agent loads to handle domain-specific work it would otherwise get wrong. A skill is worth writing only when the failure is consistent, subtle, and not fixable with a better prompt.

Follow the five-stage process below. Do not skip stages.

Stage 1: Probe for real failures

Before designing anything, find out what the agent actually gets wrong.

  • Ask the user for 5 to 10 representative prompts that real users would send.
  • For each prompt, run the agent with no skill loaded and collect the generated code or output.
  • Run the output against real data, real APIs, or a real session. Note exactly what fails: missing functions, wrong superclass names, swallowed errors, wrong default arguments, hallucinated APIs.
  • Categorize each failure: prompt-fixable, model-fixable (try another model), or knowledge-gap.

Only knowledge-gap failures justify a skill. If a better prompt fixes it, use a better prompt.

Stage 2: Identify the real knowledge gaps

Group the failures from Stage 1 by root cause. Common categories:

  • Pattern-matched from another language. Agent invents a function because the same idiom exists in Python or Java (the blog's example: an ormdelete() that doesn't exist in MATLAB).
  • Wrong namespace or class path. Agent gets the verb right but the path wrong (database.orm.Mappable vs. database.orm.mixin.Mappable).
  • Missing guard or precondition. Agent omits a check the runtime requires (a nargin == 0 guard for objects an ORM creates empty).
  • Wrong defaults or argument order. Agent picks plausible-but-wrong defaults the documentation doesn't make obvious.
  • Drift between major API versions. Agent uses an older or newer signature than the one the user actually has.

For each category, write down the specific rule the skill needs to teach. One rule per failure.

Stage 3: Design the skill

Apply these structural rules. The agent may not read your whole skill, so structure matters.

  1. Frontmatter description is a trigger spec, not a summary. It should describe when to invoke the skill, with concrete trigger phrases the agent will match on. The agent reads this to decide whether to load you. Avoid : (colon followed by space) inside the description value — strict YAML parsers will read it as a nested mapping and fail to load the skill. Use an em dash or comma instead.
  2. Most critical rules first. Put the rules that fix the most failures at the top of the body. Don't bury the load-bearing rule.
  3. Progressive disclosure. Common cases up front. Edge cases, exceptions, and variant APIs in later sections or in references/.
  4. One topic per section. Use H2 (##) per topic. Consistent section order across your skill family makes it predictable for the agent.
  5. Show, don't tell. Where a rule is about syntax, include a 2-to-5 line code example with the failing pattern and the corrected pattern side by side.
  6. Leave out what the agent gets right. If your probing showed the agent handles addComponent correctly, don't document addComponent. Skills are compensators for failure, not API reference.
  7. Name common pitfalls explicitly. A "Common pitfalls" section near the bottom for known gotchas the user might hit even with the skill loaded.

Suggested section order:

## When this skill applies            (1-2 paragraphs)
## Core rules                          (the load-bearing rules, in priority order)
## API patterns                        (code examples per category)
## Common pitfalls                     (gotchas, including known limitations)
## See also                            (links to references/ and related skills)

Use the template at templates/SKILL-template.md as a starting point.

Stage 4: Iterate against runnable examples

Run the same Stage 1 prompts with the skill loaded and the failures should drop.

  • For each remaining failure, decide: tighten the skill, accept the failure (with a documented pitfall), or escalate (the failure isn't a skill problem).
  • Test across at least two models if the user expects cross-model use. Phrasing that works for one model can be ignored by another.
  • Read every generated output. Don't trust the model to self-report success.

Keep a short test log: prompt, model, pre-skill result, post-skill result. The log is the evidence that the skill works; without it, you're guessing.

Stage 5: Maintain

Skills aren't done. Models change, APIs change, and yesterday's failure becomes today's strength (and vice versa).

  • Revisit the test log when the user's product version changes, when a new model ships, or when users report fresh failures.
  • Remove rules the agent now handles correctly without help. A bloated skill loses attention budget.
  • When a rule needs more depth than fits, move it to references/ and link from the main body.

Anti-patterns

  • API encyclopedia. Writing down everything the API does. Skills are not docs.
  • Theoretical gaps. Writing rules for failures you assumed without ever running the agent.
  • Tone or style guidance only. Telling the agent to "be helpful and accurate" with no domain-specific content.
  • Burying the lede. Twenty paragraphs of background before the rule that prevents the bug.
  • One mega-skill. A single skill covering five unrelated domains. Split it.
  • Hallucinated function names. Trusting your own memory of the API when writing examples; run them.

Decision flow

When the user asks for help, follow this order:

  1. Have they probed the agent for real failures yet? If not, walk them through Stage 1 before discussing design.
  2. Do they have a list of specific failures with root causes? If not, do Stage 2 with them now.
  3. Are they writing a new skill or improving an existing one? If improving, read the current SKILL.md, then identify which rules are load-bearing, which are dead weight, and which are missing.
  4. Walk through Stages 3 and 4 explicitly. Don't draft a full SKILL.md until the user has a concrete rule list.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Agent Skill Author」では何ができますか?

Use this skill when the user wants to author, design, scope, or refine an Agent Skill (a SKILL.md file). Trigger phrases include "build a new skill", "design an agent skill", "scope a SKILL.md", "how should I structure this skill", "write a skill for X", "my skill isn't working well", or any request to improve an existing SKILL.md. Walks the user through an empirical, test-first process — probe the agent for real failures, design only for genuine knowledge gaps, iterate against runnable examples, and verify across models.

TypingMindでAgent Skill Authorを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Agent Skill Authorはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAgent Skill Authorをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/matlab/agent-skills-playground/tree/main/demos/engineering-an-agent-skill/skills/agent-skill-authorを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Agent Skill Authorを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Agent Skill Authorは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAgent Skill Authorを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Agent Skill Author」は無料ですか?

matlabがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇