Agent skill

State Memory MCP

by putervision in putervision/state-memory-mcp

Teaches the agent to use the state-memory-mcp MCP server to track workflow state, tasks, decisions, blockers, artifacts, plans, milestones, and their semantic relationships in a persistent graph…

MITAuto-check passedAgent Workflows

Install State Memory MCP

skills CLI
$ npx skills add putervision/state-memory-mcp --skill state-memory-mcp -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install putervision/state-memory-mcp state-memory-mcp --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/putervision/state-memory-mcp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/state-memory-mcp .claude/skills/state-memory-mcp && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
state-memory-mcp
GitHub stars
111
Token cost
~1.9k tokens
SKILL.md length
680 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Teaches the agent to use the state-memory-mcp MCP server to track workflow state, tasks, decisions, blockers, artifacts, plans, milestones, and their semantic relationships in a persistent graph…

  • Works in 5 steps: Priority Order & Mandatory Checklist → Complete 13 Consolidated MCP Tools… → Node Types & Edge Relationships → …
  • Tasks that involve MCP servers
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Project management

What it does

State Memory MCP is an agent skill from putervision/state-memory-mcp. Teaches the agent to use the state-memory-mcp MCP server to track workflow state, tasks, decisions, blockers, artifacts, plans, milestones, and their semantic relationships in a persistent graph database.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering MCP servers and Project management. It works with Model Context Protocol. The repository describes itself as: Persistent, branch-aware workflow state memory MCP server for AI coding assistants. Tracks tasks, accepted decisions, and active blockers to prevent session context bloat and… The licence is MIT.

When your agent uses it

  • Tasks that involve MCP servers
  • Tasks that involve Project management

Example prompts

  • “Use the state-memory-mcp skill to teach the agent to use the state-memory-mcp MCP server to track workflow state, tasks, decisions, blockers…”
  • “/state-memory-mcp”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Priority Order & Mandatory Checklist
  2. Complete 13 Consolidated MCP Tools Reference
  3. Node Types & Edge Relationships
  4. Workflow Patterns
  5. CLI Commands Reference

What it can do on your machine

Read from SKILL.md and the folder at commit 0f60ae4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

State Memory MCP loads about 1.9k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 680 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from putervision/state-memory-mcp at commit 0f60ae4, republished under its MIT licence (© putervision). 680 words, ~1,864 tokens.

