Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/putervision/state-memory-mcpWrote 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.
[](https://agentmods.dev/rules/putervision/state-memory-mcp/vision-memory-mcp)<a href="https://agentmods.dev/rules/putervision/state-memory-mcp/vision-memory-mcp"><img src="https://agentmods.dev/badge/rules/putervision/state-memory-mcp/vision-memory-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.
<a href="https://agentmods.dev/rules/putervision/state-memory-mcp/vision-memory-mcp"><img src="https://agentmods.dev/badge/rules/putervision/state-memory-mcp/vision-memory-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00875 | $0.00875 |
| Opus 5.5 | $0.00350 | $0.00350 |
| Sonnet 5.5 | $0.00175 | $0.00175 |
| Haiku 4.5 | $0.00088 | $0.00088 |
Grade B, and why
vision-memory-mcp scanned grade B with 1 finding 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
* **Google Antigravity (`~/.gemini/config/config.json`)**: Add these rules to your `"globalPermissionGrants"` -> `"allow"` list: Copies of this mod
2 near-identical copies found in the catalogue:
- vision-memory-mcp — 100% identical, 0 lines differ
- vision-memory-mcp — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Visual Memory (vision-memory-mcp)
This project utilizes vision-memory-mcp to cache visual states, record layout transitions, provide element grounding, and avoid repetitive LLM vision calls.
1. Mandatory Workflow & Priority
- Orient: Call
get_session_contextto align your visual state context at the start of work. - Search: Call
recall_memory(text/image search) before recreating duplicate UI state paths. - Ingest/Verify: ALWAYS call
analyze_screenshotbefore querying any front-end vision models.- Cache Hit (
is_known: true): Do NOT use vision models; read the returneddescriptionas context and usegrounded_elements(selectors, coordinates) for action target selection. - Cache Miss (
is_known: false): Query your vision model, then runanalyze_screenshotwith both the image and description to seed the cache.
- Cache Hit (
- Action Target Execution: Use
predict_next_actionto retrievegrounded_targethandles (target_selector,target_coords) for deterministic UI clicks and typing. - Transitions: Call
record_outcomeafter every click/type/scroll action to construct navigation paths. - Privacy & Cleanup: Call
forget_stateto purge sensitive or secret states from storage.
2. Tool Reference Summary (15 Core MCP Tools)
analyze_screenshot: Ingest screenshot(s) (single or batch viaitems), lookup cache, return layout description and grounded elements.recall_memory: Search visual memory by description query or base64 image query (read-only).record_outcome: Save UI action execution outcomes, transitions, or log visual blockers (action_type: 'blocker').get_navigation_paths: Find path between states using BFS navigation graph.predict_next_action: Predict best next UI action and target coordinates based on transition success rates and AX tree grounding.compare_states: Compare visual states structurally (has_layout_change) or compare video recordings (video_a_id/video_b_id).get_session_context: Fetch aggregated visual context, recent/frequent states, transitions, cache hit ratios, token savings metrics, and server version info.manage_snapshot: Unified snapshot management (save,diff,export,restore) for visual checkpoints and regression detection.manage_visual_spec: Visual SDD design contract baseline registration (set), live verification (verify), and listing (list).manage_video: Unified video memory operations for ingestion (ingest), semantic search (search), and keyframe timelines (timeline).create_evidence_pack: Create cryptographic, multi-modal evidence pack linking video keyframes, state graph tasks, and visual proof.export_trajectories: Export multimodal visual transitions and joint workflow trajectories (json,llava,qwen2_vl,joint).undo_visual_mutation: Revert accidental state or transition edge ingestions.forget_state: Purge a specific state and vector embedding from storage for privacy.wait_for_visual_state: Poll for target visual state until present or timeout occurs.
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.
- 1mo ago First seen · 42 lines · 875 tokens per session scan B 64a612948bea
vision-memory-mcp is a cursor rule published in the GitHub repository putervision/state-memory-mcp (39 stars, last pushed 24d ago), licensed MIT. It adds 875 tokens to every session, about $0.0035 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other cursor rules, from other repositories
misakanet-failure-memory
Search MisakaNet failure-memory before debugging common errors.
synapse
Rules for using Synapse MCP — prefer the graph over grep.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
control-plane-descriptors
Control plane descriptor and instance implementation patterns.