cursorrules

A set of coding rules derived from a project’s .github/AGENTS.md file, including required checks, formatting, naming, commits, and pull requests.

In plain words
What is it for?
Use it when contributing to the project to run formatting, linting, vetting, and tests, and to prepare correctly structured commits and pull requests.
Why use it?
It tells contributors how to make changes that match the project’s existing development and review process.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/bsv-blockchain/spv-wallet-go-client/cursorrules
Clone the repo
git clone --depth 1 https://github.com/bsv-blockchain/spv-wallet-go-client

Made for: Cursor.

Per session 217 This file is loaded in full into every session.
When invoked 217 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00217 $0.00217
Opus 5 $0.00109 $0.00109
Sonnet 5 $0.00043 $0.00043
Haiku 4.5 $0.00022 $0.00022

Measured yesterday against content hash 5263be9ce4eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cursorrules 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 yesterday.

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.

.cursorrules · 23 lines

What it actually says

Cursor Rules derived from .github/AGENTS.md

Read AGENTS.md First

All contributors must read .github/AGENTS.md for complete guidelines. If any rule here conflicts with that file, AGENTS.md takes precedence.

Coding Standards

  • Format with magex format:fix.
  • Lint with magex lint and vet with magex vet.
  • Run magex test before committing.
  • Follow Go naming and commenting conventions described in AGENTS.md.

Commit Messages

  • Use the format <type>(<scope>): <imperative short description>.
  • Types include feat, fix, docs, test, refactor, chore, build, ci.

Pull Requests

  • Title format: [Subsystem] Imperative and concise summary of change.
  • Description must include the sections:
    1. What Changed
    2. Why It Was Necessary
    3. Testing Performed
    4. Impact / Risk
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. yesterday First seen · 23 lines · 217 tokens per session scan A 5263be9ce4eb

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository bsv-blockchain/spv-wallet-go-client (23 stars, last pushed 6d ago), licensed MIT. It adds 217 tokens to every session, about $0.0011 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-08-30.