# Behavior Trees Skill

> Behavior tree design and implementation for robot decision making

- Skill: `majiayu000/behavior-trees-skill` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/behavior-trees-skill`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/behavior-trees-skill/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/behavior-trees-skill

---


# Behavior Trees Skill

## Overview

Expert skill for designing and implementing behavior trees for robot decision making, task sequencing, and reactive behaviors.

## Capabilities

- Design behavior trees for complex robot behaviors
- Configure BehaviorTree.CPP nodes and trees
- Implement custom action, condition, and decorator nodes
- Set up blackboard for state sharing
- Configure subtrees and tree switching
- Implement reactive behaviors and fallbacks
- Debug behavior tree execution with Groot
- Set up behavior tree logging and analysis
- Configure timeout and recovery behaviors
- Implement parallel and sequence nodes

## Target Processes

- nav2-navigation-setup.js
- autonomous-exploration.js
- multi-robot-coordination.js
- hri-interface.js

## Dependencies

- BehaviorTree.CPP
- Groot
- nav2_behavior_tree

## Usage Context

This skill is invoked when processes require complex decision-making logic, task sequencing, or reactive robot behaviors.

## Output Artifacts

- Behavior tree XML definitions
- Custom BT node implementations
- Blackboard configurations
- Groot visualization setups
- Recovery behavior designs
- BT logging configurations

