agentleFS
putervisionputervision/state-memory-mcp/.agents/skills/behavior-mcp/SKILL.md

behavior-mcp

Skill114 starsChanged 46 days agoMITView on GitHub

Teaches the agent to use the Behavior MCP server for ~60Hz in-browser behavior trees, triggers, and recordings.

4 other projects use a version of this, 4 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Define or Load Behavior: Call load_behavior with action: "load" to inject and start tree execution.

    line 22
  2. Very specific:

    Runtime Blackboard: Read and mutate execution variables via manage_blackboard.

    line 25

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Behavior Runtime Engine (behavior-mcp)

This skill provides step-by-step guidance and operational patterns for interacting with @putervision/behavior-mcp with project slug "state-memory-mcp".


1. Role in the PuterVision Pentad

  • Workflow State (state-memory-mcp): Persistent task DAGs, decisions, milestones, and blockers.
  • Perception (vision-memory-mcp): Visual layout caching, screenshots, and visual specifications.
  • Spatial World (world-model-mcp): Persistent 3D/2D coordinates, bounding boxes, and topological relations.
  • Strategic Reasoning (agent-reasoning-mcp): Strategic BDI goals, utility scoring, and intention dispatch.
  • Tactical Execution (behavior-mcp): High-frequency (~60Hz) deterministic behavior tree execution directly in browser runtimes with reactive interrupts.

2. Core Operational Sequence

  1. Define or Load Behavior: Call load_behavior with action: "load" to inject and start tree execution.
  2. Register Reactive Triggers: Configure emergency preemption using register_trigger with priority and cooldown guards.
  3. Monitor Telemetry: Poll execution health, tick rates, and active traversal nodes with get_status.
  4. Runtime Blackboard: Read and mutate execution variables via manage_blackboard.
  5. Safety Guardrails: Immediately halt or pause rogue states using abort_behavior.

3. Complete 10 Consolidated MCP Tools Reference

Tool NameKey ActionsKey ParametersDescription
load_behaviorload, unload, swapbehavior_name, behavior_version, parameters, intention_idHot-swap, inject, or initialize behavior tree instances in browser runtime.
set_parametersset, get, resetexecution_id, parametersDynamically update or query execution parameters for the active tree.
get_statuscurrent, history, tree_stateexecution_id, limitQuery active behavior status, current node path, tick count, duration, and errors.
abort_behaviorabort, pause, resumeexecution_id, reasonImmediately halt, pause, or resume execution and disengage active inputs.
register_triggerregister, listname, condition_type, priority, cooldown_ms, behavior_nameConfigure reactive interrupt triggers with priority preemption and cooldowns.
replay_recordingcapture, listrecording_id, execution_id, frames, nameCapture or replay deterministic browser action sequences with adaptive timing.
get_metricscurrent, history, aggregate, compareexecution_id, behavior_name, limitRetrieve execution telemetry, tick durations, stuck events, and statistics.
manage_behaviorsregister, list, getname, version, tree, tree_json, descriptionCRUD operations for immutable JSON behavior trees with SHA-256 tree hash verification.
manage_blackboardget, setexecution_id, key, valueRead or write shared behavior tree blackboard state variables.
manage_runtime_dbstats, audit, snapshot, diff, restoreaction, name, descriptionDatabase maintenance, diagnostics, and SHA-256 Merkle audit verification.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.