behavior-trees
Skill by kevinpbuckley
Creates, inspects and edits Unreal Engine Behavior Tree and Blackboard assets for AI assistants. It covers nodes, decorators, key bindings and validation.
Install behavior-trees
Built from the published package, never by AI.
git clone --depth 1 https://github.com/kevinpbuckley/VibeUE /tmp/VibeUE && mkdir -p ~/.claude/skills && cp -r /tmp/VibeUE/Content/Skills/behavior-trees ~/.claude/skills/behavior-treesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/kevinpbuckley/VibeUE /tmp/VibeUE && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/VibeUE/Content/Skills/behavior-trees ~/.gemini/antigravity-cli/skills/behavior-treesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Behavior Trees & Blackboards is an agent skill for Unreal Engine. It lets an AI assistant create, inspect and edit Behavior Tree (UBehaviorTree) and Blackboard (UBlackboardData) assets through two services, BehaviorTreeService and BlackboardService. These are reachable from Python and as AI callable tools. Covered work includes composites, tasks, decorators, services, node properties, blackboard key bindings and key CRUD.
The skill teaches the concepts and gotchas behind the workflow. It advises building the blackboard first, addressing nodes by positional paths, and setting key selectors with set_node_blackboard_key. It also covers validation, tree round-trips through get_tree and build_tree, and rebuilding a sparse graph from a runtime tree. Mutators save the asset themselves. It is aimed at Unreal developers who want an assistant to build or repair AI behavior assets.
Written from the project's SKILL.md and checked against it.
What it can do
- create_blackboardCreates a UBlackboardData asset and supports key CRUD and metadata.
- create_behavior_treeCreates a Behavior Tree asset bound to a blackboard.
- add_nodeAdds composite, task and other nodes to a tree and returns the new node path.
- add_decoratorAdds decorators to nodes, including root-level decorators on the top composite.
- set_node_property_valueSets node properties and verifies the value after the save.
- set_node_blackboard_keyBinds a blackboard key to a key selector property on a node.
- validate_treeRuns a read-only sweep for orphans, broken key bindings and empty composites.
- get_treeReturns the whole behavior tree as JSON for inspection or editing.
- build_treeRebuilds a tree from edited JSON, with an option to replace the existing tree.
- find_blackboard_key_referencesLists every tree selector bound to a blackboard key before removing or renaming it.
What you need
- Unreal Engine
- Python access to the unreal module
Try asking
- Build a Behavior Tree for a guard that waits and then chases the target actor
- Add a blackboard decorator to the sequence node and bind it to TargetActor
- Validate my BT_Guard asset and list any broken key bindings
Good to know
- Writes are refused while PIE runs or while an editor is open on the asset.
- Composite logic-operator decorators cannot be recreated by build_tree and must be authored in the BT editor.
- Injected nodes from RunBehavior subtrees are read-only; edit the subtree asset instead.
- build_tree is not meant for bulk imports of thousands of nodes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: Content/Skills/behavior-trees/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to behavior-trees
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
behavior-trees: common questions
Can this skill create Behavior Trees without opening the editor?
The source says writes are refused while an editor is open on the asset. Each mutator saves the asset itself, so no separate commit step is needed.
Does it handle Blueprint BT task or decorator classes?
Blueprint node classes such as BTT_, BTD_ and BTS_ are created with the blueprints skill. Once they exist, get_available_node_types lists them and add_node can resolve them.
How do I undo a failed tree rebuild?
With bReplaceExisting set to true, the result includes a PreReplaceSnapshot of the previous tree. If the build fails midway, that snapshot can be passed back to build_tree to restore it.
How do I install behavior-trees?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is behavior-trees free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is behavior-trees safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to behavior-trees?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
