behavior
FreeNo executable scriptsNot checkedManage AIWG behavior bundles that bind reactive directives and toolset configurations to specific agent types
by jmagly★ 233 GitHub starsAbout this skill
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
| Pattern | Example | Action |
|---|---|---|
| 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:
Extract intent:
- Which subcommand:
list,info,apply, orremove? - Is a behavior name mentioned?
- Is an agent type mentioned (for
apply/remove)?
- Which subcommand:
Run the appropriate command:
# 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>Understand behavior structure: A behavior YAML bundle contains three sections:
directives— What the agent should always do or avoid in this operational contexttoolset— Tool permissions and configuration overrides for this contextinputs— Variable parameters the behavior accepts at apply time
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 usefor OpenClaw targets
- Source:
Report results — For
list, show name and description for each. Forinfo, show the full bundle structure. Forapply/remove, confirm the change.
Examples
Example 1: List available behaviors
User: "What behaviors are available?"
Extraction: List request, no filter
Action:
aiwg behavior list
Response: "3 behaviors available:
coding-strict— Enforce code review, no direct pushes, require tests before mergeno-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:
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:
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:
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 listto see all available)" - "Which agent type should this behavior be applied to?"
- "Did you mean to
applythis behavior or just view it withinfo?"
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
Install behavior in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the behavior skill do?
Manage AIWG behavior bundles that bind reactive directives and toolset configurations to specific agent types
How do I install the behavior skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the behavior skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic