basics

basics is a cursor rule for Cursor from hiromaily/go-crypto-wallet. It costs 0 tokens per session (1,360 once invoked), scanned A, original, MIT.

A set of development rules for Bitcoin code in a Go cryptocurrency wallet. It points developers to documentation about wallet architecture, transactions, addresses, key generation, offline signing, Taproot, and multisignature wallets.

In plain words
What is it for?
Use it when changing Bitcoin wallet architecture, transaction flows, address handling, key generation, PSBT signing, Taproot, or MuSig2 multisignature code.
Why use it?
It directs work to the relevant Bitcoin documentation before code changes are made. This helps prevent misunderstandings about Bitcoin-specific behavior.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions Claude Code.

Good fit Use it when changing Bitcoin wallet architecture, transaction flows, address handling, key generation, PSBT signing, Taproot, or MuSig2 multisignature code.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/hiromaily/go-crypto-wallet/basics
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/hiromaily/go-crypto-wallet

Made for: Cursor.

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 basics

README.md
[![agentmods](https://agentmods.dev/badge/rules/hiromaily/go-crypto-wallet/basics.svg)](https://agentmods.dev/rules/hiromaily/go-crypto-wallet/basics)
Your own site
<a href="https://agentmods.dev/rules/hiromaily/go-crypto-wallet/basics"><img src="https://agentmods.dev/badge/rules/hiromaily/go-crypto-wallet/basics.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,360 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.01360
Opus 5 $0.00000 $0.00680
Sonnet 5 $0.00000 $0.00272
Haiku 4.5 $0.00000 $0.00136

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

Security

Grade A, and why

basics 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 5d 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.

.cursor/rules/chains/btc/basics.mdc · 113 lines

How it starts

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

Claude Rules - Bitcoin (BTC) Development

Overview

Rules for Claude Code when working on BTC-related code in go-crypto-wallet. Always consult the documentation under docs/chains/btc/ for context before making changes.

Documentation Map

Start Here

Task Primary Doc
Understand wallet architecture docs/chains/btc/architecture.md
Bitcoin protocol fundamentals docs/chains/btc/README.md
Transaction flow (BTC-specific) docs/chains/btc/operations/wallet-flow.md
E2E transaction patterns docs/chains/btc/operations/e2e-transaction-patterns.md

By Topic

Topic Documents
Address types & derivation paths overview/address-types.md, overview/technical-reference.md
Key generation keygen/improvements-2025.md, keygen/interface-design.md
PSBT (offline signing) psbt/user-guide.md, psbt/developer-guide.md, psbt/implementation.md
Output Descriptors descriptor/architecture.md, descriptor/api.md, descriptor/development.md
Taproot (BIP86/P2TR) taproot/user-guide.md, taproot/testing.md
MuSig2 multisig musig2/architecture.md, musig2/user-guide.md, musig2/security.md
Testing & verification testing/README.md, testing/pattern3-verification.md

Read the full file on GitHub · 113 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. 5d ago First seen · 113 lines · 0 tokens per session scan A d72345c3e159

Subscribe to this mod's changes

basics is a cursor rule published in the GitHub repository hiromaily/go-crypto-wallet (127 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,360 tokens. 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-01.