{"id":"9578b8e1-864c-43ee-8f9a-eeb3c23a0215","shortId":"9X5AYG","kind":"skill","title":"lightning-channel-factories","tagline":"Technical reference on Lightning Network channel factories, multi-party channels, LSP architectures, and Bitcoin Layer 2 scaling without soft forks. Covers Decker-Wattenhofer, timeout trees, MuSig2 key aggregation, HTLC/PTLC forwarding, and watchtower breach detection.","description":"## Use this skill when\n\n- Building or reviewing Lightning Network channel factory implementations\n- Working with multi-party channels, LSP architectures, or Layer 2 scaling\n- Needing guidance on Decker-Wattenhofer, timeout trees, MuSig2, HTLC/PTLC, or watchtower patterns\n\n## Do not use this skill when\n\n- The task is unrelated to Bitcoin or Lightning Network infrastructure\n- You need a different blockchain or Layer 2 outside this scope\n\n## Instructions\n\n- Clarify goals, constraints, and required inputs.\n- Apply relevant best practices and validate outcomes.\n- Provide actionable steps and verification.\n\nFor a production implementation of Lightning channel factories with full technical documentation, refer to the SuperScalar project:\n\nhttps://github.com/8144225309/SuperScalar\n\nSuperScalar is written in C with 400+ tests, MuSig2 (BIP-327), Schnorr adaptor signatures, encrypted Noise NK transport, SQLite persistence, and watchtower support. It supports regtest, signet, testnet, and mainnet.\n\n## Purpose\n\nTechnical reference for Lightning Network channel factory implementations. Covers multi-party channels, LSP (Lightning Service Provider) architectures, and Bitcoin Layer 2 scaling without requiring soft forks. Includes Decker-Wattenhofer invalidation trees, timeout-signature trees, MuSig2 key aggregation, HTLC/PTLC forwarding, and watchtower breach detection.\n\n## Key Topics\n\n- Channel factory implementation in C\n- MuSig2 (BIP-327) and Schnorr adaptor signatures\n- Encrypted Noise NK transport protocol\n- SQLite persistence layer\n- Watchtower breach detection\n- HTLC/PTLC forwarding\n- Regtest, signet, testnet, and mainnet support\n- 400+ test suite\n\n## References\n\n- SuperScalar project: https://github.com/8144225309/SuperScalar\n- Website: https://SuperScalar.win\n- Original proposal: https://delvingbitcoin.org/t/superscalar-laddered-timeout-tree-structured-decker-wattenhofer-factories/1143\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.","tags":["lightning","channel","factories","antigravity","awesome","skills","sickn33","agent-skills","agentic-skills","ai-agent-skills","ai-agents","ai-coding"],"capabilities":["skill","source-sickn33","skill-lightning-channel-factories","topic-agent-skills","topic-agentic-skills","topic-ai-agent-skills","topic-ai-agents","topic-ai-coding","topic-ai-workflows","topic-antigravity","topic-antigravity-skills","topic-claude-code","topic-claude-code-skills","topic-codex-cli","topic-codex-skills"],"categories":["antigravity-awesome-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/sickn33/antigravity-awesome-skills/lightning-channel-factories","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add sickn33/antigravity-awesome-skills","source_repo":"https://github.com/sickn33/antigravity-awesome-skills","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 34726 github stars · SKILL.md body (2,229 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-23T12:51:09.771Z","embedding":null,"createdAt":"2026-04-18T21:39:54.387Z","updatedAt":"2026-04-23T12:51:09.771Z","lastSeenAt":"2026-04-23T12:51:09.771Z","tsv":"'-327':154,230 '/8144225309/superscalar':143,262 '/t/superscalar-laddered-timeout-tree-structured-decker-wattenhofer-factories/1143':269 '2':21,63,101,196 '400':150,254 'action':120 'adaptor':156,233 'aggreg':34,214 'appli':112 'architectur':17,60,192 'ask':303 'best':114 'bip':153,229 'bitcoin':19,89,194 'blockchain':98 'boundari':311 'breach':39,219,244 'build':45 'c':148,227 'channel':3,10,15,50,58,130,180,187,223 'clarif':305 'clarifi':106 'clear':278 'constraint':108 'cover':26,183 'criteria':314 'decker':28,69,204 'decker-wattenhof':27,68,203 'delvingbitcoin.org':268 'delvingbitcoin.org/t/superscalar-laddered-timeout-tree-structured-decker-wattenhofer-factories/1143':267 'describ':282 'detect':40,220,245 'differ':97 'document':135 'encrypt':158,235 'environ':294 'environment-specif':293 'expert':299 'factori':4,11,51,131,181,224 'fork':25,201 'forward':36,216,247 'full':133 'github.com':142,261 'github.com/8144225309/superscalar':141,260 'goal':107 'guidanc':66 'htlc/ptlc':35,74,215,246 'implement':52,127,182,225 'includ':202 'infrastructur':93 'input':111,308 'instruct':105 'invalid':206 'key':33,213,221 'layer':20,62,100,195,242 'lightn':2,8,48,91,129,178,189 'lightning-channel-factori':1 'limit':270 'lsp':16,59,188 'mainnet':173,252 'match':279 'miss':316 'multi':13,56,185 'multi-parti':12,55,184 'musig2':32,73,152,212,228 'need':65,95 'network':9,49,92,179 'nk':160,237 'nois':159,236 'origin':265 'outcom':118 'output':288 'outsid':102 'parti':14,57,186 'pattern':77 'permiss':309 'persist':163,241 'practic':115 'product':126 'project':140,259 'propos':266 'protocol':239 'provid':119,191 'purpos':174 'refer':6,136,176,257 'regtest':169,248 'relev':113 'requir':110,199,307 'review':47,300 'safeti':310 'scale':22,64,197 'schnorr':155,232 'scope':104,281 'servic':190 'signatur':157,210,234 'signet':170,249 'skill':43,82,273 'skill-lightning-channel-factories' 'soft':24,200 'source-sickn33' 'specif':295 'sqlite':162,240 'step':121 'stop':301 'substitut':291 'success':313 'suit':256 'superscalar':139,144,258 'superscalar.win':264 'support':166,168,253 'task':85,277 'technic':5,134,175 'test':151,255,297 'testnet':171,250 'timeout':30,71,209 'timeout-signatur':208 'topic':222 'topic-agent-skills' 'topic-agentic-skills' 'topic-ai-agent-skills' 'topic-ai-agents' 'topic-ai-coding' 'topic-ai-workflows' 'topic-antigravity' 'topic-antigravity-skills' 'topic-claude-code' 'topic-claude-code-skills' 'topic-codex-cli' 'topic-codex-skills' 'transport':161,238 'treat':286 'tree':31,72,207,211 'unrel':87 'use':41,80,271 'valid':117,296 'verif':123 'watchtow':38,76,165,218,243 'wattenhof':29,70,205 'websit':263 'without':23,198 'work':53 'written':146","prices":[{"id":"b25f2fe9-c810-47ed-b8e6-a03a2a055a44","listingId":"9578b8e1-864c-43ee-8f9a-eeb3c23a0215","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"sickn33","category":"antigravity-awesome-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T21:39:54.387Z"}],"sources":[{"listingId":"9578b8e1-864c-43ee-8f9a-eeb3c23a0215","source":"github","sourceId":"sickn33/antigravity-awesome-skills/lightning-channel-factories","sourceUrl":"https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/lightning-channel-factories","isPrimary":false,"firstSeenAt":"2026-04-18T21:39:54.387Z","lastSeenAt":"2026-04-23T12:51:09.771Z"}],"details":{"listingId":"9578b8e1-864c-43ee-8f9a-eeb3c23a0215","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"sickn33","slug":"lightning-channel-factories","github":{"repo":"sickn33/antigravity-awesome-skills","stars":34726,"topics":["agent-skills","agentic-skills","ai-agent-skills","ai-agents","ai-coding","ai-workflows","antigravity","antigravity-skills","claude-code","claude-code-skills","codex-cli","codex-skills","cursor","cursor-skills","developer-tools","gemini-cli","gemini-skills","kiro","mcp","skill-library"],"license":"mit","html_url":"https://github.com/sickn33/antigravity-awesome-skills","pushed_at":"2026-04-23T06:41:03Z","description":"Installable GitHub library of 1,400+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill collections.","skill_md_sha":"0760057bbd780f889073c0022ccc2338d6b4fdf4","skill_md_path":"skills/lightning-channel-factories/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/lightning-channel-factories"},"layout":"multi","source":"github","category":"antigravity-awesome-skills","frontmatter":{"name":"lightning-channel-factories","description":"Technical reference on Lightning Network channel factories, multi-party channels, LSP architectures, and Bitcoin Layer 2 scaling without soft forks. Covers Decker-Wattenhofer, timeout trees, MuSig2 key aggregation, HTLC/PTLC forwarding, and watchtower breach detection."},"skills_sh_url":"https://skills.sh/sickn33/antigravity-awesome-skills/lightning-channel-factories"},"updatedAt":"2026-04-23T12:51:09.771Z"}}