A coding-agent skill that runs isolated tree-of-thought branches under cognitive frames, then scores, prunes traps, and deepens survivors.
Overview
ADHD is a skill for coding agents that addresses premature convergence in autoregressive reasoning. Instead of a single chain-of-thought path, it spawns parallel isolated reasoning processes under deliberately different cognitive frames, with no shared context during divergence, then runs a separate critic pass to score, cluster, prune traps, and deepen the survivors.
The workflow has two phases with a hard wall between them. In diverge, the harness picks cognitive frames and launches parallel agent calls that see only the problem plus one frame’s vantage prompt. In focus, a critic scores ideas on novelty, viability, and fit, flags traps with reasons, clusters by angle, and expands top survivors into sketches with risks and first steps.
Install targets many agent environments through one auto-detecting command, with explicit invocation via /adhd and optional auto-trigger on ideation intents. CLI and library installs are documented, and the same skill can be embedded in custom agents through the Agent SDK.
Documented use cases include design decisions, fuzzy debugging, naming, API surface design, strategy, and prompts shaped like “give me a few ways to…”. Benchmarks in the project compare breadth, novelty, trap detection, and actionability against a single-shot baseline on open-ended engineering problems.
Key features
- Parallel isolated divergent branches
- Fifteen selectable cognitive frames
- Critic pass with trap detection
- Skill install for many coding agents
- CLI and TypeScript library
- Built on Claude and Codex Agent SDK
- Documented evaluation methodology
- npm package distribution
Use cases
- Design and API surface exploration
- Open-ended engineering strategy
- Fuzzy debugging brainstorms
- Naming and ideation prompts
- Agent skill integration