windsurfrules

windsurfrules is a cursor rule for Windsurf from PIsberg/vibetags. It costs 1,801 tokens per session, scanned A, original, MIT.

A set of coding rules that requires a security review before proposed edits or new code are shown for certain listed files and methods. It also marks some payment and security code as locked or requiring approval.

In plain words
What is it for?
Use it when working in a project where specific files or methods must not be changed without security review or a team approval ticket.
Why use it?
It helps prevent changes to sensitive code that could break payments, authentication, encryption, or other security controls.

Cursor rule for Windsurf

Written for Windsurf: a Windsurf rule.

Good fit Use it when working in a project where specific files or methods must not be changed without security review or a team approval ticket.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/pisberg/vibetags/windsurfrules
Install

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.

Clone the repo
git clone --depth 1 https://github.com/PIsberg/vibetags

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/pisberg/vibetags/windsurfrules/github.svg)](https://agentmods.dev/rules/pisberg/vibetags/windsurfrules)
Your own site
<a href="https://agentmods.dev/rules/pisberg/vibetags/windsurfrules"><img src="https://agentmods.dev/badge/rules/pisberg/vibetags/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/pisberg/vibetags/windsurfrules"><img src="https://agentmods.dev/badge/rules/pisberg/vibetags/windsurfrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,801 This file is loaded in full into every session.
When invoked 1,801 The same file — it is already loaded in full.
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.01801 $0.01801
Opus 5 $0.00901 $0.00901
Sonnet 5 $0.00360 $0.00360
Haiku 4.5 $0.00180 $0.00180

Measured 2d ago against content hash eeb814111877, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

windsurfrules 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 2d 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.

examples/basic/.windsurfrules · 89 lines

How it starts

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

VIBETAGS-START

AUTO-GENERATED AI RULES

Generated by VibeTags | https://github.com/PIsberg/vibetags

Do not edit manually.

LOCKED FILES (DO NOT EDIT)

  • com.example.payment.PaymentProcessor - Reason: Tied to legacy database schema v2.3. Changes will break production payment processing. Contact the payments team before modifying.
  • com.example.security.SecurityConfig - Reason: CRITICAL: Security configuration managed by DevOps team. Any changes require security review and approval ticket SEC-XXXX
  • com.example.security.SecurityConfig.getEncryptionAlgorithm() - Reason: Encryption algorithm tied to compliance requirements (PCI-DSS)
  • com.example.security.SecurityConfig.getKeyRotationHours() - Reason: Key rotation period mandated by company policy
  • com.example.security.SecurityConfig.getMaxLoginAttempts() - Reason: Max login attempts set by security team to prevent brute force
  • com.example.security.SecurityConfig.validateToken(java.lang.String) - Reason: Token validation must match auth server exactly. Changes will break all client authentication
  • com.example.service.OrderService.calculateTax(java.lang.String,double) - Reason: Tax calculation uses Avalara API integration. Credentials and endpoint configuration managed by finance team.
  • com.example.service.OrderService.processPayment(java.lang.String,double) - Reason: Payment processing uses Stripe API v2024.10. Changes require PCI compliance review.
  • com.example.service.OrderService.validateOrder(java.util.Map<java.lang.String,java.lang.Object>) - Reason: Order validation implements 47 business rules. Last changed in Q2 2024 after 3-month testing cycle. DO NOT MODIFY without running full test suite.

🛡️ MANDATORY SECURITY AUDITS

When proposing edits or writing code for the following files, you MUST perform a security review before outputting the final code.

  • com.example.database.DatabaseConnector
    • Required Checks: SQL Injection, Thread Safety issues

🚫 IGNORED ELEMENTS (EXCLUDE FROM CONTEXT)

Do not reference, suggest changes to, or include the following in completions or answers.

Read the full file on GitHub · 89 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. 2d ago First seen · 89 lines · 1,801 tokens per session scan A eeb814111877

Subscribe to this mod's changes

windsurfrules is a cursor rule published in the GitHub repository PIsberg/vibetags (15 stars, last pushed yesterday), licensed MIT. It adds 1,801 tokens to every session, about $0.0090 per session on Opus 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-06.