msw-behaviourtree

Generate MSW .behaviourtree files with authoring specs and validation.

33|2|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/MSW-Git/msw-ai-coding-plugins-official --skill msw-behaviourtree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: msw-behaviourtree
Source: https://github.com/MSW-Git/msw-ai-coding-plugins-official/tree/main/plugins/msw-maker-base-skill/skills/msw-behaviourtree
Command: npx skills add https://github.com/MSW-Git/msw-ai-coding-plugins-official --skill msw-behaviourtree

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires node, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the end-to-end creation of MSW .behaviourtree files, providing both project-specific authoring specifications and the actual tree generation.

Core Features & Use Cases

  • Authoring Spec Generation: Builds and maintains the project-specific authoring spec (bt-spec.md).
  • Tree Generation: Generates the full tree including nodes, Blackboard variables, node properties, and self-validation.
  • Use Case: When you need to create a new behavior tree for a MapleStory Worlds project, use this skill to automatically generate the spec and the tree, ensuring consistency and completeness.

Quick Start

Run the build-spec script with the project root as the argument: node scripts/build-spec.cjs --projectRoot "<MSW project root>"

Frequently Asked Questions about msw-behaviourtree

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a behaviour tree for a MapleStory Worlds project?

To generate a behaviour tree for a MapleStory Worlds project, use an AI-assisted Node.js script to automate the creation of MSW .behaviourtree files, including node properties and Blackboard variables. It ensures consistency by applying project-specific specifications.

What is an MSW .behaviourtree file and when do I need to create one?

An MSW .behaviourtree file defines structured behavior logic for MapleStory Worlds projects. You need to create one when designing complex AI behaviors, requiring node creation, Blackboard variables, and self-validation to ensure the tree's completeness.

Do I need Node.js to author MSW .behaviourtree files?

Yes, you need Node.js to execute the scripts required for AI-assisted MSW .behaviourtree file authoring. The Node.js environment runs the build-spec script which generates the project-specific authoring spec and the actual tree files.

How do I build an authoring spec for MSW behaviour trees?

You build an authoring spec for MSW behaviour trees by running the build-spec Node.js script with your project root as the argument. This generates a bt-spec.md file that defines project-specific specifications for consistent tree generation.

Can I validate node properties and Blackboard variables in a behaviour tree?

Yes, you can validate node properties and Blackboard variables in a behaviour tree through an automated self-validation process. This ensures the generated MSW .behaviourtree files maintain structural completeness and adhere to the defined authoring spec.