[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NVD9FRJ6QNWRRS21YC8CAT":3,"skill-same:01M6NVD9FRJ6QNWRRS21YC8CAT":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":14,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M6NVD9FRJ6QNWRRS21YC8CAT","channel-capacity",null,"Problem-solving strategies for channel capacity in information theory","rubicanjr\u002FFinCognis","rubicanjr","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F234912519?v=4","01M6NT156NND8J474G34SB3923","Rubi","01M6NT15B70RWXE1N3YV0BZY8A",0,"MIT","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fmath\u002Finformation-theory\u002Fchannel-capacity\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"capacity","channel","channel capacity","Bash","read","problem-solving","strategies","information theory","problem","information","for","2026-11-10 10:12:30",false,"---\nname: channel-capacity\ndescription: \"Problem-solving strategies for channel capacity in information theory\"\nallowed-tools: [Bash, Read]\n---\n\n# Channel Capacity\n\n## When to Use\n\nUse this skill when working on channel-capacity problems in information theory.\n\n## Decision Tree\n\n\n1. **Mutual Information**\n   - I(X;Y) = H(X) + H(Y) - H(X,Y)\n   - I(X;Y) = H(X) - H(X|Y) = H(Y) - H(Y|X)\n   - Symmetric: I(X;Y) = I(Y;X)\n   - `scipy.stats.entropy(p) + scipy.stats.entropy(q) - joint_entropy`\n\n2. **Channel Model**\n   - Input X, output Y, channel P(Y|X)\n   - Channel matrix: rows = inputs, columns = outputs\n   - Element (i,j) = P(Y=j | X=i)\n\n3. **Channel Capacity**\n   - C = max_{p(x)} I(X;Y)\n   - Maximize over input distribution\n   - Achieved by capacity-achieving distribution\n\n4. **Common Channels**\n   | Channel | Capacity |\n   |---------|----------|\n   | Binary Symmetric (BSC) | 1 - H(p) where p = crossover prob |\n   | Binary Erasure (BEC) | 1 - epsilon where epsilon = erasure prob |\n   | AWGN | 0.5 * log2(1 + SNR) |\n\n5. **Blahut-Arimoto Algorithm**\n   - Iterative algorithm to compute capacity\n   - Alternates between optimizing p(x) and p(y|x)\n   - Converges to capacity\n   - `z3_solve.py prove \"capacity_upper_bound\"`\n\n\n## Tool Commands\n\n### Scipy_Mutual_Info\n```bash\nuv run python -c \"from scipy.stats import entropy; p = [0.5, 0.5]; q = [0.6, 0.4]; H_X = entropy(p, base=2); H_Y = entropy(q, base=2); print('H(X)=', H_X, 'H(Y)=', H_Y)\"\n```\n\n### Sympy_Bsc_Capacity\n```bash\nuv run python -m runtime.harness scripts\u002Fsympy_compute.py simplify \"1 + p*log(p, 2) + (1-p)*log(1-p, 2)\"\n```\n\n### Z3_Capacity_Bound\n```bash\nuv run python -m runtime.harness scripts\u002Fz3_solve.py prove \"I(X;Y) \u003C= H(X)\"\n```\n\n## Key Techniques\n\n*From indexed textbooks:*\n\n- [Elements of Information Theory] Elements of Information Theory -- Thomas M_ Cover &amp; Joy A_ Thomas -- 2_, Auflage, New York, NY, 2012 -- Wiley-Interscience -- 9780470303153 -- 2fcfe3e8a16b3aeefeaf9429fcf9a513 -- Anna’s Archive. Using a randomly generated code, Shannon showed that one can send information at any rate below the capacity *C* of the channel with an arbitrarily low probability of error. The idea of a randomly generated code is very unusual.\n\n## Cognitive Tools Reference\n\nSee `.claude\u002Fskills\u002Fmath-mode\u002FSKILL.md` for full tool documentation.\n","# Channel Capacity\n\n## When to Use\n\nUse this skill when working on channel-capacity problems in information theory.\n\n## Decision Tree\n\n\n1. **Mutual Information**\n   - I(X;Y) = H(X) + H(Y) - H(X,Y)\n   - I(X;Y) = H(X) - H(X|Y) = H(Y) - H(Y|X)\n   - Symmetric: I(X;Y) = I(Y;X)\n   - `scipy.stats.entropy(p) + scipy.stats.entropy(q) - joint_entropy`\n\n2. **Channel Model**\n   - Input X, output Y, channel P(Y|X)\n   - Channel matrix: rows = inputs, columns = outputs\n   - Element (i,j) = P(Y=j | X=i)\n\n3. **Channel Capacity**\n   - C = max_{p(x)} I(X;Y)\n   - Maximize over input distribution\n   - Achieved by capacity-achieving distribution\n\n4. **Common Channels**\n   | Channel | Capacity |\n   |---------|----------|\n   | Binary Symmetric (BSC) | 1 - H(p) where p = crossover prob |\n   | Binary Erasure (BEC) | 1 - epsilon where epsilon = erasure prob |\n   | AWGN | 0.5 * log2(1 + SNR) |\n\n5. **Blahut-Arimoto Algorithm**\n   - Iterative algorithm to compute capacity\n   - Alternates between optimizing p(x) and p(y|x)\n   - Converges to capacity\n   - `z3_solve.py prove \"capacity_upper_bound\"`\n\n\n## Tool Commands\n\n### Scipy_Mutual_Info\n```bash\nuv run python -c \"from scipy.stats import entropy; p = [0.5, 0.5]; q = [0.6, 0.4]; H_X = entropy(p, base=2); H_Y = entropy(q, base=2); print('H(X)=', H_X, 'H(Y)=', H_Y)\"\n```\n\n### Sympy_Bsc_Capacity\n```bash\nuv run python -m runtime.harness scripts\u002Fsympy_compute.py simplify \"1 + p*log(p, 2) + (1-p)*log(1-p, 2)\"\n```\n\n### Z3_Capacity_Bound\n```bash\nuv run python -m runtime.harness scripts\u002Fz3_solve.py prove \"I(X;Y) \u003C= H(X)\"\n```\n\n## Key Techniques\n\n*From indexed textbooks:*\n\n- [Elements of Information Theory] Elements of Information Theory -- Thomas M_ Cover &amp; Joy A_ Thomas -- 2_, Auflage, New York, NY, 2012 -- Wiley-Interscience -- 9780470303153 -- 2fcfe3e8a16b3aeefeaf9429fcf9a513 -- Anna’s Archive. Using a randomly generated code, Shannon showed that one can send information at any rate below the capacity *C* of the channel with an arbitrarily low probability of error. The idea of a randomly generated code is very unusual.\n\n## Cognitive Tools Reference\n\nSee `.claude\u002Fskills\u002Fmath-mode\u002FSKILL.md` for full tool documentation.\n",{"name":5,"description":7,"allowed-tools":35},[22,36],"Read","main","70e1c350500ee750987420bbae48837afa906b7e","skills\u002Fmath\u002Finformation-theory\u002Fchannel-capacity","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis","https:\u002F\u002Fgithub.com\u002Frubicanjr","linktr.ee\u002Ffinanskodu","Industrial Engineer & CIO @FinansKodu. Architecting AI-driven financial agents and autonomous workflows. 🏗️ Building systems, not just prompts.","2026-06-09 13:50:15",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add rubicanjr\u002FFinCognis --skill channel-capacity",{"tool":51,"command":52},"bunx","bunx skills add rubicanjr\u002FFinCognis --skill channel-capacity",{"tool":54,"command":55},"pnpm","pnpm dlx skills add rubicanjr\u002FFinCognis --skill channel-capacity","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fmath\u002Finformation-theory\u002Fchannel-capacity\u002FSKILL.md",true,[],[60,76,85,101,126,145],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":30},"01M6NWS9DAXJTADT4T5MB49X8W","workflow-router","Goal-based workflow orchestration - routes tasks to specialist agents based on user goals","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-router\u002FSKILL.md",[],[67,68,69,70,71,72,73,74,75],"workflow router","workflow","router","orchestration","goals","goal","user","workflow orchestration","tasks",{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":30},"01M6NWS3RETSC0SHP16HP66E14","wiring","Wiring Verification","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fwiring\u002FSKILL.md",[],[78,83,84],"verification","false",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":30},"01M6NWS0XW9CVQZBDA1EGW0TWC","websocket-patterns","Connection management, room patterns, reconnection strategies, message buffering, and binary protocol design.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fwebsocket-patterns\u002Fskill.md",[],[92,93,94,95,96,97,98,25,99,100],"websocket","patterns","websocket patterns","design","protocol","management","message","binary","connection",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":30},"01M6NWRDQDX9ZNETAWRRMQWV52","visual-verdict","Screenshot comparison QA for frontend development. Takes a screenshot of the current implementation, scores it across multiple visual dimensions, and returns a structured PASS\u002FREVISE\u002FFAIL verdict with concrete fixes. Use when implementing UI from a design reference or verifying visual correctness.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-verdict\u002FSKILL.md",[],[108,109,110,111,112,113,114,115,116,29,117,118,119,95,120,121,122,123,124,125],"visual","verdict","visual verdict","ui","across","revise","comparison","correctness","implementing","fixes","dimensions","frontend","development","qa","screenshot","returns","use","frontend development",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":30},"01M6NWR8HSNRS7MNDK2J02QYMN","verification-loop","Comprehensive verification system covering build, types, lint, tests, security, and diff review before a PR.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[133,134,83,135,136,137,138,139,140,141,142,143,144],"verification loop","loop","lint","review","security","pr","system","diff","build","tests","diff review","types",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":30},"01M6NWR4HHSFR0VR5EXFRWA747","vector-db-patterns","Embedding strategies, ANN algorithms, hybrid search, RAG chunking strategies, and reranking for semantic search and retrieval.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fvector-db-patterns\u002Fskill.md",[],[152,153,154,155,93,156,157,158,159,25,160,161,162,163,164,29,165,166],"vector db patterns","vector db","db","vector","semantic search","search","embedding strategies","algorithms","chunking","semantic","retrieval","embedding","Hybrid Search","hybrid","rag"]