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/benseverndev-oss/goldenmatchWrote 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/benseverndev-oss/goldenmatch/windsurfrules)<a href="https://agentmods.dev/rules/benseverndev-oss/goldenmatch/windsurfrules"><img src="https://agentmods.dev/badge/rules/benseverndev-oss/goldenmatch/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.
<a href="https://agentmods.dev/rules/benseverndev-oss/goldenmatch/windsurfrules"><img src="https://agentmods.dev/badge/rules/benseverndev-oss/goldenmatch/windsurfrules.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.01317 | $0.01317 |
| Opus 5.5 | $0.00527 | $0.00527 |
| Sonnet 5.5 | $0.00263 | $0.00263 |
| Haiku 4.5 | $0.00132 | $0.00132 |
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 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- System Python for Postgres: `sudo rm -f /usr/lib/python3/dist-packages/typing_extensions.py` then `sudo pip install --break-system-packages goldenmatch` This is a copy
100% identical to cursorrules — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GoldenMatch Extensions
Native SQL extensions for GoldenMatch (D:\show_case\goldenmatch).
Related Projects
- Main repo:
D:\show_case\goldenmatch-- Python entity resolution toolkit (v1.1.0+). - This repo: Rust bridge + Postgres extension + DuckDB Python UDFs
- PyPI packages:
goldenmatch(Python),goldenmatch-duckdb(DuckDB UDFs)
Branch & Merge SOP (all Golden Suite repos)
- Feature work goes on
feature/<name>branches, never directly to main - Merge via squash merge PR (watchers see PR activity, history stays clean)
- PR title format:
feat: <description>orfix: <description> - PR body: summary bullets + test plan
- Merge when: tests pass, docs updated. Days not weeks.
- After merge: delete remote branch
Environment
- Windows 11, bash shell (Git Bash) -- use Unix paths
- Two GitHub accounts:
benzsevern(personal, for this repo) andbenzsevern-mjh(work) - MUST
gh auth switch --user benzsevernbefore push, switch back tobenzsevern-mjhafter - Rust 1.94.0 at
C:\Users\bsevern\.cargo\bin-- must setRUSTUP_HOME="C:/Users/bsevern/.rustup"andCARGO_HOME="C:/Users/bsevern/.cargo"in every bash command - No admin privileges -- no LLVM/libclang, no WSL2. pgrx builds only work in CI (Linux)
- PostgreSQL 16 portable at
C:\Users\bsevern\tools\pg16portable\pgsql - Bridge crate compiles locally. Postgres crate requires Linux (CI only).
Architecture
- Rust workspace (
Cargo.toml) contains onlybridge/crate postgres/is excluded from workspace (exclude = ["postgres"]) -- pgrx 0.12.9 bug with SQL generation in workspace modeduckdb/is a standalone Python package (not Rust)
bridge/ (goldenmatch-bridge)
- Shared crate: embeds CPython via pyo3, calls goldenmatch Python API
api.rs-- wrappers for dedupe, match, score_strings, score_pair, explain_pair, dedupe_pairs (structured), dedupe_clusters (structured)convert.rs-- JSON <-> Polars DataFrame conversion (future: Arrow C Data Interface)error.rs-- BridgeError enum with From impls for PyErr and ArrowError
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 · 74 lines · 1,317 tokens per session scan B 8ee84a9d5cb2
windsurfrules is a cursor rule published in the GitHub repository benseverndev-oss/goldenmatch (133 stars, last pushed today), licensed MIT. It adds 1,317 tokens to every session, about $0.0053 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). It is 100% identical to cursorrules, differing in 0 lines, and is treated as a copy.
Other cursor rules, from other repositories
git-commits
Git commit safety — commits are human-only; AI suggests, never executes.
release-changelog
Keep a Changelog and semver steps when cutting dbt-doctor releases.
adapter-features
Database-specific features must be implemented in the specialized adapter only. Base adapters (postgres, mysql, etc.) must remain database-agnostic.
postgresql
PostgreSQL production rules. Safe migrations, parameterized queries, TIMESTAMPTZ, proper indexing strategy.
netlify-database-migration-from-extension
Switching to Netlify Database. Reference for the netlify-database skill.
roslyn-mcp-version-bump
Auto-bump Version after successful MCP self-build and reload.