bch-development

bch-development is a skill for Claude Code from hiromaily/go-crypto-wallet. It costs 43 tokens per session (1,539 once invoked), scanned A, original, MIT.

A set of Bitcoin Cash development rules for code in a specific Go package. It explains how Bitcoin Cash code should extend shared Bitcoin code while keeping currency-specific behavior separate.

In plain words
What is it for?
Use it when implementing or changing Bitcoin Cash API behavior, especially methods that differ from Bitcoin.
Why use it?
It prevents Bitcoin Cash changes from accidentally altering Bitcoin behavior. This keeps the two implementations easier to understand and maintain.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when implementing or changing Bitcoin Cash API behavior, especially methods that differ from Bitcoin.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hiromaily/go-crypto-wallet/bch-development
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.

Any agent
npx skills add hiromaily/go-crypto-wallet --skill bch-development
Clone the repo
git clone --depth 1 https://github.com/hiromaily/go-crypto-wallet

Made for: Claude Code.

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 bch-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/hiromaily/go-crypto-wallet/bch-development/github.svg)](https://agentmods.dev/skills/hiromaily/go-crypto-wallet/bch-development)
Your own site
<a href="https://agentmods.dev/skills/hiromaily/go-crypto-wallet/bch-development"><img src="https://agentmods.dev/badge/skills/hiromaily/go-crypto-wallet/bch-development/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 bch-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/hiromaily/go-crypto-wallet/bch-development"><img src="https://agentmods.dev/badge/skills/hiromaily/go-crypto-wallet/bch-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,539 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.00043 $0.01539
Opus 5 $0.00022 $0.00770
Sonnet 5 $0.00009 $0.00308
Haiku 4.5 $0.00004 $0.00154

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

Security

Grade A, and why

bch-development 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.

.claude/skills/bch-development/SKILL.md · 199 lines

How it starts

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

BCH (Bitcoin Cash) Development Rules

🚨 CRITICAL: Override Pattern for BCH-Specific Logic

This is a non-negotiable architectural rule. BCH implementation uses struct embedding with method override pattern.

Architecture Overview

// internal/infrastructure/api/btc/bch/bitcoin_cash.go
type BitcoinCash struct {
    apibtcimpl.Bitcoin  // Embeds BTC implementation
}

Key Principle: BitcoinCash embeds Bitcoin, inheriting all BTC methods by default.

Rules

✅ DO: Override on BCH Side

When BCH requires different logic from BTC:

  1. Create a new file in internal/infrastructure/api/btc/bch/
  2. Implement the method with the same name on BitcoinCash
  3. This "overrides" the embedded Bitcoin method

❌ DON'T: Modify BTC Side for BCH

  • NEVER modify internal/infrastructure/api/btc/btc/ for BCH-specific requirements
  • NEVER add BCH conditionals in BTC code
  • NEVER add BCH-specific types or logic to the BTC package

Why This Pattern?

Reason Explanation
Separation of Concerns BTC code remains pure and focused
Maintainability BCH changes don't affect BTC
Clarity BCH differences are explicit in BCH directory
Safety BTC modifications can't accidentally break BCH

Implementation Examples

Example 1: GetAddressInfo Override

BCH has a different response structure for getaddressinfo RPC:

// internal/infrastructure/api/btc/bch/address.go
// BCH-specific response type
type GetAddressInfoResult struct {
    Address      string `json:"address"`
    ScriptPubKey string `json:"scriptPubKey"`
    Label        string `json:"label,omitempty"`  // BCH uses Label (singular)
    Labels       []struct {                       // BCH has different Labels structure
        Name    string `json:"name"`
        Purpose string `json:"purpose"`
    } `json:"labels"`
    // ... other BCH-specific fields
}

// Override GetAddressInfo for BCH
func (b *BitcoinCash) GetAddressInfo(addr string) (*dtobtc.AddressInfo, error) {
    // BCH-specific implementation
    // ...
}

Read the full file on GitHub · 199 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. 9d ago First seen · 199 lines · 43 tokens per session scan A f21b76b094a0

Subscribe to this mod's changes

bch-development is a skill published in the GitHub repository hiromaily/go-crypto-wallet (127 stars, last pushed 4mo ago), licensed MIT. It adds 43 tokens to every session and 1,539 once invoked, about $0.0002 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-01.

Related

Other skills, from other repositories

agent-wallet

Operate a non-custodial blockchain wallet on-chain (EVM and Bitcoin), no exchange or MetaMask. Create or import a wallet, balances, send native/ERC-20/BTC, swap tokens, compile/deploy/call Solidity. Trigger on wallet, crypto, ETH, BTC, ERC-20, token, send, transfer, swap, trade, Solidity, contract, on-chain, testnet…

hec-ovi/blockchain-skill · 93 tokens

agent-solidity

Write, audit and deploy Solidity smart contracts through a gated multi-step workflow (spec, threat model, design, implementation, in-process EVM proof, security audit, deployment), with a local EVM sandbox that needs no Foundry, Hardhat, anvil, node or funds. Trigger on Solidity, smart contract, .sol, ERC-20, ERC-721…

hec-ovi/blockchain-skill · 122 tokens

bytesagain-wallet-tracker

Crypto wallet analytics reference — address formats, on-chain analytics, transaction tracing, hardware wallets, and approval revocation.

bytesagain/ai-skills · 28 tokens

agent-wallet

Operate a non-custodial blockchain wallet on-chain (EVM and Bitcoin), no exchange or MetaMask. Create or import a wallet, balances, send native/ERC-20/BTC, swap tokens, compile/deploy/call Solidity. Trigger on wallet, crypto, ETH, BTC, ERC-20, token, send, transfer, swap, trade, Solidity, contract, on-chain, testnet…

hec-ovi/blockchain-skill · 93 tokens

analyzing-ethereum-smart-contract-vulnerabilities

Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.

mukul975/Anthropic-Cybersecurity-Skills · 49 tokens

analyzing-ethereum-smart-contract-vulnerabilities

Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.

xalgorix/xalgorix · 49 tokens