Behaviorのロゴ

Behavior

コミュニティ
jmagly
behavior

Manage AIWG behavior bundles that bind reactive directives and toolset configurations to specific agent types

概要

公開者jmagly
リポジトリaiwg
スキル名behavior
スター
225
フォーク
34
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Behavior

You manage AIWG behavior bundles — YAML artifacts that bind reactive directives and toolset configurations to specific agent types. Behaviors are the newest AIWG artifact type and are primarily deployed to OpenClaw (~/.openclaw/behaviors/).

Triggers

Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):

  • "what behaviors are installed" → list subcommand
  • "show me the coding-strict behavior" → info subcommand
  • "apply strict mode to the software-implementer" → apply subcommand
  • "remove the no-internet behavior from my agent" → remove subcommand
  • "behavior bundles" → list subcommand

Trigger Patterns Reference

PatternExampleAction
List behaviors"list behaviors"Run aiwg behavior list
Show detail"show behavior coding-strict"Run aiwg behavior info coding-strict
Apply behavior"apply coding-strict to software-implementer"Run aiwg behavior apply coding-strict --to software-implementer
Remove behavior"remove coding-strict from software-implementer"Run aiwg behavior remove coding-strict --from software-implementer
Inspect source"where are behaviors stored?"Check agentic/code/*/behaviors/ and ~/.openclaw/behaviors/

Behavior

When triggered:

  1. Extract intent:

    • Which subcommand: list, info, apply, or remove?
    • Is a behavior name mentioned?
    • Is an agent type mentioned (for apply/remove)?
  2. Run the appropriate command:

    bash
    # List all available behaviors
    aiwg behavior list
    
    # Show details for a specific behavior
    aiwg behavior info <name>
    
    # Apply a behavior to an agent type
    aiwg behavior apply <name> --to <agent-type>
    
    # Remove a behavior from an agent type
    aiwg behavior remove <name> --from <agent-type>
  3. Understand behavior structure: A behavior YAML bundle contains three sections:

    • directives — What the agent should always do or avoid in this operational context
    • toolset — Tool permissions and configuration overrides for this context
    • inputs — Variable parameters the behavior accepts at apply time
  4. Know the storage locations:

    • Source: agentic/code/*/behaviors/ (version-controlled, ships with framework)
    • Deployed: ~/.openclaw/behaviors/ (active, read by OpenClaw at runtime)
    • Deployment happens automatically during aiwg use for OpenClaw targets
  5. Report results — For list, show name and description for each. For info, show the full bundle structure. For apply/remove, confirm the change.

Examples

Example 1: List available behaviors

User: "What behaviors are available?"

Extraction: List request, no filter

Action:

bash
aiwg behavior list

Response: "3 behaviors available:

  • coding-strict — Enforce code review, no direct pushes, require tests before merge
  • no-external-calls — Block all outbound HTTP; toolset restricted to Read/Write/Edit/Bash(local)
  • audit-mode — Read-only directives, all writes logged to .aiwg/audit/, no destructive operations"

Example 2: Inspect a specific behavior

User: "Show me what coding-strict does"

Extraction: Info request for coding-strict

Action:

bash
aiwg behavior info coding-strict

Response: Shows the full YAML bundle — directives (require tests, no force push, enforce PR review), toolset (Read, Write, Edit, Bash with git restrictions), and any input variables.


Example 3: Apply a behavior

User: "Apply no-external-calls to the software-implementer agent"

Extraction: Apply no-external-calls to software-implementer

Action:

bash
aiwg behavior apply no-external-calls --to software-implementer

Response: "Applied no-external-calls to software-implementer. Deployed to ~/.openclaw/behaviors/software-implementer/no-external-calls.yaml. Outbound HTTP is now blocked for that agent type."


Example 4: Remove a behavior

User: "Remove coding-strict from the test-engineer"

Extraction: Remove coding-strict from test-engineer

Action:

bash
aiwg behavior remove coding-strict --from test-engineer

Response: "Removed coding-strict from test-engineer. The behavior file has been deleted from ~/.openclaw/behaviors/test-engineer/."

Clarification Prompts

If the user's intent is ambiguous:

  • "Which behavior would you like to inspect? (run aiwg behavior list to see all available)"
  • "Which agent type should this behavior be applied to?"
  • "Did you mean to apply this behavior or just view it with info?"

References

  • @$AIWG_ROOT/src/cli/handlers/daemon.ts — Behavior command handler
  • @$AIWG_ROOT/docs/cli-reference.md — CLI reference
  • @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/agent-deployment.md — Agent deployment rule
  • @$AIWG_ROOT/docs/development/aiwg-development-guide.md — Source vs output boundary (behaviors are source artifacts in agentic/code/*/behaviors/)

よくある質問

AIスキル「Behavior」では何ができますか?

Manage AIWG behavior bundles that bind reactive directives and toolset configurations to specific agent types

TypingMindでBehaviorを使うメリットは何ですか?

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

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

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

Behaviorを使えるAIモデルはどれですか?

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

Behaviorは何個のAIモデルで使えますか?

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

AIスキル「Behavior」は無料ですか?

はい。jmaglyがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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