[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KR70X9BNJS37TV4KGNR2WW":3,"skill-same:01M6KR70X9BNJS37TV4KGNR2WW":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M6KR70X9BNJS37TV4KGNR2WW","beehave",null,"Use when using the Beehave addon — pure-GDScript behavior trees with composites, decorators, leaves, a blackboard, and a visual runtime debugger","jame581\u002FGodotPrompter","jame581","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F21112138?v=4","01M6KR3KEQ9Z30WVJRR2E2ZVXE","Jan Mesarč","01M6KR3KJVRMPDSMASQPBCBVK3",964,"MIT","https:\u002F\u002Fgithub.com\u002Fjame581\u002FGodotPrompter\u002Fblob\u002Fmaster\u002Fskills\u002Fbeehave\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30],"trees","decorators","runtime","gdscript","composites","use","visual","with","behavior","debugger","when","runtime debugger","2026-11-10 10:12:30",false,"---\nname: beehave\ndescription: Use when using the Beehave addon — pure-GDScript behavior trees with composites, decorators, leaves, a blackboard, and a visual runtime debugger\n---\n\n# Beehave\n\n> **Related skills:** **ai-navigation** for the movement leaves drive, **state-machine** for core-engine FSM, **limboai** for a heavier C++ BT+HSM alternative, **godot-brainstorming** for choosing an AI approach.\n\n> **Addon:** Beehave · version `v2.9.3` · Godot 4.1+ (README: 2.9.x is the 4.1.x line; CI runs 4.5.1, 4.6.3 and 4.7; 4.1–4.4 untested by CI) · MIT · source: https:\u002F\u002Fgithub.com\u002Fbitbrain\u002Fbeehave · written in GDScript (no official C# API — this skill is GDScript-only by design).\n\n> **Godot 4.8:** not yet confirmed by the addon. Its CI stops at 4.7, and no open issue mentions 4.8 (checked 2026-11-12).\n\n---\n\n## 1. When to use Beehave\n\n| Approach | Best for |\n|---|---|\n| Core-engine FSM (`state-machine` skill) | Simple agents, \u003C 5 states, no addon |\n| **Beehave** (GDScript addon) | Lightweight BT, GDScript-only projects, fast iteration |\n| **LimboAI** | BT **and** HSM together, visual editor, C++ performance, C# support (module build) |\n\nChoose Beehave when your project is GDScript-only, you want a behavior tree without a custom engine build, and you value a simple node-in-scene-tree authoring workflow. Beehave trees live entirely in the scene tree — every composite, decorator, and leaf is a regular `Node` child. For a heavier C++\u002FC# solution with HSM integration, use the `limboai` skill instead. For plain state machines without a BT, use the built-in `state-machine` skill.\n\n**C# note:** Beehave has no official C# API (zero `.cs` files in `addons\u002Fbeehave\u002F`). From C# you can call the GDScript API via Godot cross-language interop (`GetNode\u003CNode>(...).Call(\"tick\", actor, blackboard)`), but Beehave provides no typed C# classes.\n\n---\n\n## 2. Install & enable\n\n1. **Godot AssetLib** → search \"Beehave\" → Download → Reload project.  \n   Or copy the `addons\u002Fbeehave\u002F` folder from the [GitHub release](https:\u002F\u002Fgithub.com\u002Fbitbrain\u002Fbeehave\u002Freleases) into `res:\u002F\u002Faddons\u002Fbeehave\u002F`.\n2. Enable the plugin: **Project → Project Settings → Plugins** (**Project Settings → Addons → Plugins** on 4.8) → tick **Beehave**.  \n   Two autoloads are registered on enable and removed again on disable: `BeehaveGlobalMetrics` and `BeehaveGlobalDebugger`.\n3. Optional — copy `script_templates\u002F` from the addon into the project root for leaf scaffolding templates.\n\n---\n\n## 3. Tree composition\n\nA Beehave tree is built from three kinds of nodes, all placed as regular scene-tree children:\n\n| Role | Node | Behavior |\n|---|---|---|\n| **Tree root** | `BeehaveTree` | Ticks the child every frame (or physics\u002Fmanual); extends `Node` (not `BeehaveNode`) |\n| **Composites** | `SequenceComposite`, `SelectorComposite`, `SimpleParallelComposite`, … | Flow control — AND \u002F OR \u002F parallel logic |\n| **Decorators** | `InverterDecorator`, `CooldownDecorator`, `RepeaterDecorator`, … | Wrap one child to modify its result |\n| **Leaves** | `ActionLeaf`, `ConditionLeaf` subclasses | Your custom game logic |\n\n### Composite quick reference\n\n| Class | Logic |\n|---|---|\n| `SequenceComposite` | AND — all children must succeed; fails on first failure |\n| `SequenceReactiveComposite` | AND — re-evaluates from first child every tick while running |\n| `SelectorComposite` | OR — succeeds on first success; fails if all fail |\n| `SelectorReactiveComposite` | OR — re-evaluates from first child every tick while running |\n| `SimpleParallelComposite` | Runs two children simultaneously; result follows primary (child 0) |\n| `SequenceRandomComposite` | Shuffled AND — executes children in random order |\n| `SelectorRandomComposite` | Shuffled OR — tries children in random order |\n\n### Decorator quick reference\n\n| Class | Effect |\n|---|---|\n| `InverterDecorator` | Flips `SUCCESS` ↔ `FAILURE`; passes `RUNNING` through |\n| `AlwaysSucceedDecorator` | Forces `SUCCESS`; passes `RUNNING` through |\n| `AlwaysFailDecorator` | Forces `FAILURE`; passes `RUNNING` through |\n| `RepeaterDecorator` | Re-runs child until it succeeds `repetitions` times |\n| `LimiterDecorator` | Caps child to `max_count` running ticks, then `FAILURE` |\n| `CooldownDecorator` | Blocks re-execution for `wait_time` seconds after child finishes |\n| `TimeLimiterDecorator` | Gives child `wait_time` seconds; interrupts if still running |\n| `DelayDecorator` | Waits `wait_time` seconds before first executing child |\n| `UntilFailDecorator` | Loops child until it returns `FAILURE`, then returns `SUCCESS` |\n\n### Minimal scene-tree example\n\n```gdscript\n# Scene tree:\n#   Enemy (CharacterBody2D)\n#     BeehaveTree               ← tick_rate = 1, process_thread = PHYSICS\n#       SelectorComposite\n#         SequenceComposite     ← \"attack if in range\"\n#           IsInRangeCondition\n#           AttackAction\n#         PatrolAction          ← fallback\n\n# BeehaveTree exports:\n# @export var enabled: bool = true\n# @export var tick_rate: int = 1          (1 = every frame; 3 = every 3 frames)\n# @export var process_thread: ProcessThread = PHYSICS\n# @export var blackboard: Blackboard      (auto-created if not set)\n# @export_node_path var actor_node_path   (empty = parent node; a wrong path leaves actor null)\n\n# Access the tree from code if you need manual control:\n@onready var bt: BeehaveTree = $BeehaveTree\n\nfunc _ready() -> void:\n    # Reduce tick cost: evaluate AI every 3 physics frames\n    bt.tick_rate = 3\n    # Default process_thread is PHYSICS — switch to IDLE if actor uses _process\n    bt.process_thread = BeehaveTree.ProcessThread.IDLE\n```\n\n> **tick_rate note:** `tick_rate = 1` evaluates every frame; `tick_rate = 3` every 3 frames. Increase for distant\u002Fbackground NPCs to save CPU. Default process thread is `PHYSICS` — if the actor script uses `_process` instead of `_physics_process`, set `process_thread = IDLE` to keep them in sync.\n\n---\n\n## 4. The leaf contract\n\nLeaves hold your game logic. Subclass `ActionLeaf` for multi-tick work or `ConditionLeaf` for single-frame checks, then override `tick(actor, blackboard)`.\n\n```gdscript\n# IsInRangeCondition.gd\nclass_name IsInRangeCondition\nextends ConditionLeaf\n\n@export var detection_range: float = 150.0\n\nfunc tick(actor: Node, blackboard: Blackboard) -> int:\n    # Beehave types `actor` as Node; cast to your concrete type for 2D members.\n    var body := actor as Node2D\n    var target: Node2D = blackboard.get_value(\"target\")\n    if body == null or not is_instance_valid(target):\n        return FAILURE\n    var in_range := body.global_position.distance_to(target.global_position) \u003C= detection_range\n    return SUCCESS if in_range else FAILURE\n```\n\n```gdscript\n# AttackAction.gd\nclass_name AttackAction\nextends ActionLeaf\n\n@export var attack_duration: float = 0.5\n\nfunc tick(actor: Node, blackboard: Blackboard) -> int:\n    var elapsed: float = blackboard.get_value(\"attack_elapsed\", 0.0)\n    elapsed += get_physics_process_delta_time()\n\n    if elapsed >= attack_duration:\n        blackboard.erase_value(\"attack_elapsed\")\n        # `actor` is typed Node; guard game-specific methods (or cast to your actor type).\n        if actor.has_method(\"play_attack_animation\"):\n            actor.call(\"play_attack_animation\")\n        return SUCCESS\n\n    blackboard.set_value(\"attack_elapsed\", elapsed)\n    return RUNNING\n\nfunc interrupt(actor: Node, blackboard: Blackboard) -> void:\n    # Clean up per-run state when the tree interrupts this action (after_run is not called then)\n    blackboard.erase_value(\"attack_elapsed\")\n    super(actor, blackboard)  # keeps the debugger's interrupt message\n```\n\n**Return codes** (defined on `BeehaveNode`):\n- `SUCCESS` — action complete \u002F condition met.\n- `FAILURE` — action failed \u002F condition not met; parent composite decides what to do next.\n- `RUNNING` — action needs more frames; tree will call `tick()` again next frame (`ActionLeaf` only — `ConditionLeaf` should never return `RUNNING`).\n\n**Optional overrides:**\n- `before_run(actor, blackboard)` — called once before the first tick of a run.\n- `after_run(actor, blackboard)` — called after the tick that returns `SUCCESS`\u002F`FAILURE`; not called on an interrupt.\n- `interrupt(actor, blackboard)` — called when the tree interrupts a running node.\n\n---\n\n## 5. Blackboard\n\nThe `Blackboard` node is a shared key\u002Fvalue store passed to every `tick()` call. `BeehaveTree` auto-creates an internal one if you don't assign an external `Blackboard` node.\n\n```gdscript\n# Share one Blackboard across multiple BeehaveTrees on the same actor.\n# Assign the same exported Blackboard node to each tree in the Inspector.\n\n# Read \u002F write from any leaf's tick():\nfunc tick(actor: Node, blackboard: Blackboard) -> int:\n    # Write\n    blackboard.set_value(\"target\", actor.get_nearest_enemy())\n\n    # Read with default\n    var speed: float = blackboard.get_value(\"move_speed\", 200.0)\n\n    # Conditional check\n    if blackboard.has_value(\"stunned\"):\n        return FAILURE\n\n    # Erase (sets key to null; has_value returns false after erase)\n    blackboard.erase_value(\"temp_flag\")\n\n    return SUCCESS\n```\n\n> **Named namespaces:** `set_value`, `get_value`, `has_value` and `erase_value` accept an optional `blackboard_name: String` parameter (default `\"default\"`). Use this to keep separate namespaces on one `Blackboard` node without name collisions (e.g., per-enemy state vs. shared world state).\n\n> **Built-in expression leaves:** `BlackboardSetAction`, `BlackboardEraseAction`, `BlackboardHasCondition`, and `BlackboardCompareCondition` let you manipulate the Blackboard entirely via Inspector exports (no GDScript required). Expressions run via Godot's `Expression.execute([], blackboard)` — so you can call `get_value(\"key\")` directly in the expression string.\n\n---\n\n## 6. Visual debugger\n\nBeehave ships an `EditorDebuggerPlugin` that adds a **🐝 Beehave** tab to the bottom editor panel while your game is running:\n\n1. Run the project from the Godot editor.\n2. Open the **Debugger** panel → click the **🐝 Beehave** tab.\n3. Select a tree from the list to activate live visualization — active nodes are highlighted each tick.\n4. Optional: click the detach button to float the panel, or set **Project Settings → beehave\u002Fdebugger\u002Fstart_detached = true** to always start detached.\n\nTo track per-tree CPU cost in the **Performance** panel, set `custom_monitor = true` on the `BeehaveTree` node. This registers `beehave [microseconds]\u002Fprocess_time_\u003Cactor_name>-\u003Cid>` as a Performance monitor.\n\nFor a walkthrough of writing custom decorators and conditions, see [references\u002Fcustom-nodes.md](references\u002Fcustom-nodes.md).\n\n---\n\n## Implementation checklist\n\n- [ ] `addons\u002Fbeehave\u002F` copied into project; plugin enabled in **Project Settings → Plugins** (**Project Settings → Addons → Plugins** on 4.8)\n- [ ] `BeehaveTree` added as a child of the actor; `actor_node_path` set (or left blank to default to parent)\n- [ ] `process_thread` matches actor's loop: `PHYSICS` for `_physics_process`, `IDLE` for `_process`\n- [ ] `tick_rate` tuned — increase for background NPCs (e.g., `3`) to reduce per-frame cost\n- [ ] Every `tick()` override returns `SUCCESS`, `FAILURE`, or `RUNNING` — never `void`\u002F`null`\n- [ ] `ConditionLeaf` subclasses never return `RUNNING`\n- [ ] Per-run state written to the `Blackboard`, not stored on the leaf node itself\n- [ ] `after_run` or `interrupt` cleans up any Blackboard keys the action wrote\n- [ ] External `Blackboard` node exported and shared when multiple `BeehaveTree` nodes need the same data\n- [ ] Visual debugger checked at runtime to verify tick flow before shipping AI logic\n","# Beehave\n\n> **Related skills:** **ai-navigation** for the movement leaves drive, **state-machine** for core-engine FSM, **limboai** for a heavier C++ BT+HSM alternative, **godot-brainstorming** for choosing an AI approach.\n\n> **Addon:** Beehave · version `v2.9.3` · Godot 4.1+ (README: 2.9.x is the 4.1.x line; CI runs 4.5.1, 4.6.3 and 4.7; 4.1–4.4 untested by CI) · MIT · source: https:\u002F\u002Fgithub.com\u002Fbitbrain\u002Fbeehave · written in GDScript (no official C# API — this skill is GDScript-only by design).\n\n> **Godot 4.8:** not yet confirmed by the addon. Its CI stops at 4.7, and no open issue mentions 4.8 (checked 2026-11-12).\n\n---\n\n## 1. When to use Beehave\n\n| Approach | Best for |\n|---|---|\n| Core-engine FSM (`state-machine` skill) | Simple agents, \u003C 5 states, no addon |\n| **Beehave** (GDScript addon) | Lightweight BT, GDScript-only projects, fast iteration |\n| **LimboAI** | BT **and** HSM together, visual editor, C++ performance, C# support (module build) |\n\nChoose Beehave when your project is GDScript-only, you want a behavior tree without a custom engine build, and you value a simple node-in-scene-tree authoring workflow. Beehave trees live entirely in the scene tree — every composite, decorator, and leaf is a regular `Node` child. For a heavier C++\u002FC# solution with HSM integration, use the `limboai` skill instead. For plain state machines without a BT, use the built-in `state-machine` skill.\n\n**C# note:** Beehave has no official C# API (zero `.cs` files in `addons\u002Fbeehave\u002F`). From C# you can call the GDScript API via Godot cross-language interop (`GetNode\u003CNode>(...).Call(\"tick\", actor, blackboard)`), but Beehave provides no typed C# classes.\n\n---\n\n## 2. Install & enable\n\n1. **Godot AssetLib** → search \"Beehave\" → Download → Reload project.  \n   Or copy the `addons\u002Fbeehave\u002F` folder from the [GitHub release](https:\u002F\u002Fgithub.com\u002Fbitbrain\u002Fbeehave\u002Freleases) into `res:\u002F\u002Faddons\u002Fbeehave\u002F`.\n2. Enable the plugin: **Project → Project Settings → Plugins** (**Project Settings → Addons → Plugins** on 4.8) → tick **Beehave**.  \n   Two autoloads are registered on enable and removed again on disable: `BeehaveGlobalMetrics` and `BeehaveGlobalDebugger`.\n3. Optional — copy `script_templates\u002F` from the addon into the project root for leaf scaffolding templates.\n\n---\n\n## 3. Tree composition\n\nA Beehave tree is built from three kinds of nodes, all placed as regular scene-tree children:\n\n| Role | Node | Behavior |\n|---|---|---|\n| **Tree root** | `BeehaveTree` | Ticks the child every frame (or physics\u002Fmanual); extends `Node` (not `BeehaveNode`) |\n| **Composites** | `SequenceComposite`, `SelectorComposite`, `SimpleParallelComposite`, … | Flow control — AND \u002F OR \u002F parallel logic |\n| **Decorators** | `InverterDecorator`, `CooldownDecorator`, `RepeaterDecorator`, … | Wrap one child to modify its result |\n| **Leaves** | `ActionLeaf`, `ConditionLeaf` subclasses | Your custom game logic |\n\n### Composite quick reference\n\n| Class | Logic |\n|---|---|\n| `SequenceComposite` | AND — all children must succeed; fails on first failure |\n| `SequenceReactiveComposite` | AND — re-evaluates from first child every tick while running |\n| `SelectorComposite` | OR — succeeds on first success; fails if all fail |\n| `SelectorReactiveComposite` | OR — re-evaluates from first child every tick while running |\n| `SimpleParallelComposite` | Runs two children simultaneously; result follows primary (child 0) |\n| `SequenceRandomComposite` | Shuffled AND — executes children in random order |\n| `SelectorRandomComposite` | Shuffled OR — tries children in random order |\n\n### Decorator quick reference\n\n| Class | Effect |\n|---|---|\n| `InverterDecorator` | Flips `SUCCESS` ↔ `FAILURE`; passes `RUNNING` through |\n| `AlwaysSucceedDecorator` | Forces `SUCCESS`; passes `RUNNING` through |\n| `AlwaysFailDecorator` | Forces `FAILURE`; passes `RUNNING` through |\n| `RepeaterDecorator` | Re-runs child until it succeeds `repetitions` times |\n| `LimiterDecorator` | Caps child to `max_count` running ticks, then `FAILURE` |\n| `CooldownDecorator` | Blocks re-execution for `wait_time` seconds after child finishes |\n| `TimeLimiterDecorator` | Gives child `wait_time` seconds; interrupts if still running |\n| `DelayDecorator` | Waits `wait_time` seconds before first executing child |\n| `UntilFailDecorator` | Loops child until it returns `FAILURE`, then returns `SUCCESS` |\n\n### Minimal scene-tree example\n\n```gdscript\n# Scene tree:\n#   Enemy (CharacterBody2D)\n#     BeehaveTree               ← tick_rate = 1, process_thread = PHYSICS\n#       SelectorComposite\n#         SequenceComposite     ← \"attack if in range\"\n#           IsInRangeCondition\n#           AttackAction\n#         PatrolAction          ← fallback\n\n# BeehaveTree exports:\n# @export var enabled: bool = true\n# @export var tick_rate: int = 1          (1 = every frame; 3 = every 3 frames)\n# @export var process_thread: ProcessThread = PHYSICS\n# @export var blackboard: Blackboard      (auto-created if not set)\n# @export_node_path var actor_node_path   (empty = parent node; a wrong path leaves actor null)\n\n# Access the tree from code if you need manual control:\n@onready var bt: BeehaveTree = $BeehaveTree\n\nfunc _ready() -> void:\n    # Reduce tick cost: evaluate AI every 3 physics frames\n    bt.tick_rate = 3\n    # Default process_thread is PHYSICS — switch to IDLE if actor uses _process\n    bt.process_thread = BeehaveTree.ProcessThread.IDLE\n```\n\n> **tick_rate note:** `tick_rate = 1` evaluates every frame; `tick_rate = 3` every 3 frames. Increase for distant\u002Fbackground NPCs to save CPU. Default process thread is `PHYSICS` — if the actor script uses `_process` instead of `_physics_process`, set `process_thread = IDLE` to keep them in sync.\n\n---\n\n## 4. The leaf contract\n\nLeaves hold your game logic. Subclass `ActionLeaf` for multi-tick work or `ConditionLeaf` for single-frame checks, then override `tick(actor, blackboard)`.\n\n```gdscript\n# IsInRangeCondition.gd\nclass_name IsInRangeCondition\nextends ConditionLeaf\n\n@export var detection_range: float = 150.0\n\nfunc tick(actor: Node, blackboard: Blackboard) -> int:\n    # Beehave types `actor` as Node; cast to your concrete type for 2D members.\n    var body := actor as Node2D\n    var target: Node2D = blackboard.get_value(\"target\")\n    if body == null or not is_instance_valid(target):\n        return FAILURE\n    var in_range := body.global_position.distance_to(target.global_position) \u003C= detection_range\n    return SUCCESS if in_range else FAILURE\n```\n\n```gdscript\n# AttackAction.gd\nclass_name AttackAction\nextends ActionLeaf\n\n@export var attack_duration: float = 0.5\n\nfunc tick(actor: Node, blackboard: Blackboard) -> int:\n    var elapsed: float = blackboard.get_value(\"attack_elapsed\", 0.0)\n    elapsed += get_physics_process_delta_time()\n\n    if elapsed >= attack_duration:\n        blackboard.erase_value(\"attack_elapsed\")\n        # `actor` is typed Node; guard game-specific methods (or cast to your actor type).\n        if actor.has_method(\"play_attack_animation\"):\n            actor.call(\"play_attack_animation\")\n        return SUCCESS\n\n    blackboard.set_value(\"attack_elapsed\", elapsed)\n    return RUNNING\n\nfunc interrupt(actor: Node, blackboard: Blackboard) -> void:\n    # Clean up per-run state when the tree interrupts this action (after_run is not called then)\n    blackboard.erase_value(\"attack_elapsed\")\n    super(actor, blackboard)  # keeps the debugger's interrupt message\n```\n\n**Return codes** (defined on `BeehaveNode`):\n- `SUCCESS` — action complete \u002F condition met.\n- `FAILURE` — action failed \u002F condition not met; parent composite decides what to do next.\n- `RUNNING` — action needs more frames; tree will call `tick()` again next frame (`ActionLeaf` only — `ConditionLeaf` should never return `RUNNING`).\n\n**Optional overrides:**\n- `before_run(actor, blackboard)` — called once before the first tick of a run.\n- `after_run(actor, blackboard)` — called after the tick that returns `SUCCESS`\u002F`FAILURE`; not called on an interrupt.\n- `interrupt(actor, blackboard)` — called when the tree interrupts a running node.\n\n---\n\n## 5. Blackboard\n\nThe `Blackboard` node is a shared key\u002Fvalue store passed to every `tick()` call. `BeehaveTree` auto-creates an internal one if you don't assign an external `Blackboard` node.\n\n```gdscript\n# Share one Blackboard across multiple BeehaveTrees on the same actor.\n# Assign the same exported Blackboard node to each tree in the Inspector.\n\n# Read \u002F write from any leaf's tick():\nfunc tick(actor: Node, blackboard: Blackboard) -> int:\n    # Write\n    blackboard.set_value(\"target\", actor.get_nearest_enemy())\n\n    # Read with default\n    var speed: float = blackboard.get_value(\"move_speed\", 200.0)\n\n    # Conditional check\n    if blackboard.has_value(\"stunned\"):\n        return FAILURE\n\n    # Erase (sets key to null; has_value returns false after erase)\n    blackboard.erase_value(\"temp_flag\")\n\n    return SUCCESS\n```\n\n> **Named namespaces:** `set_value`, `get_value`, `has_value` and `erase_value` accept an optional `blackboard_name: String` parameter (default `\"default\"`). Use this to keep separate namespaces on one `Blackboard` node without name collisions (e.g., per-enemy state vs. shared world state).\n\n> **Built-in expression leaves:** `BlackboardSetAction`, `BlackboardEraseAction`, `BlackboardHasCondition`, and `BlackboardCompareCondition` let you manipulate the Blackboard entirely via Inspector exports (no GDScript required). Expressions run via Godot's `Expression.execute([], blackboard)` — so you can call `get_value(\"key\")` directly in the expression string.\n\n---\n\n## 6. Visual debugger\n\nBeehave ships an `EditorDebuggerPlugin` that adds a **🐝 Beehave** tab to the bottom editor panel while your game is running:\n\n1. Run the project from the Godot editor.\n2. Open the **Debugger** panel → click the **🐝 Beehave** tab.\n3. Select a tree from the list to activate live visualization — active nodes are highlighted each tick.\n4. Optional: click the detach button to float the panel, or set **Project Settings → beehave\u002Fdebugger\u002Fstart_detached = true** to always start detached.\n\nTo track per-tree CPU cost in the **Performance** panel, set `custom_monitor = true` on the `BeehaveTree` node. This registers `beehave [microseconds]\u002Fprocess_time_\u003Cactor_name>-\u003Cid>` as a Performance monitor.\n\nFor a walkthrough of writing custom decorators and conditions, see [references\u002Fcustom-nodes.md](references\u002Fcustom-nodes.md).\n\n---\n\n## Implementation checklist\n\n- [ ] `addons\u002Fbeehave\u002F` copied into project; plugin enabled in **Project Settings → Plugins** (**Project Settings → Addons → Plugins** on 4.8)\n- [ ] `BeehaveTree` added as a child of the actor; `actor_node_path` set (or left blank to default to parent)\n- [ ] `process_thread` matches actor's loop: `PHYSICS` for `_physics_process`, `IDLE` for `_process`\n- [ ] `tick_rate` tuned — increase for background NPCs (e.g., `3`) to reduce per-frame cost\n- [ ] Every `tick()` override returns `SUCCESS`, `FAILURE`, or `RUNNING` — never `void`\u002F`null`\n- [ ] `ConditionLeaf` subclasses never return `RUNNING`\n- [ ] Per-run state written to the `Blackboard`, not stored on the leaf node itself\n- [ ] `after_run` or `interrupt` cleans up any Blackboard keys the action wrote\n- [ ] External `Blackboard` node exported and shared when multiple `BeehaveTree` nodes need the same data\n- [ ] Visual debugger checked at runtime to verify tick flow before shipping AI logic\n",{"name":5,"description":7},"master","60c28fdc40706a24576731e9fb3508b9c95258ad","skills\u002Fbeehave",63,"https:\u002F\u002Fgithub.com\u002Fjame581\u002FGodotPrompter","https:\u002F\u002Fgithub.com\u002Fjame581","https:\u002F\u002Fjanmesarc.online\u002F","Software engineer. My biggest passion is game development.","2026-11-14 20:45:49",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add jame581\u002FGodotPrompter --skill beehave",{"tool":51,"command":52},"bunx","bunx skills add jame581\u002FGodotPrompter --skill beehave",{"tool":54,"command":55},"pnpm","pnpm dlx skills add jame581\u002FGodotPrompter --skill beehave","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjame581\u002FGodotPrompter\u002Fblob\u002Fmaster\u002Fskills\u002Fbeehave\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fcustom-nodes.md","REFERENCE","参考文档",5872,"https:\u002F\u002Fgithub.com\u002Fjame581\u002FGodotPrompter\u002Fblob\u002Fmaster\u002Fskills\u002Fbeehave\u002Freferences\u002Fcustom-nodes.md",[66,86,107,137,160,178],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":31},"01M6KRFE5BR2PSD08ZKDAS66R7","xr-development","Use when building VR\u002FAR\u002FXR applications — OpenXR setup, XROrigin3D, hand tracking, controllers, passthrough, and Meta Quest deployment in Godot 4.3+","https:\u002F\u002Fgithub.com\u002Fjame581\u002FGodotPrompter\u002Fblob\u002Fmaster\u002Fskills\u002Fxr-development\u002FSKILL.md",[],[73,74,29,75,76,77,78,79,80,81,82,24,83,84,85],"xr development","development","deployment","godot","vr","setup","tracking","godot 4","ar","hand","Meta","applications","quest",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":31},"01M6KRF8GZTG1TAS506MFBSGFC","web-services","Use when a Godot game calls a web server — HTTPRequest, downloads, REST\u002FJSON APIs, auth headers, WebSocketPeer clients, TLS, retries, and keeping secrets out of the build. Not for game networking\u002FRPCs (multiplayer-basics) or browser export (web-export)","https:\u002F\u002Fgithub.com\u002Fjame581\u002FGodotPrompter\u002Fblob\u002Fmaster\u002Fskills\u002Fweb-services\u002FSKILL.md",[],[93,94,95,96,97,98,99,100,24,29,76,101,102,103,104,105,106],"web services","web","services","tls","retries","calling","auth","downloads","clients","headers","secrets","json","build","REST",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":118,"publishedAt":31},"01M6KRF38Q4WSKAYFS56PG87T0","web-export","Use when shipping a Godot game to the browser — Web export preset options, threads vs no-threads and COOP\u002FCOEP headers, hosting on itch.io or your own server, PWA, JavaScriptBridge, user:\u002F\u002F persistence, audio and input limits, and load size","https:\u002F\u002Fgithub.com\u002Fjame581\u002FGodotPrompter\u002Fblob\u002Fmaster\u002Fskills\u002Fweb-export\u002FSKILL.md",[113],{"categoryNo":114,"categoryName":115,"taxonomyType":116,"taxonomyTypeDesc":117},"01JBSEEDCAT000000000000016","图像与多媒体","SCENARIO","使用场景",[94,119,120,121,122,123,124,125,102,126,127,29,128,129,130,131,132,133,24,134,135,136],"export","web export","threads","limits","shipping","size","options","hosting","input","Coop","preset","browser","game","io","load","pwa","Audio","server",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":151,"publishedAt":31},"01M6KREYFETEBH62ZTN6EZH2X3","using-godot-prompter","Bootstrap skill — establishes how to find and use GodotPrompter skills, with platform-specific tool mapping","https:\u002F\u002Fgithub.com\u002Fjame581\u002FGodotPrompter\u002Fblob\u002Fmaster\u002Fskills\u002Fusing-godot-prompter\u002FSKILL.md",[143,146],{"categoryNo":144,"categoryName":145,"taxonomyType":116,"taxonomyTypeDesc":117},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":147,"categoryName":148,"taxonomyType":149,"taxonomyTypeDesc":150},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[76,152,153,26,154,24,155,156,157,158,159],"using godot prompter","find","bootstrap","tool","platform","mapping","how","how to",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":31},"01M6KRER5G7EQWKGAFN8QJKQ69","tween-animation","Use when implementing tweens — property animation, method tweening, chaining, parallel sequences, easing, and common UI\u002Fgameplay motion recipes","https:\u002F\u002Fgithub.com\u002Fjame581\u002FGodotPrompter\u002Fblob\u002Fmaster\u002Fskills\u002Ftween-animation\u002FSKILL.md",[],[167,168,24,169,170,171,172,173,174,175,176,29,177],"tween animation","Animation","motion","parallel","gameplay","chaining","ui","recipes","common","implementing","sequences",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":31},"01M6KREKGCQMVDV8WX7HWX8BZG","state-machine","Use when building a state machine or refactoring logic into one — enum, node, and resource-based FSM patterns with trade-offs. Not for adding states to an existing one","https:\u002F\u002Fgithub.com\u002Fjame581\u002FGodotPrompter\u002Fblob\u002Fmaster\u002Fskills\u002Fstate-machine\u002FSKILL.md",[],[185,186,187,76,29,188,189,190,191,192,26,24,176,193],"state","state machine","machine","patterns","node","fsm","state machines","trade","trade-offs"]