state-memory-mcp: Skill for Claude Code

.agents/skills/behavior-mcp/SKILL.md

behavior-mcp is a skill for Claude Code, Codex from putervision/state-memory-mcp. It costs 28 tokens per session (819 once invoked), scanned A, original, MIT.

An agent skill for running browser behavior trees at a stated high update rate, with triggers and recordings. A behavior tree is a structured set of rules that selects actions based on the current situation.

In plain words
What is it for?
It is for loading browser behaviors, registering emergency triggers, recording runs, and checking active execution and health.
Why use it?
It helps browser automation execute predictable actions while allowing higher-priority triggers to interrupt them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is putervision/state-memory-mcp's own configuration. It tells Claude Code and Codex how to work on state-memory-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything state-memory-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to putervision/state-memory-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/putervision/state-memory-mcp/main/.agents/skills/behavior-mcp/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/putervision/state-memory-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for behavior-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/putervision/state-memory-mcp/behavior-mcp/github.svg)](https://agentmods.dev/skills/putervision/state-memory-mcp/behavior-mcp)
Your own site
<a href="https://agentmods.dev/skills/putervision/state-memory-mcp/behavior-mcp"><img src="https://agentmods.dev/badge/skills/putervision/state-memory-mcp/behavior-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for behavior-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/putervision/state-memory-mcp/behavior-mcp"><img src="https://agentmods.dev/badge/skills/putervision/state-memory-mcp/behavior-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 819 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00819
Opus 5.5 $0.00011 $0.00328
Sonnet 5.5 $0.00006 $0.00164
Haiku 4.5 $0.00003 $0.00082

Measured 1mo ago against content hash bd37f0542b6f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

behavior-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/behavior-mcp/SKILL.md · 44 lines

How it starts

The opening of the file, as written. The whole thing — 44 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 Name Key Actions Key Parameters Description
load_behavior load, unload, swap behavior_name, behavior_version, parameters, intention_id Hot-swap, inject, or initialize behavior tree instances in browser runtime.
set_parameters set, get, reset execution_id, parameters Dynamically update or query execution parameters for the active tree.
get_status current, history, tree_state execution_id, limit Query active behavior status, current node path, tick count, duration, and errors.
abort_behavior abort, pause, resume execution_id, reason Immediately halt, pause, or resume execution and disengage active inputs.
register_trigger register, list name, condition_type, priority, cooldown_ms, behavior_name Configure reactive interrupt triggers with priority preemption and cooldowns.
replay_recording capture, list recording_id, execution_id, frames, name Capture or replay deterministic browser action sequences with adaptive timing.
get_metrics current, history, aggregate, compare execution_id, behavior_name, limit Retrieve execution telemetry, tick durations, stuck events, and statistics.
manage_behaviors register, list, get name, version, tree, tree_json, description CRUD operations for immutable JSON behavior trees with SHA-256 tree hash verification.
manage_blackboard get, set execution_id, key, value Read or write shared behavior tree blackboard state variables.
manage_runtime_db stats, audit, snapshot, diff, restore action, name, description Database maintenance, diagnostics, and SHA-256 Merkle audit verification.

Read the full file on GitHub · 44 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 44 lines · 28 tokens per session scan A bd37f0542b6f

Subscribe to this mod's changes

behavior-mcp is a skill published in the GitHub repository putervision/state-memory-mcp (42 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 819 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.

Related

behavior-mcp compared with skills from other repositories

behavior-mcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
behavior-mcpputervision/state-memory-mcpSkill421mo agoMITA28Claude Code, Codex
browser-harnessIkalus1988/MisakaNetSkill554todayApache-2.0C39Claude Code
blazemeter-recordersBlazemeter/bzm-mcpSkill2611d agoApache-2.0A76Claude Code, Codex
@elad12390/web-research-assistantelad12390/web-research-assistantSkill99d agoMITA150Claude Code, Codex
find-my-bookings-and-balancesAwardTravelFinder/mcpSkill126d agoMITA97Claude Code
scrape-batchn24q02m/wet-mcpSkill171mo agoApache-2.0A84Claude Code
anyapigetanyapi-com/skillsSkill12d agoApache-2.0A0Claude Code