adhd
ADHD — a skill for coding agents. Tree-of-thought with pruning, built on the Claude & Codex Agent SDK. Fans out parallel divergent thoughts under different cogn
What is adhd?
ADHD — a skill for coding agents. Tree-of-thought with pruning, built on the Claude & Codex Agent SDK. Fans out parallel divergent thoughts under different cognitive frames, scores, prunes traps, deepens the survivors. The no-brainer skill for creative and interdisciplinary work.
Overview of adhd
What it is
ADHD is a skill for coding agents. It implements tree-of-thought with pruning, built on the Claude & Codex Agent SDK. It fans out parallel divergent thoughts under different cognitive frames, scores, prunes traps, and deepens the survivors. The project is described as an architectural fix for premature convergence in autoregressive reasoning.
Key features
- Spawns N isolated reasoning processes under deliberately distorted cognitive frames, with zero shared context during divergence.
- Runs a separate critic pass to score, cluster, prune traps, and deepen the survivors.
- Two-phase loop: Diverge (parallel isolated Agent calls) and Focus (critic call).
- Generator-critic split is mechanical — separate LLM calls with opposite system prompts.
- 15 cognitive frames available.
- Can be invoked explicitly with
/adhdor auto-trigger on ideation intents. - CLI and library installs available.
Use cases
Reach for it on design decisions, fuzzy debugging, naming, API surface design, strategy, and any prompt of the shape 'give me a few ways to…'. It is intended for creative and interdisciplinary work.
Getting started
bash npx skills add UditAkhourii/adhd bash npm install -g adhd-agent # CLI npm install adhd-agent # library bash adhd 'design a rate limiter that survives a leader election' adhd 'name this function' --frames 3 --ideas 8 --top 2 ts import { run, renderText } from 'adhd-agent'; const result = await run({ problem: 'How should we shard this queue under bursty load?', framesPerRun: 5, topK: 3 }); console.log(renderText(result));
License and pricing
License is MIT. It is open source.
Based on the project's public README and repository metadata.