blockchain-bitcoin
Use this skill when asked about Bitcoin internals, Bitcoin Core, Bitcoin Script, Taproot, mining, Proof of Work, Lightning Network, BIP standards, Ordinals…
от j4flmao★ 47 звёзд на GitHub
Установить blockchain-bitcoin в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Blockchain Bitcoin
Purpose
Guide Bitcoin protocol engineering, Bitcoin Core development, Bitcoin Script programming, mining infrastructure, Lightning Network implementation, and Bitcoin L2 ecosystem. Covers the full stack from consensus protocol to application layer.
Agent Protocol
Trigger
"Bitcoin", "Bitcoin Core", "bitcoind", "Bitcoin Script", "BTC script", "Taproot", "Bitcoin opcode", "P2PKH", "P2SH", "P2WSH", "mining Bitcoin", "Proof of Work Bitcoin", "SHA-256d", "ASIC mining", "Stratum", "Lightning Network", "LN", "HTLC", "onion routing", "channel", "Ordinals", "inscription", "BRC-20", "Runes", "Bitcoin NFT", "Bitcoin L2", "Stacks", "Clarity", "RSK", "Rootstock", "Babylon", "Bitcoin staking", "BIP standard", "BIP-32", "BIP-39", "BIP-44", "BIP-340", "BIP-341", "BIP-342", "PSBT", "Bitcoin mempool", "UTXO", "Bitcoin C++", "Bitcoin protocol"
Input Context
- Layer (consensus/wallet/L2/application)
- Bitcoin Core version for implementation reference
- Script requirements (Taproot vs legacy, opcode set)
- Security model (trust assumptions, finality requirements)
- Performance requirements (TPS, confirmation time, cost)
Output Artifact
Technical specification covering: scope, architecture, key mechanisms, implementation approach, and L2 integration where applicable.
Response Format
- Scope: consensus layer vs wallet vs L2 vs application protocol
- Architecture: Bitcoin Core component breakdown, data flow, key source files
- Key mechanisms: PoW difficulty, Script execution, UTXO set management
- Implementation: C++ patterns, data structures, optimization techniques
- Layer 2: Lightning Network architecture, channel lifecycle, or L2 integration
Completion Criteria
- Consensus rules correctly referenced from Bitcoin Core source (src/validation.cpp)
- Script operations specify witness vs legacy, opcode restrictions
- Security model accounts for probabilistic finality (6+ confirmations)
- Implementation respects Bitcoin's conservative upgrade philosophy
- Layer 2 design addresses griefing and channel force-close scenarios
Max Response Length
5000 tokens
Decision Trees
Protocol Layer Decision
Bitcoin-related task:
├── Consensus protocol?
│ ├── Block validation → src/validation.cpp (CheckBlock, ConnectBlock)
│ ├── Transaction validation → src/consensus/tx_verify.cpp
│ ├── PoW verification → src/pow.cpp (CheckProofOfWork, GetNextWorkRequired)
│ └── Mempool policy → src/txmempool.cpp (accept limits, replace-by-fee)
├── Wallet operations?
│ ├── Key management → BIP-32/39/44/84/86 derivation paths
│ ├── Transaction building → src/wallet/wallet.cpp (CreateTransaction)
│ ├── PSBT → BIP-174 (Partially Signed Bitcoin Transaction)
│ └── Descriptors → Output script descriptors (BIP-380+)
├── Layer 2?
│ ├── Lightning Network → HTLC, channel lifecycle, routing
│ ├── Stacks → Clarity smart contracts, PoX consensus
│ ├── RSK → EVM-compatible sidechain with merge mining
│ └── Babylon → Bitcoin staking, restaking security
└── Token/application protocol?
├── Ordinals → Inscription (envelope OP_FALSE OP_IF OP_PUSH ... OP_ENDIF)
├── BRC-20 → JSON inscription-based token standard
└── Runes → UTXO-based token protocol by Casey Rodarmor
Script Standard Decision
Output script type:
├── Pay-to-Public-Key-Hash (P2PKH): Legacy, address starts with 1
│ └── Script: OP_DUP OP_HASH160 <pubkeyHash> OP_EQUALVERIFY OP_CHECKSIG
├── Pay-to-Script-Hash (P2SH): Multi-sig, address starts with 3
│ └── Script: OP_HASH160 <scriptHash> OP_EQUAL (redeem script revealed on spend)
├── Pay-to-Witness-Public-Key-Hash (P2WPKH): SegWit, address starts with bc1q
│ └── Witness: <signature> <pubkey> (removed from scriptSig, lower fees)
├── Pay-to-Witness-Script-Hash (P2WSH): SegWit multi-sig, bc1q
│ └── Witness: <signature> <witnessScript> (discount vs P2SH)
├── Pay-to-Taproot (P2TR): Taproot, address starts with bc1p
│ ├── Single key → Key path spend (default, cheapest)
│ └── Script tree → Script path spend via MAST tree
└── Recommendation: Always prefer P2TR (Taproot) for new addresses
Mempool Policy Decision
Transaction acceptance:
├── Standard relay?
│ ├── Minimum fee: 1 sat/vB (default, configurable via -minrelaytxfee)
│ ├── Maximum tx size: 100KB standard, 400KB consensus
│ └── BIP-125 RBF: opt-in replace-by-fee signaled via sequence < 0xfffffffe
├── Full RBF (v26+)?
│ └── All unconfirmed transactions replaceable regardless of signal
├── Package relay (BIP-331)?
│ └── Child-pays-for-parent: submit parent+child together for CPFP
└── Cluster mempool (proposed)?
└── Linearize mempool by fee clusters, better CPFP/RBF eviction
Bitcoin Script Patterns
Standard P2PKH Spend
// ScriptSig: <sig> <pubkey>
// ScriptPubKey: OP_DUP OP_HASH160 <pubkeyHash> OP_EQUALVERIFY OP_CHECKSIG
// Execution:
// 1. Push sig, push pubkey
// 2. OP_DUP: duplicate pubkey
// 3. OP_HASH160: hash the pubkey
// 4.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/bip-standards.md
- references/bitcoin-core-deep.md
- references/bitcoin-l2s.md
- references/bitcoin-script-and-taproot.md
- references/blockchain-bitcoin-advanced.md
- references/blockchain-bitcoin-fundamentals.md
- references/mining-pow.md
- references/ordinals-runes.md
- references/reference_guide_1.md
- references/reference_guide_2.md
- references/reference_guide_3.md
- references/reference_guide_4.md
- references/reference_guide_5.md
- references/reference_guide_6.md
- references/reference_guide_7.md
- references/reference_guide_8.md
FAQ
Что делает скилл blockchain-bitcoin?
Use this skill when asked about Bitcoin internals, Bitcoin Core, Bitcoin Script, Taproot, mining, Proof of Work, Lightning Network, BIP standards, Ordinals, BRC-20, Runes, Bitcoin L2s (Stacks, RSK, Babylon), and Bitcoin protocol development. Languages: C++, Rust, Python, Clarity. Covers Bitcoin Core C++ implementation (validation, mempool, wallet, P2P), Bitcoin Script opcodes and programming (P2PKH, P2SH, P2WSH, Taproot MAST), token protocols (Ordinals inscriptions, BRC-20, Runes), PoW mining mechanics (SHA-256d, difficulty adjustment, ASICs, Stratum), L2 scaling (Lightning Network, Stacks Clarity, RSK EVM, Babylon staking), and BIP standards (BIP-32/39/44/84/86/174/340/341/342). Do NOT use for: Ethereum protocol (use blockchain-ethereum), smart contract development (use blockchain-application), or general blockchain patterns (use blockchain-patterns).
Как установить скилл blockchain-bitcoin?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл blockchain-bitcoin запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…