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/hiromaily/go-crypto-walletWrote 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/commands/hiromaily/go-crypto-wallet/fix-btc-e2e-p7)<a href="https://agentmods.dev/commands/hiromaily/go-crypto-wallet/fix-btc-e2e-p7"><img src="https://agentmods.dev/badge/commands/hiromaily/go-crypto-wallet/fix-btc-e2e-p7/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/commands/hiromaily/go-crypto-wallet/fix-btc-e2e-p7"><img src="https://agentmods.dev/badge/commands/hiromaily/go-crypto-wallet/fix-btc-e2e-p7.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.00000 | $0.00445 |
| Opus 5 | $0.00000 | $0.00222 |
| Sonnet 5 | $0.00000 | $0.00089 |
| Haiku 4.5 | $0.00000 | $0.00044 |
Grade A, and why
fix-btc-e2e-p7 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 9d 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.
This is a copy
88% identical to fix-btc-e2e-p6 — 38 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.
What it actually says
Fix BTC E2E Pattern 7 #{issue_number}
Fix errors in BTC E2E test (Pattern 7: P2WSH 3-of-3 Multisig).
Prerequisites
MUST read: @.claude/rules/btc/e2e-script.md (common rules, errors, debug commands)
Pattern 7 Specifications
| Item | Value |
|---|---|
| Pattern | 7 - P2WSH 3-of-3 Multisig |
| address_type | bech32 |
| Address Format | bcrt1q... (62 chars, regtest) |
| Descriptor | wsh(sortedmulti(3,[fp/84'/0'/0']xpub1/0/*,...)) |
| Signature | 3-of-3 (all required) |
| Wallets | watch, keygen, sign1, sign2 |
Execution
make btc-e2e-reset P=7
make btc-e2e-verbose P=7
make btc-e2e-cleanup P=7
Pattern-Specific Files
| Type | File |
|---|---|
| Script | scripts/operation/btc/e2e/e2e-p7-p2wsh-3of3.sh |
| Account Config | config/wallet/account/account_3of3.yaml |
Signing Flow (3-of-3)
Watch → Keygen (1st) → Sign1 (2nd) → Sign2 (3rd) → Watch (broadcast)
※ ALL 3 signatures required
Pattern 7 vs Pattern 6
| Item | Pattern 6 | Pattern 7 |
|---|---|---|
| Signature | 2-of-3 | 3-of-3 |
| Sign2 | Not required | Required |
Git Workflow
When {issue_number} is specified:
- Branch:
fix/btc-e2e-p7-{issue_number} - Commit:
fix(btc): ...
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.
- 9d ago First seen · 56 lines · 0 tokens per session scan A bb27e686d045
fix-btc-e2e-p7 is a command 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 445 tokens. A static security scan graded it A with 0 findings. It is 88% identical to fix-btc-e2e-p6, differing in 38 lines, and is treated as a copy.
Other commands, from other repositories
invariant
Generate Foundry invariant tests for property-based fuzzing. The high-value command for serious teams.
coverage
Run forge coverage, identify untested branches, generate tests to close gaps.
agent-wallet
Use the bundled agent-wallet skill to operate a non-custodial wallet directly on-chain (EVM and Bitcoin).
krait-fuzz
Run an invariant-based fuzzing campaign: Understand → Extract Invariants → Generate Foundry Tests → Run & Fix Iteratively → Report.
CLAUDE
Command "CLAUDE" from Calhooon/bsv-wallet-cli, covering commands, files, decisions, gotchas and related.
audit
Full security audit of a Solidity/Vyper/Rust contract or directory. Runs the entire vuln-skills library and dispatches DeFi specialist subagents based on detected protocol type.