Builtin Agent Skillのロゴ

Builtin Agent Skill

コミュニティ人気
samugit83
builtin-agent-skill

組み込みAIエージェントスキル(ssrf、xxe、rceなどの攻撃手法)を追加します。RedAmonにハードコードされ、Intent Routerによる分類、エージェントプロンプトへの挿入、プロジェクトごとの切り替え、チャットドロワーへのバッジ表示に対応します。agenticとwebappにまたがる9つのレイヤーがあり、そのうち2つはエラーが表示されずに失敗します。トリガー:組み込み攻撃スキルの追加または編集、agentic/prompts/<skill_id>_prompts.pyの新規作成、agentic/prompts/classification.py、agentic/prompts/__init__.pyの_inject_builtin_skill_workflow、agentic/state.pyのKNOWN_ATTACK_PATHS、またはwebappのAttackSkillsSection / AIAssistantDrawerの編集。

Add to TypingMind

概要

公開者samugit83
リポジトリredamon
スキル名builtin-agent-skill
スター
2.5K
フォーク
504
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

When to Use

  • Adding a first-class attack technique the agent classifies and follows a workflow for.

For a user-uploadable workflow, use add-community-skill instead. For a tool the agent calls, use agentic-tool-integration. For per-skill tunable defaults, use project-settings-cascade.


Critical Rules

  • ALWAYS add the skill id to KNOWN_ATTACK_PATHS in agentic/state.py. It is the Pydantic validator's allowlist; miss it and the classifier's output is rejected at runtime even though every other layer is wired.
  • NEVER skip layers 8 and 9 (the chat-drawer layers). They live in webapp and produce no error when forgotten: the skill classifies and badges, but the drawer tooltip and one-click example prompts are silently missing. Layer 8 = BUILT_IN_SKILLS in attack-skills/available/route.ts; Layer 9 = a SESubGroup in suggestionData.ts.
  • NEVER let classification keywords overlap an existing skill. Every enabled built-in competes for the same user message; overlapping keywords (e.g. saying "SQL" in an SSRF section) make both skills mis-route. Disambiguate in the "Key distinction" line of the section in classification.py.
  • ALWAYS gate the workflow on the required tool inside _inject_builtin_skill_workflow() (agentic/prompts/init.py:509): and "<tool>" in allowed_tools. Without the guard the agent gets instructions for a tool TOOL_PHASE_MAP blocks in that phase.
  • NEVER assume existing projects inherit the new skill. builtIn is a strict has-key check; existing projects need a jsonb update to attackSkillConfig.
  • ALWAYS add a registry entry for a per-skill tunable that became a Project column in recon_settings/registry.yaml. A test walking Prisma.ProjectScalarFieldEnum fails until every column has one. Draft it with python3 tooling/scripts/extract_recon_registry.py, edit it, then python3 recon_settings/build.py. An attack-skill tunable is ordinary mcp: settable tuning now, bounded by its registry entry and gated at scan start by roeForbiddenCategories, roeForbiddenTools and roeAllowDos rather than by being unreachable. Give it traffic: active so it joins the queued-job fingerprint, and roe_capped: true if its unit is rps.
  • Pick the snake_case id once and use that exact literal in all 9 layers. grep -rn "<skill_id>" webapp/src agentic must show it everywhere before you rebuild (an existing id like cve_exploit spans ~38 files).

The nine layers (all required end to end)

#LayerFile
1Workflow promptagentic/prompts/<skill_id>_prompts.py
2Package re-export + __all__agentic/prompts/init.py
3Phase injection branch_inject_builtin_skill_workflow() (same file)
4Classification + validatorclassification.py _BUILTIN_SKILL_MAP and KNOWN_ATTACK_PATHS in state.py
5Settings defaultATTACK_SKILL_CONFIG.builtIn in agentic/project_settings.py
6Prisma defaultattackSkillConfig JSON in schema.prisma
7UI toggle + badgeAttackSkillsSection.tsx + phaseConfig.ts
8Drawer tooltipattack-skills/available/route.ts BUILT_IN_SKILLS
9Drawer example promptssuggestionData.ts

Commands

bash
docker compose build agent && docker compose up -d agent   # agentic/ is baked
docker compose exec webapp npx prisma db push              # NEVER prisma migrate
# verify the id is wired everywhere before rebuild:
grep -rn "<skill_id>" webapp/src agentic

Resources

よくある質問

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

組み込みAIエージェントスキル(ssrf、xxe、rceなどの攻撃手法)を追加します。RedAmonにハードコードされ、Intent Routerによる分類、エージェントプロンプトへの挿入、プロジェクトごとの切り替え、チャットドロワーへのバッジ表示に対応します。agenticとwebappにまたがる9つのレイヤーがあり、そのうち2つはエラーが表示されずに失敗します。トリガー:組み込み攻撃スキルの追加または編集、agentic/prompts/<skill_id>_prompts.pyの新規作成、agentic/prompts/classification.py、agentic/prompts/__init__.pyの_inject_builtin_skill_workflow、agentic/state.pyのKNOWN_ATTACK_PATHS、またはwebappのAttackSkillsSection / AIAssistantDrawerの編集。

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

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/samugit83/redamon/tree/master/skills/builtin-agent-skillを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

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

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

Builtin Agent Skillで使えるAIモデルの数に制限はありますか?

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

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

はい。samugit83がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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