Skip to content
Skills Library
Science & research · Learning & explanation

information-theory-and-coding

/information-theory-and-coding

Explain information theory and coding: entropy, mutual information, KL divergence, channel capacity, source coding, Huffman codes, error-correcting codes, compression, Kolmogorov complexity, cryptographic entropy. Use for bits, entropy, compression and communication limits.

Licence
MIT
Last repository change
16.10.2026

Assessment and security

86/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content21 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 16.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Explain information theory and coding: entropy, mutual information, KL divergence, channel capacity, source coding, Huffman codes, error-correcting codes, compression, Kolmogorov complexity, cryptographic entropy. Use for bits, entropy, compression and communication limits.

Original author description

Explain information theory and coding: entropy, mutual information, KL divergence, channel capacity, source coding, Huffman codes, error-correcting codes, compression, Kolmogorov complexity, cryptographic entropy. Use for bits, entropy, compression and communication limits.

How it works

SKILL.md has no level-two headings · 12 lines, 196 words

SKILL.md preview
---
name: information-theory-and-coding
description: "Explain information theory and coding: entropy, mutual information, KL divergence, channel capacity, source coding, Huffman codes, error-correcting codes, compression, Kolmogorov complexity, cryptographic entropy. Use for bits, entropy, compression and communication limits."
---

# Information Theory & Coding

- Entropy H(X) = -sum p log2 p (bits); max log2 n for uniform; H(X,Y) = H(X) + H(Y|X); conditional entropy; chain rule.
- Mutual information I(X;Y) = H(X) - H(X|Y) >= 0; data-processing inequality; KL divergence D(p||q) = sum p log(p/q) >= 0 (Gibbs); cross-entropy loss in ML = H(p) + D(p||q).
- Source coding theorem: average code length >= H; Huffman optimal prefix code; Kraft inequality sum 2^{-l_i} <= 1; arithmetic coding; Lempel-Ziv universal compression.
- Channel capacity C = max I(X;Y); binary symmetric channel C = 1 - H(p); AWGN (Shannon-Hartley) C = B log2(1 + S/N); noisy-channel coding theorem (rates below capacity achievable with vanishing error).
- Error-correcting codes: Hamming distance, Hamming(7,4) corrects 1 error, parity checks; linear codes (generator/parity-check matrices, syndrome); Reed-Solomon (CDs, QR codes), BCH, LDPC and turbo codes (near capacity), polar codes; Singleton, Hamming, Gilbert-Varshamov bounds.
- Rate-distortion theory, lossy compression (JPEG, MP3 transforms).
- Kolmogorov complexity (uncomputable), minimum description length, maximum entropy principle; connections to statistical mechanics (Boltzmann = Shannon up to k_B ln 2) and quantum information (von Neumann entropy).
- Password strength: entropy bits = length x log2(alphabet size) if random.
Files in this package (2)
  • SKILL.md 2 KB
  • metadata.json 1 KB

Versions

The database has no other skills named information-theory-and-coding.

Database snapshot: 13.11.2026 · package version 5c2cf67581e5 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100information-theory
    Use this skill when the user says 'entropy', 'cross-entropy loss', 'KL divergence', 'perplexity', 'bits per byte', 'mutual information', 'compression is prediction', 'manifold hypothesis', 'intrinsic dimension', 'ELBO'. Explains the information-theoretic quantities behind ML…
  • 100sdma
    Structured Domain Modeling Architecture (SDMA) principles. Trigger when: - Designing domain models, building ologs (ontological graphs), verifying protocol equivalence, selecting schemas, or measuring architectural entropy. - Modeling structures using Category Theory, Coalgebra,…
  • 90s4h-information-entropy
    Measures uncertainty, surprise, and information content using Shannon entropy. Use when asked 'how much information does this actually contain', 'how uncertain is this source', 'is this result surprising', 'what should I update on', 'where is the real information in this…
  • 100grad-grounded-theory
    Apply Grounded Theory (Glaser and Strauss) to build theory inductively from qualitative data through open, axial, and selective coding. Use this skill when the user needs to develop new theory from data rather than test existing hypotheses, conduct theoretical sampling and…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.