Skip to main content
skill CX Codex

msw-behaviourtree — Claude Code skill for behaviour trees

Builds MSW .behaviourtree files and refreshes a project-specific node spec. Use it to define a behaviour graph with Blackboard variables and node properties.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add MSW-Git/msw-ai-coding-plugins-official --skill msw-behaviourtree -a claude-code
Open on GitHub

What msw-behaviourtree does

The skill scans .codeblock files alongside their .mlua counterparts to identify custom nodes, UUIDs, types, and properties. It then assembles the tree graph, adds Blackboard variables, and connects node properties. Check that every referenced custom node appears in the project spec; the skill does not make up a UUID for a missing node.

The scripts/build-spec.cjs script generates .behaviourDocs/bt-spec.md. Node.js must be on PATH; if Environment/config is missing, pass --coreVersion. The skill also checks parent-child consistency and uses examples and graph rules from references/ when building the file.

What it helps with

  • build an .behaviourtree with a defined node graph
  • find UUIDs and properties for custom nodes
  • wire node properties to Blackboard variables
  • refresh the project spec after .mlua or .codeblock changes

Example prompts for the agent

  • Create a PatrolAndChase behaviour tree with the graph Sequence → [Chase, MoveTo].
  • Scan the project nodes and refresh .behaviourDocs/bt-spec.md.
  • Add a Blackboard variable named TargetEntity and connect it to the Chase node property.

How to install msw-behaviourtree

1Skills CLI (Vercel)

npx skills add MSW-Git/msw-ai-coding-plugins-official --skill msw-behaviourtree -a claude-code

2Manually: put the files in place

~/.claude/skills/msw-behaviourtree/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/msw-behaviourtree/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about msw-behaviourtree

How do I install msw-behaviourtree in Claude Code?

Run npx skills add MSW-Git/msw-ai-coding-plugins-official --skill msw-behaviourtree -a claude-code. The skill file is at ~/.claude/skills/msw-behaviourtree/SKILL.md.

What does msw-behaviourtree do?

It builds a project spec for custom nodes and creates .behaviourtree files with a node graph, Blackboard variables, and property wiring.

What does the project spec builder require?

Run scripts/build-spec.cjs with Node.js on PATH. If Environment/config is absent, provide --coreVersion.

Similar skills

SKILL.md skills catalog →

From the same set10

msw-combat-system Reference guide for the 2D combat pipeline in MSW. Helps implement attack collision, damage calculation, hit reactions, and monster AI. CX Codex +1 9,800installs msw-defaultplayer A skill for editing the DefaultPlayer model in MapleStory Worlds Maker: run speed, jump force, HP, camera and physics, all through ModelBuilder. Handy when the character needs tuning. CX Codex +1 9,800installs msw-scripting Guides authoring .mlua scripts for MapleStory Worlds, covering annotations, execution spaces, and playtesting. Useful when building MSW logic and debugging runtime issues. CX Codex +1 9,900installs msw-general Foundation skill for MapleStory Worlds work: shared tools, platform rules and validated .model templates. Every other MSW skill builds on it. CX Codex +1 9,900installs msw-painter Draws a pixel-art sprite when msw-search finds no suitable RUID, then helps register the PNG as a resource. CX Codex +1 9,700installs msw-sprite-ruid Rules for assigning RUID to SpriteRendererComponent.SpriteRUID and SpriteGUIRendererComponent.ImageRUID, plus the thumbnail:// prefix for icons. CX Codex +1 9,700installs msw-ui-system Guides coding agents through building MapleStory Worlds interfaces: generates .ui layouts, configures UI components, and handles .mlua UUID bindings. CX Codex +1 9,700installs msw-planning Turn a MapleStory Worlds game idea into a scoped first build and a Markdown plan. The skill can also pick up an existing project and guide its next milestone. CX Codex +1 7,200installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor