vision-memory-mcp: Cursor rule for Windsurf

.windsurfrules

windsurfrules is a cursor rule for Windsurf from putervision/vision-memory-mcp. It costs 14,921 tokens per session, scanned B, original, no licence file.

A set of project rules for using vision-memory-mcp to cache visual states, record layout changes, identify interface elements, and avoid repeated image-understanding calls. Visual state means a saved view of what an interface looks like.

In plain words
What is it for?
Use it in projects that need visual-state memory, layout-transition tracking, or element identification during interface work.
Why use it?
Caching visual information can reduce repeated image analysis, while recorded layout changes help an agent track how an interface changes over time. The rules describe how the project should use the memory service.

Cursor rule for Windsurf

Written for Windsurf: a Windsurf rule.

This is putervision/vision-memory-mcp's own configuration. It tells Windsurf how to work on vision-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 vision-memory-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to putervision/vision-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/vision-memory-mcp/main/.windsurfrules
Clone the repo
git clone --depth 1 https://github.com/putervision/vision-memory-mcp

Made for: Windsurf.

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 windsurfrules

README.md
[![agentmods](https://agentmods.dev/badge/rules/putervision/vision-memory-mcp/windsurfrules/github.svg)](https://agentmods.dev/rules/putervision/vision-memory-mcp/windsurfrules)
Your own site
<a href="https://agentmods.dev/rules/putervision/vision-memory-mcp/windsurfrules"><img src="https://agentmods.dev/badge/rules/putervision/vision-memory-mcp/windsurfrules/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 windsurfrules

Your own site · 80×15
<a href="https://agentmods.dev/rules/putervision/vision-memory-mcp/windsurfrules"><img src="https://agentmods.dev/badge/rules/putervision/vision-memory-mcp/windsurfrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14,921 This file is loaded in full into every session.
When invoked 14,921 The same file — it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.14921 $0.14921
Opus 5.5 $0.05968 $0.05968
Sonnet 5.5 $0.02984 $0.02984
Haiku 4.5 $0.01492 $0.01492

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

Security

Grade B, and why

windsurfrules 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 28d 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:
.windsurfrules · 649 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 28d ago Changed · +144 lines · +3,532 tokens per session 1b2729fd5feb
  2. 1mo ago Changed · +36 lines · +883 tokens per session fbf03b382c2e
  3. 1mo ago Changed · +144 lines · +3,532 tokens per session cdcc8abceb06
  4. 1mo ago Changed · +41 lines · +991 tokens per session f1dc9f142a4e
  5. 1mo ago Changed · +72 lines · +1,766 tokens per session 026bbfa6841e
  6. 1mo ago Changed · +134 lines · +2,582 tokens per session 4ad5cffa422c
  7. 1mo ago First seen · 78 lines · 1,635 tokens per session scan B 4d08a90404d3

Subscribe to this mod's changes

windsurfrules is a cursor rule published in the GitHub repository putervision/vision-memory-mcp (40 stars, last pushed 29d ago), with no licence file. It adds 14,921 tokens to every session, about $0.0597 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-09-10.

Related

windsurfrules compared with cursor rules from other repositories

windsurfrules next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
windsurfrulesputervision/vision-memory-mcpCursor rule4029d agononeB14,921Windsurf
cursor-memoryEliasOulkadi/shokuninCursor rule1121mo agoMITA150Cursor
cloudbase-rulesTencentCloudCommunity/mcp-serverCursor rule323mo agoApache-2.0A2,482Cursor
mainalkoleft/mcp-bsl-platform-contextCursor rule2078mo agoMITA0Cursor
memory-bank-pathsalkoleft/mcp-bsl-platform-contextCursor rule2078mo agoMITA385Cursor
php-types-validationdalehurley/php-mcp-sdkCursor rule2711mo agoMITA11Cursor
php-client-implementationdalehurley/php-mcp-sdkCursor rule2711mo agoMITA8Cursor