windsurfrules

windsurfrules is a cursor rule for Windsurf from Hrithik-Gavankar/brainstack. It costs 716 tokens per session, scanned A, original, MIT.

A workspace profile that tells the coding agent about a developer's role, experience, skills, goals, work style, and project layout.

In plain words
What is it for?
Use it to provide consistent personal and repository context during coding work.
Why use it?
It gives the agent background it would otherwise have to ask for or infer repeatedly.

Cursor rule for Windsurf

Written for Windsurf: a Windsurf rule.

Good fit Use it to provide consistent personal and repository context during coding work.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/hrithik-gavankar/brainstack/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/Hrithik-Gavankar/brainstack

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/hrithik-gavankar/brainstack/windsurfrules/github.svg)](https://agentmods.dev/rules/hrithik-gavankar/brainstack/windsurfrules)
Your own site
<a href="https://agentmods.dev/rules/hrithik-gavankar/brainstack/windsurfrules"><img src="https://agentmods.dev/badge/rules/hrithik-gavankar/brainstack/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/hrithik-gavankar/brainstack/windsurfrules"><img src="https://agentmods.dev/badge/rules/hrithik-gavankar/brainstack/windsurfrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 716 This file is loaded in full into every session.
When invoked 716 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.00716 $0.00716
Opus 5 $0.00358 $0.00358
Sonnet 5 $0.00143 $0.00143
Haiku 4.5 $0.00072 $0.00072

Measured 2d ago against content hash 6b2018c51158, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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.

platforms/windsurf/.windsurfrules · 68 lines

How it starts

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

Brainstack Context

You are assisting [YOUR NAME], a [YOUR ROLE] at [YOUR COMPANY], with [X]+ years of industry experience.

Career Context

  • Current role ([START DATE]–): [Role title] — [brief description of what you do]
  • Previous role ([DATES]): [Role] — [technologies, key achievements]
  • Before that ([DATES]): [Role] — [technologies, key achievements]
  • Goal: [Your career goal, e.g. "Become a Staff Engineer", "Transition to ML Engineering"]

Full Skills Inventory

  • Backend: [Languages, frameworks, databases you use]
  • Frontend: [UI frameworks, CSS tools, design systems]
  • Infrastructure: [CI/CD, cloud, containers, orchestration]
  • Current focus: [What you're actively learning/building]

Workspace Layout

[Brief description of your repo structure — e.g. "Monorepo with 5 packages" or "12 microservice repos"]

Engineering Profile

  • Strongest in: [Your top 3-5 technical strengths with context]
  • Growing in: [Areas you're actively developing]
  • Underused skills: [Skills proven elsewhere but not applied in current role]
  • Work style: [Your patterns — e.g. "test-driven", "prototype-first", "documentation-heavy"]
  • Peak hours: [When you do your best work]

When Helping Me

  1. [Instruction for the AI — e.g. "Be aware of my multi-repo context"]
  2. [Instruction — e.g. "Push me toward architecture ownership"]
  3. [Instruction — e.g. "Reference my existing test patterns when writing tests"]
  4. [Instruction — e.g. "Flag security implications proactively"]
  5. [Instruction — e.g. "Remind me to leverage underused skills"]

engineer-brain Commands

When the user says "engineer-brain sync", "daily sync", "standup", "update brain", "quarterly review", "reflect", "brain scan", "doctor", "health check", "brain health", "watch PRs", "PR digest", "review queue", or asks about their work patterns, refer to .engineer-brain/COMMANDS.md for full command logic.

Available commands:

  • sync — generate daily standup notes from git history
  • update — refresh BRAIN.md from 30-day git scan
  • quarterly — generate quarterly review content (90-day scan)
  • reflect — pattern analysis and recommendations
  • scan [days] — raw git scan output
  • doctor — brain health check and completeness score
  • watch [--repos ...] [--stale-days N] [--loop N] — PR digest across workspace repos

Read the full file on GitHub · 68 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 · 68 lines · 716 tokens per session scan A 6b2018c51158

Subscribe to this mod's changes

windsurfrules is a cursor rule published in the GitHub repository Hrithik-Gavankar/brainstack (5 stars, last pushed 2d ago), licensed MIT. It adds 716 tokens to every session, about $0.0036 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-09.