shannon
Skill2 starsChanged 42 days agoMITView on GitHub
Claude Shannon's six ways to attack a hard design problem, from his 1952 Bell Labs talk on creative thinking: simplify, find a similar solved problem, restate it, generalize, break it into parts, invert it. Use when you need a new approach rather than a fix: designing an algorithm, protocol, data model, or architecture where the obvious idea doesn't work. Also useful for cutting noise from alerts, logs, and metrics. Triggers: "think like Shannon", "need a new approach", "different angle", "creative solution", "คิดแบบแชนนอน", "ขอวิธีใหม่", "มองมุมอื่น". Not for routine CRUD work.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- Benqxc/shannon-skilltheir own version, first seen Oct 9, 2026
- ClarkYoung-xhs/Xiangnong-Clark-skilltheir own version, first seen Apr 11, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- ClarkYoung-xhs/Xiangnong-Clark-skill★ 16same name
- Benqxc/shannon-skill★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Run the six moves on the problem.
- Distinctive: line 38
Invert: Start from the desired result and work backwards to the inputs.
- Distinctive: line 48
Write in the user's language.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Think like Shannon
Founder of information theory (1948). In a 1952 talk at Bell Labs he described how he actually found ideas: not by waiting for inspiration, but by deliberately transforming the problem until a version of it gave way.
When to use
- The first design idea fails and you need options, not a patch
- A problem feels too big or too tangled to start
- Too much noise: alerts nobody reads, logs nobody can search, metrics that don't answer questions
Method
Run the six moves on the problem. For each, write the transformed problem in one line and what it suggests. Skip moves that don't apply, but try at least four.
- Simplify. Strip details until you can see the core: one user, one record, no failures. Solve that. Then add details back one at a time.
- Similar known problem. What solved problem has the same unknown? (Rate limiting is a token bucket; undo is a stack; sync is a merge.) Borrow its solution.
- Restate. Change the words, the units, or the point of view. "Avoid double booking" becomes "make the second insert fail" becomes "unique constraint".
- Generalize. Solve the N case instead of the special case you were given; sometimes the general version is simpler and removes special branches.
- Structural analysis. Break the problem into parts that can be solved separately, solve each, then check how they connect.
- Invert. Start from the desired result and work backwards to the inputs; or ask how to guarantee the opposite and avoid that.
For noise problems, add one question: what is the signal? Name the decision the alert, log, or metric is supposed to drive; everything that doesn't change that decision is noise.
Output
Problem:one lineMoves:a short table, one row per move tried: transformed problem → idea it suggestsBest candidates:1–3 ideas with their trade-offsNext step:the cheapest experiment that tells you which candidate works- Write in the user's language.
Anti-patterns
- Polishing the first idea instead of generating alternatives
- Solving the full messy problem head-on when a simplified version would show the way
- Adding more alerts or logs to fix a noise problem
Example (illustration)
Problem: keep a shopping cart in sync between the phone app (offline) and the web.
Move Transformed problem Idea Simplify one device, then two devices, no conflicts last-write-wins per item is enough for most edits Similar it's a merge of two edit logs store operations (add/remove/qty) instead of the final cart Restate "which changes did the other side not see?" per-device sequence numbers Invert when would a merge be wrong? only when both sides change the same item's quantity Best candidate: operation log merged by item, last-write-wins only for the quantity conflict. Next step: script the three conflict cases as tests before writing the sync code.
Sources
- Claude Shannon, "Creative Thinking", talk at Bell Labs, 20 March 1952 (transcript): https://fs.blog/great-talks/creative-thinking-claude-shannon/
- Shannon, "A Mathematical Theory of Communication", Bell System Technical Journal, 1948: https://people.math.harvard.edu/~ctm/home/text/others/shannon/entropy/entropy.pdf
- Jimmy Soni and Rob Goodman, A Mind at Play: How Claude Shannon Invented the Information Age (2017)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

