The Research Report
A Researcher Gave Claude Code ADHD. It Won 5 Out of 6 Tests.
A researcher built an open-source skill that makes Claude Code think in parallel. He named it ADHD. The headlines say it doubles performance. The paper says it wins most of the time on creative tasks but loses when the answer is already known. And it costs five times more.
What It Does
Udit Akhouri Raj, an AI safety researcher, published ADHD as a free skill for Claude Code. It is built on the Claude Agent SDK. You can install it from npm as adhd-agent or clone the repo at github.com/UditAkhourii/adhd. The project sits at roughly 283 stars.
The skill attacks a specific problem. Standard chain-of-thought makes the model reason in a straight line. Each step anchors the next. The model converges on the first plausible answer and polishes it. This works for math and coding with clear right answers. It fails for open-ended design, architecture decisions, and creative tasks where the textbook answer is the trap.
ADHD replaces the straight line with a fan.
How It Works
The method runs in two phases with a hard wall between them.
Phase one — Diverge
The skill fires five parallel LLM calls. Each call uses a different cognitive frame. The library includes fifteen frames. Examples include hardware engineer, regulator, biology, speedrunner, ten-year-old, and zero-dollar budget.
Each branch gets its own isolated LLM call. The branches never share context. The generator prompt forbids evaluation, ranking, or hedging. The first three obvious answers are banned.
Phase two — Focus
A separate critic call scores every idea on novelty, viability, and fit. It flags traps. A second critic clusters ideas by their underlying angle. Then the top three survivors get deepened into full sketches with named risks and concrete first steps.
A default run uses about ten LLM calls. The baseline uses one.
The Numbers
Raj tested ADHD against a single-shot baseline on six open-ended engineering problems. The judge was an independent LLM-as-judge call with a skeptical staff-engineer prompt. Outputs were blinded as A and B in random order.
- ADHD won five of six problems.
- Mean novelty improvement: +5.17 points on a zero-to-ten rubric.
- Mean breadth improvement: +4.17 points.
- Mean trap detection improvement: +7.67 points.
- Mean builder usefulness improvement: +0.83 points.
The one loss came on a CLI retry problem. The judge preferred the baseline's tight, ship-today answer over ADHD's wider but rougher pile. When the right answer is already known, a polished single answer beats a scattered set.
For the End User
If you use Claude Code for brainstorming, architecture decisions, or naming, ADHD gives you more options. The skill surfaces ideas from angles you would not have picked yourself.
The cost is real. A run costs about five times the tokens of a normal prompt. Wall-clock time runs thirty to ninety seconds at concurrency four. The researcher frames this honestly: spend thirty cents to widen a fifty-thousand-dollar architecture decision.
It is not for inner loops. It is for decision points.
For the Engineer
The engineering insight is the mechanical separation of generator and critic. Most prompt engineering tries to make one model do both. The critic strangles the generator inside the same context window. ADHD splits them into separate calls with incompatible system prompts.
The second insight is isolation. Tree-of-thought branches often share a context window. By step four, the model has anchored on steps one through three. ADHD's branches are mechanically isolated. Anchoring is impossible by design.
The third insight is frames, not next-step variation. Standard tree-of-thought varies the next move within a search space. ADHD varies the entire vantage point. The biology frame does not search harder. It re-asks the whole problem as if the system were an immune system.
For builders who want to adapt this, the frame library is extensible in about five lines per frame. The full implementation is roughly six hundred lines of TypeScript.
The Contrarian Note
Headlines claim two times or three times better thinking. The paper does not support that. The actual metric is a five-point novelty bump on a ten-point scale. That is meaningful. It is not a doubling of general intelligence.
The evaluation has real weaknesses. The judge uses the same model family as the generator. Raj mitigated this with adversarial prompts and randomized order, but same-model bias is a known problem. The test set is six problems. That is enough to show direction. It is not enough to prove the method generalizes.
The frame library is hand-authored. A bad frame can silently duplicate another frame's output, and the harness will not catch it.
The cost matters. Five times the tokens and ten times the latency is fine for architecture review. It is a non-starter for autocomplete, quick fixes, or high-volume workflows.
Finally, the name is provocative. It borrows from neurodivergent experience for marketing punch. The paper itself does not engage with actual ADHD research. The analogy is structural, not clinical.
The Verdict
ADHD is a clever inference-time structure for a specific class of problem. It trades cost and latency for range and trap detection. It is not a universal upgrade. It is a tool for the moments where the first answer is probably wrong because it is too obvious.
If your work involves architecture, design, or creative problem-solving, the skill is worth testing. If you need fast, cheap, correct answers to known problems, stick to the baseline.
Sources
- The New Stack: "Researcher gave Claude Code ADHD and claims 2x improvement" (May 27, 2026)
- DEV Community: "I gave ADHD to Claude.. its thinking 2x better now" by Udit Akhouri Raj
- Paper: "ADHD: Parallel Divergent Ideation for Coding Agents" (preprint v0.1, May 25, 2026)
- GitHub: UditAkhourii/adhd
- npm: adhd-agent
- Website: adhdstack.github.io