Download SKILL.mdSave it as .claude/skills/state-memory-mcp/SKILL.md (or your agent's skills folder).
name
state-memory-mcp
description
Teaches the agent to use the state-memory-mcp MCP server to track workflow state, tasks, decisions, blockers, artifacts, plans, milestones, and their semantic relationships in a persistent graph database.

State Memory (state-memory-mcp) — 13 Consolidated Tools

This project uses state-memory-mcp with project slug "state-memory-mcp" to provide AI agents with a structured, persistent graph for tracking workflow state.

1. Priority Order & Mandatory Checklist

Before doing any coding or investigation, you MUST run this sequence:

  1. manage_sessions(action: "start") — Start a tracking session with an agent_id for full change attribution.
  2. get_analytics(action: "summary") — Understand current project state, active branches, and overall progress.
  3. manage_specs(action: "compliance") — Check real-time requirement coverage matrix and unfulfilled criteria.
  4. manage_tasks(action: "next") — Query prioritized runnable tasks (sorted by downstream impact and age).
  5. manage_tasks(action: "find_blockers") — Identify any active blockers preventing progress.
  6. manage_nodes(action: "list") — Find pending tasks, past decisions, or milestones.
  7. query_graph(action: "trace") — Trace what depends on or blocks a task.
2. Complete 13 Consolidated MCP Tools Reference
#Tool NameKey ActionsDescription
1manage_nodescreate, update, get, remove, list, search, batch_create, batch_update, add_noteGraph node CRUD, full-text / TF-IDF search, atomic batch operations, and quick notes.
2manage_edgesadd, remove, batch_add, link_visualManage typed graph relationships and link tasks/artifacts to visual memory state IDs.
3manage_sessionsstart, end, list, bootstrapAgent tracking sessions, attribution, and single-turn context bootstrapping.
4manage_tasksnext, complete, find_blocked, find_stale, find_blockers, find_similar_blockers, auto_prunePrioritized task queue, task completion, blocker detection, and automated stale pruning.
5manage_snapshotssave, list, diff, get_state, revert, undo, get_historyGraph checkpoints, visual diffs, point-in-time state reconstruction, and rollbacks.
6manage_specsscaffold, ingest, export, compliance, verify, decompose_feature, templateSpec-Driven Development (SDD), PRD parsing, acceptance verification, and FDD/RFC templates.
7manage_databasebackup, restore, audit, merge, branch_diff, branch_mergeSQLite maintenance, physical backups, integrity audits, and Git branch state diffs/merges.
8manage_dataexport_graph, export_issues, export_trajectories, export_joint_trajectories, export_synergy_metrics, import_graph, import_issues, import_specBulk import/export of graph formats, GitHub/Jira issues, ML trajectories, and ROI synergy metrics.
9query_graphsubgraph, trace, raw, natural_languageGraph traversal, upstream/downstream dependency tracing, raw SQL queries, and natural language search.
10get_analyticssummary, velocity, burndown, value_metrics, cognitive_load, critical_path, context_snapshot, decision_trail, find_related_decisions, contradictionsAnalytics suite: project overview, velocity, burndown, token ROI, cognitive load, and decision trails.
11get_eventslog, changelog, post_mortemAppend-only event log queries, session changelogs, and automated session post-mortems.
12run_diagnosticsvalidate, doctor, check_refs, audit_chain, compact, archive, prune_events, versionGraph integrity validation, doctor health checks, SHA-256 hash audits, compaction, and archiving.
13use_blackboardpost, readAsynchronous multi-agent notice board for inter-agent coordination with TTL expiration.
Show full SKILL.md (297 more words)Show less
3. Node Types & Edge Relationships

Node Types:

  • task — Incremental items of work or coding TODOs.
  • decision — Architectural choices, pattern selections, and rationale.
  • artifact — Files, documentation, or schemas generated by tasks.
  • plan — High-level development specifications and roadmaps.
  • milestone — Progress checkpoints representing grouped sets of tasks.
  • blocker — Impediments or bugs preventing task completion.
  • observation — Contextual findings, notes, or runtime constraints.
  • spec — Feature specification or PRD document container.
  • requirement — Formal functional or non-functional requirement.
  • acceptance_criterion — Testable acceptance criterion for a requirement.
  • visual_state — Visual state link representing UI layout state.

Edge Types:

  • depends_on — Task/milestone depends on another node.
  • blocks — Blocker stalls a task/milestone.
  • produces — Task/milestone generates an artifact.
  • references — Node references documentation or source files.
  • updates / contradicts — Decision history and conflict tracking.
  • part_of / child_of — Hierarchical groupings (tasks in milestones, milestones in plans).
  • implements / decided_in / satisfies — Links tasks/artifacts to design decisions, plans, or spec requirements.
  • renders_state — Visual memory verification relationship.
  • blocked_by_visual_state — Blocker caused by UI layout failure.
  • verifies / verifies_visual_state — Verification link connecting tests/evidence to requirements.
4. Workflow Patterns

Session Lifecycle:

  1. manage_sessions(action: "start", agent_id: "my-agent") → get session_id
  2. Pass session_id to graph mutations (manage_nodes, manage_edges)
  3. manage_sessions(action: "end", session_id: session_id) when work is complete

Task Decomposition:

  1. Decompose user requests into task nodes with manage_nodes(action: "create", type: "task", title: "...")
  2. Connect related tasks with manage_edges(action: "add", type: "depends_on", source_id: A, target_id: B)
  3. Group under milestones with manage_edges(action: "add", type: "part_of", source_id: task, target_id: milestone)

Codebase Seeding (on first init): If the project has no Plan or Milestone nodes:

  1. Read README and core files to understand the roadmap and architecture.
  2. Create a plan node (e.g., "Project Roadmap") with manage_nodes(action: "create", type: "plan", title: "...").
  3. Add milestone nodes for key phases, connecting with part_of edges.
  4. Create decision nodes for core technical choices, linking with decided_in edges.
5. CLI Commands Reference
bash
state-memory-mcp init          # Initialize in current project
state-memory-mcp init-global   # Re-initialize across all projects in ~/.state-memory-mcp/projects.json
state-memory-mcp run           # Stdio MCP server (used by IDEs)
state-memory-mcp inspect -p X  # ASCII table of project nodes
state-memory-mcp metrics -p X  # ROI and token savings analytics
state-memory-mcp view -p X     # Open 3D graph visualizer in browser
state-memory-mcp export -p X -f [json|dot|mermaid|html]  # Export graph
state-memory-mcp scan-git -p X # Incrementally scan git history
state-memory-mcp backup -p X   # Back up the database
state-memory-mcp audit -p X    # Run integrity checks
state-memory-mcp doctor        # Verify system health and SQLite environment

© putervision, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/state-memory-mcp of putervision/state-memory-mcp.

Open the folder on GitHubat commit 0f60ae4

Compare with similar skills

State Memory MCP next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

State Memory MCP compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
State Memory MCP this skillputervision/state-memory-mcp111—~1.9kAutomated safety check: PassMIT
Lifi MCP Skillholon-run/uxc115—~1.2kAutomated safety check: PassMIT
Patsnap Drug Assetpatsnap/mcp112—~653Automated safety check: PassApache-2.0
Jira Natural Language Interfacejjmartres/opencode1333 repos~1.7kAutomated safety check: PassMIT
GitHub Issuesgithub/awesome-copilot40k2 repos~2.3kAutomated safety check: PassMIT
Ot Cost Analysisaiskillstore/marketplace430—~4.4kAutomated safety check: PassNone

Similar skills

  • Lifi MCP Skill

    holon-run/uxc

    Use the LI.FI MCP server through UXC for cross-chain route discovery, bridge/DEX availability checks, token and chain lookup, gas/balance/allowance checks, quote generation, and transfer status…

    115 GitHub stars~1.2k tokensUpdated 22 days ago
    Agent WorkflowsAuto-check passed
  • Patsnap Drug & Asset MCP for AI agents. An agent skill from patsnap/mcp.

    112 GitHub stars~653 tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Lets an agent view, create, update and transition Jira issues in natural language, automatically choosing between the jira CLI and Atlassian MCP tools.

    133 GitHub starsUsed in 3 repos~1.7k tokens
    Product & Project ManagementAuto-check passed
  • GitHub Issues

    github/awesome-copilot

    Official

    Create, update, and manage GitHub issues using MCP tools. An agent skill from github/awesome-copilot.

    40k GitHub starsUsed in 2 repos~2.3k tokens
    Testing & QAAuto-check passed
  • Ot Cost Analysis

    aiskillstore/marketplace

    Trigger for: Other Transaction or OT should-cost, cost estimate, cost-share analysis, milestone pricing, funding profile, proposed-price comparison, prototype price analysis, research OT budget…

    430 GitHub stars~4.4k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Linear

    AlexAI-MCP/hermes-CCC

    Linear project management — create issues, manage cycles, update projects, and query team progress via Linear API or MCP.

    135 GitHub stars~916 tokensUpdated 6 mo ago
    Backend & APIsAuto-check passed

More from putervision/state-memory-mcp

  • Behavior MCP

    putervision/state-memory-mcp

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

    111 GitHub stars~853 tokensUpdated 4 days ago
    Auto-check passed
  • Video Ingest

    putervision/state-memory-mcp

    Teaches the agent to process, ingest, analyze, and compare WebM, MP4, and GIF video recordings using vision-memory-mcp and state-memory-mcp.

    111 GitHub stars~902 tokensUpdated 4 days ago
    Auto-check passed
  • Webcrypt MCP

    putervision/state-memory-mcp

    Teaches the agent to use the WebCrypt MCP server for AES-256-GCM symmetric encryption, RSA-4096 hybrid encryption, key generation, digital signatures, hashing, and post-quantum cryptography.

    111 GitHub stars~847 tokensUpdated 4 days ago
    Auto-check passed
  • Agent Reasoning MCP

    putervision/state-memory-mcp

    Teaches the agent to use the Strategic Agent Reasoning MCP server for BDI goals, utility scoring, risk evaluation, and replanning.

    111 GitHub stars~889 tokensUpdated 4 days ago
    Auto-check passed
  • Vision Memory MCP

    putervision/state-memory-mcp

    Teaches the agent to use the Visual Memory MCP server to cache webpage and application screenshots, matching layout states and avoiding redundant LLM vision calls.

    111 GitHub stars~1.4k tokensUpdated 4 days ago
    Auto-check: notes
  • World Model MCP

    putervision/state-memory-mcp

    Teaches the agent to use the Spatial World Model MCP server to track entities, 3D/2D positions, spatial relationships, object permanence, and movement simulation.

    111 GitHub stars~804 tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about State Memory MCP

What does State Memory MCP do?

Teaches the agent to use the state-memory-mcp MCP server to track workflow state, tasks, decisions, blockers, artifacts, plans, milestones, and their semantic relationships in a persistent graph…. State Memory MCP is an agent skill from putervision/state-memory-mcp. Teaches the agent to use the state-memory-mcp MCP server to track workflow state, tasks, decisions, blockers, artifacts, plans, milestones, and their semantic relationships in a persistent graph database.

When should I use State Memory MCP?

State Memory MCP fits situations like: tasks that involve MCP servers; tasks that involve Project management.

How do I install State Memory MCP in Claude Code?

Run `npx skills add putervision/state-memory-mcp --skill state-memory-mcp -a claude-code`. Or copy the skill folder (.agents/skills/state-memory-mcp in putervision/state-memory-mcp) into .claude/skills/state-memory-mcp in your project. Claude Code loads it when a task matches its description.

How do I install State Memory MCP in Codex?

Run `npx skills add putervision/state-memory-mcp --skill state-memory-mcp -a codex`. Or copy the skill folder (.agents/skills/state-memory-mcp in putervision/state-memory-mcp) into .agents/skills/state-memory-mcp in your project. Codex loads it when a task matches its description.

Can I use State Memory MCP in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add putervision/state-memory-mcp --skill state-memory-mcp -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/state-memory-mcp, .gemini/skills/state-memory-mcp, .github/skills/state-memory-mcp and .opencode/skills/state-memory-mcp in your project.

What does State Memory MCP need to run?

SKILL.md names no scripts, command-line tools or credentials: State Memory MCP is instructions for the agent only.

Does State Memory MCP access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is State Memory MCP safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does State Memory MCP use?

State Memory MCP is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does State Memory MCP use?

About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to State Memory MCP?

Skills that share tags, products or a category with State Memory MCP: Lifi MCP Skill (holon-run/uxc, 115 stars), Patsnap Drug Asset (patsnap/mcp, 112 stars), Jira Natural Language Interface (jjmartres/opencode, 133 stars) and GitHub Issues (github/awesome-copilot, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains State Memory MCP?

putervision (a GitHub organization) maintains it in putervision/state-memory-mcp, which has 111 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 3, 2026.

Source: putervision/state-memory-mcp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.