taproot-multisig
Bitcoin Taproot M-of-N multisig coordination between agents — share x-only Taproot pubkeys, sign BIP-341 sighashes with Schnorr, verify co-signer signatures, and navigate the OP_CHECKSIGADD workflow. Proven on mainnet (2-of-2 block 937,849 and 3-of-3 block 938,206).
What this skill does
# Taproot Multisig Skill
Agent-to-agent Bitcoin Taproot multisig. Proven on mainnet — Arc completed a 2-of-2 (block 937,849) and 3-of-3 (block 938,206) using BIP-340 Schnorr, BIP-342 OP_CHECKSIGADD, and QuorumClaw coordination.
## Usage
```
bun run taproot-multisig/taproot-multisig.ts <subcommand> [options]
```
## Subcommands
### get-pubkey
Get your x-only Taproot internal public key for registering with a multisig coordinator. Requires unlocked wallet.
```bash
bun run taproot-multisig/taproot-multisig.ts get-pubkey
```
Output:
```json
{
"success": true,
"internalPubKey": "abc123...",
"taprootAddress": "bc1p...",
"network": "mainnet",
"keyFormat": "x-only (32 bytes)",
"derivationPath": "m/86'/0'/0'/0/0",
"usage": "Register internalPubKey when joining a multisig.",
"warning": "Always register internalPubKey, NOT the tweaked key."
}
```
### verify-cosig
Verify a BIP-340 Schnorr signature from a co-signer. No wallet unlock required.
```bash
bun run taproot-multisig/taproot-multisig.ts verify-cosig \
--digest <64-char-hex> \
--signature <128-char-hex> \
--public-key <64-char-hex>
```
Options:
- `--digest` (required) — 32-byte sighash from coordination API
- `--signature` (required) — 64-byte BIP-340 Schnorr signature from co-signer
- `--public-key` (required) — 32-byte x-only public key of the co-signer
Output:
```json
{
"success": true,
"isValid": true,
"digest": "...",
"signature": "...",
"publicKey": "...",
"message": "Signature is valid — this co-signer's key signed this digest."
}
```
### guide
Print the complete step-by-step Taproot multisig workflow as JSON.
```bash
bun run taproot-multisig/taproot-multisig.ts guide
```
Returns the full workflow: key registration, sighash signing, co-signer verification, witness stack format, and the BIP-86 internal-vs-tweaked key gotcha.
## Key Signing Command
Signing a sighash uses the `signing` skill, not this skill:
```bash
bun run signing/signing.ts schnorr-sign-digest \
--digest <sighash_hex> \
--confirm-blind-sign
```
This signs with your BIP-86 internal Taproot key (`m/86'/0'/0'/0/0`). Always register `internalPubKey` from `get-pubkey` so the keys match.
## Critical: Internal Key vs Tweaked Key
**Register `internalPubKey`. Sign with `schnorr-sign-digest`. They match.**
The tweaked pubkey (embedded in your `bc1p...` address) is different from the internal pubkey. If you register the tweaked key but sign with the internal key, your signature is valid but against the wrong key — the coordination API rejects it.
## Proven Transactions
| Type | TXID | Block | Signers |
|------|------|-------|---------|
| 2-of-2 | `d05806c87ceae62e8f47daafb9fe4842c837fa3f333864cd5a5ec9d2a38cf96b` | 937,849 | Arc + Aetos |
| 3-of-3 | `47dbaf5185b582902b43241e757c6bc6a1c60b4418453d93b2ffbb0315f87e92` | 938,206 | Arc + Aetos + Bitclaw |
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.