child-inscription/SKILL.md
Parent-child Ordinals inscriptions — estimate fees, broadcast commit tx, and reveal child inscription establishing on-chain provenance per the Ordinals provenance spec.
npx skillsauth add aibtcdev/skills child-inscriptionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Creates parent-child Ordinals inscriptions per the Ordinals provenance spec. The inscription owner spends the parent UTXO in the reveal transaction, embedding a pointer that establishes on-chain provenance for the child.
bun run child-inscription/child-inscription.ts <subcommand> [options]
Calculate the total cost (commit fee + reveal amount) for a child inscription without broadcasting anything.
bun run child-inscription/child-inscription.ts estimate \
--parent-id <inscription-id> \
--content-type <mime> \
--content <string>
Options:
--parent-id (required) — Parent inscription ID, e.g. abc123...i0--content-type (required) — MIME type, e.g. text/plain or image/png--content (required) — Content as a UTF-8 string (base64-encoded internally)--fee-rate (optional) — Fee rate in sat/vB; defaults to current mempool medium feeOutput:
{
"parentId": "abc123...i0",
"contentType": "text/plain",
"contentSize": 42,
"feeRate": 12,
"fees": {
"commitFee": 1440,
"revealFee": 2100,
"revealAmount": 3394,
"totalCost": 4834
},
"breakdown": "Commit tx: 1440 sats | Reveal amount: 3394 sats (includes 2100 reveal fee) | Total: 4834 sats"
}
Broadcast the commit transaction (Step 1). The commit locks funds into a pay-to-taproot address encoding the inscription script. After this confirms, run reveal.
bun run child-inscription/child-inscription.ts inscribe \
--parent-id <inscription-id> \
--content-type <mime> \
--content <string> \
[--fee-rate <sats-per-vbyte>]
Options:
--parent-id (required) — Parent inscription ID. Your wallet must own this inscription (verified on-chain).--content-type (required) — MIME type of the child content.--content (required) — Child content as a UTF-8 string.--fee-rate (optional) — Fee rate: fast, medium, slow, or an integer in sat/vB (default: medium).Output:
{
"status": "commit_broadcast",
"commitTxid": "deadbeef...",
"commitExplorerUrl": "https://mempool.space/tx/deadbeef...",
"revealAddress": "bc1p...",
"revealAmount": 3394,
"commitFee": 1440,
"feeRate": 12,
"parentInscriptionId": "abc123...i0",
"contentType": "text/plain",
"contentSize": 42,
"nextStep": "After commit confirms, call reveal with commitTxid and revealAmount from this response."
}
Broadcast the reveal transaction (Step 2). This spends the commit output and the parent UTXO simultaneously, creating the child inscription and returning the parent to your address.
Wait for the commit tx to confirm before calling this.
bun run child-inscription/child-inscription.ts reveal \
--commit-txid <txid> \
--vout <num>
Options:
--commit-txid (required) — Txid of the confirmed commit transaction (from the inscribe step).--vout (required) — Output index of the commit transaction (almost always 0).Note: Content, content-type, parent-id, and reveal-amount are read from the .child-inscription-state.json file written by the inscribe subcommand.
Output:
{
"status": "success",
"inscriptionId": "revealthash...i0",
"parentInscriptionId": "abc123...i0",
"contentType": "text/plain",
"contentSize": 42,
"commit": {
"txid": "deadbeef...",
"explorerUrl": "https://mempool.space/tx/deadbeef..."
},
"reveal": {
"txid": "revealthash...",
"fee": 2100,
"explorerUrl": "https://mempool.space/tx/revealthash..."
},
"recipientAddress": "bc1p..."
}
estimate first to understand total cost before committing funds.inscribe subcommand writes a .child-inscription-state.json file in the current working directory. Do not delete it before running reveal.inscribe and reveal steps. Do not transfer the parent during this window.bun run wallet/wallet.ts unlock first).NETWORK environment variable).development
Web of Trust operations for Nostr pubkeys — trust scoring, sybil detection, trust path analysis, neighbor discovery, follow recommendations, and network health. Free tier (wot.klabo.world, 50 req/day) with paid fallback (maximumsats.com, 100 sats via L402). Covers 52K+ pubkeys and 2.4M+ zap-weighted trust edges. Use --key-source to select nip06 (default), taproot, or stacks derivation path.
data-ai
BTC ordinals marketplace operations via Magic Eden — browse active listings, list inscriptions for sale via PSBT flow, submit signed listings, buy inscriptions, and cancel active listings. BTC ordinals only (not Solana). Mainnet-only.
testing
Pay-per-call access to LunarCrush social and market intelligence (Galaxy Score, AltRank, market cap rank, price, 24h change) via x402 on Stacks. USD-pegged pricing recomputed hourly from live STX/USD. Mainnet endpoint live; testnet supported.
devops
Detects HODLMM LP inventory drift (token-ratio imbalance from one-sided swap flow) and restores the target ratio via a corrective Bitflow swap plus a hodlmm-move-liquidity redeploy, gated by the 4h per-pool cooldown.