本文へスキップ
Skillpedia
エージェント76k · #2631

skill-invocation-router

できること

このスキルは、誰がいつエージェントのスキルを開始できるかを決めるルールを設定し、テストします。スキルを複数の方法で実行し、明確で確認可能なルールがほしいチーム向けです。

使う場面

  • ✓人、AI、または別のスキルがスキルを開始できるかどうかを、管理したいとき。
  • ✓スキルが実行される前に、リクエストがどのスキルに一致するかをテストしたいとき。
  • ✓後で監査できる起動のルールがほしいとき。

スキルのリンク

https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/phases/13-tools-and-protocols/25-skill-invocation-and-routing/outputs/skill-invocation-router/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/phases/13-tools-and-protocols/25-skill-invocation-and-routing/outputs/skill-invocation-router/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私の請求スキルを AI が単独で開始できるかを確認して、その判断の理由も示してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、リクエストを分類し、その経路に許可されたスキルを確認して、対象外のものを除き、残りを採点します。判断と理由を返します。十分に一致するスキルがない場合は、判断を保留します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Skill invocation router

Use this skill when a host needs an auditable activation policy rather than one undifferentiated invocable flag.

  1. Read references/invocation-model.md and classify the requested channel.
  2. Review assets/host-policy.json as an example adapter configuration, not a portable standard.
  3. Run python3 scripts/simulate_invocation.py --policy assets/host-policy.json --actor ACTOR --name NAME --description DESCRIPTION --query QUERY [--explicit-name NAME] [--caller-name NAME] [--depth N] [--user-invocable true|false] [--disable-model-invocation true|false].
  4. For a human, application, skill, or harness request, require an exact discovered name and its channel-specific allowlist.
  5. For a skill caller, also require caller identity, a non-cyclic target, and a bounded composition depth.
  6. For a model or autonomous agent request, remove candidates that the actor or recognized host extensions make ineligible.
  7. Score only the remaining descriptions. Select the strongest eligible match or abstain when no eligible candidate clears the threshold.
  8. Return the JSON decision with the adapter, channel, score, and policy reason.

Activation loads instructions. It does not approve tools, filesystem changes, network access, secret use, or bundled scripts.

よくある質問

スキルを有効化すると、行動の許可も与えられますか?

いいえ。有効化は指示を読み込むだけで、ツール、ファイルの変更、ネットワークアクセス、スクリプトの許可は与えません。

どのスキルも十分に一致しない場合はどうなりますか?

ルーターは判断を保留でき、誤ってスキルが開始されることを防ぎます。

ルールは移植可能ですか?

いいえ。例のポリシーは、1つのホストの設定であり、普遍的な標準ではありません。

詳細

作者による元の説明

Design and test explicit human, implicit model or agent, programmatic application, bounded skill-composition, and harness activation policies for an Agent Skill catalog.

repo: rohitg00/ai-engineering-from-scratch

人気

GitHubのスター
76k
ランキング
#2631
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル