# adhd | Udit Akhouri | Knowledge Base | Instagit

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.

GitHub Stars: 2.8k

Repository: https://github.com/UditAkhourii/adhd

---

## Articles

### [Requirements for Setting Up and Running the ADHD Skill: Complete Guide](/UditAkhourii/adhd/requirements-for-setting-up-adhd-skill)

Discover the essential requirements for setting up and running the ADHD skill. Learn about Node.js 18+, API keys, and deployment options as an agent, CLI, or library.

- Tags: how-to-guide
- Published: 2026-08-20

### [How the "Focus" Phase Deepens Surviving Reasoning Paths in ADHD](/UditAkhourii/adhd/how-does-focus-phase-deepen-surviving-paths-in-adhd)

Discover how the Focus phase deepens reasoning paths for ADHD by selecting high-scoring ideas and developing them into actionable design sketches and risk assessments.

- Tags: deep-dive
- Published: 2026-08-20

### [Performance Impact of Running N Isolated Reasoning Processes in ADHD](/UditAkhourii/adhd/what-is-performance-impact-of-running-n-isolated-reasoning-processes-in-adhd)

Discover how running N isolated reasoning processes in ADHD impacts performance. Learn about the linear scaling of tokens and wall-clock time due to stateless Claude Agent SDK sessions.

- Tags: performance
- Published: 2026-08-20

### [How ADHD's Architecture Differs from Chain-of-Thought (CoT) and Tree-of-Thought (ToT)](/UditAkhourii/adhd/how-does-adhds-architecture-differ-from-cot-tot)

Discover how ADHD's architecture diverges from CoT and ToT by employing isolated parallel threads and distinct generator-critic phases, offering a unique approach to reasoning.

- Tags: architecture
- Published: 2026-08-20

### [What System Prompts Are Used for the Generator and Critic in ADHD?](/UditAkhourii/adhd/what-system-prompts-used-for-generator-and-critic-in-adhd)

Discover the DIVERGE_SYSTEM and SCORE_SYSTEM prompts used in ADHD for effective idea generation and critical evaluation. Learn how this separation boosts creativity.

- Tags: internals
- Published: 2026-08-20

### [How ADHD Detects and Prunes Traps (Broken Ideas) Using LLM Scoring](/UditAkhourii/adhd/how-does-adhd-detect-and-prune-traps-or-broken-ideas)

Discover how ADHD detects and prunes broken ideas using LLM scoring. It automatically excludes flagged traps, preserving them for your review, ensuring cleaner results.

- Tags: deep-dive
- Published: 2026-08-20

### [Anchor Stripping in ADHD: What It Is, How It Works, and When to Use It](/UditAkhourii/adhd/what-is-anchor-stripping-and-how-does-it-work-in-adhd)

Discover anchor stripping in ADHD for LLMs. Learn how this technique removes implementation details to boost focused brainstorming and find innovative solutions beyond existing patterns.

- Tags: deep-dive
- Published: 2026-08-20

### [Can Different LLMs Be Used for the Generator and Critic in ADHD? A Complete Configuration Guide](/UditAkhourii/adhd/can-different-llms-be-used-for-generator-and-critic-in-adhd)

Discover if different LLMs can be used for generator and critic in ADHD. This guide explains how to configure separate models for divergence and convergence phases, ensuring mechanical isolation.

- Tags: how-to-guide
- Published: 2026-08-20

### [How the Generator-Critic Split Is Implemented in ADHD: A Deep Dive Into the Source Code](/UditAkhourii/adhd/how-is-the-generator-critic-split-implemented-mechanically-in-adhd)

Explore the generator-critic split in ADHD source code. Discover how system prompts and runtime model selection mechanically implement generation and evaluation.

- Tags: deep-dive
- Published: 2026-08-20

### [How ADHD's Two-Phase Diverge-and-Focus Loop Works: A Deep Dive into the Creative Engine](/UditAkhourii/adhd/how-does-adhds-two-phase-loop-diverge-and-focus-work)

Uncover ADHD's unique two-phase Diverge-and-Focus loop. Learn how this creative engine drives innovation through alternating idea generation and deep refinement. Explore the technical implementation.

- Tags: deep-dive
- Published: 2026-08-20

### [Cognitive Frames in ADHD: 15 Built-In Perspective Operators for Divergent Ideation](/UditAkhourii/adhd/what-are-some-examples-of-cognitive-frames-used-in-adhd)

Explore 15 cognitive frames for ADHD. Discover how these perspective operators drive divergent ideation and generate unique solutions by preventing premature convergence.

- Tags: deep-dive
- Published: 2026-08-20

### [How Cognitive Frames Are Defined and Used in ADHD: A Complete Technical Guide](/UditAkhourii/adhd/how-are-cognitive-frames-defined-and-used-in-adhd)

Discover how cognitive frames in ADHD are defined and used. Explore diverse LLM reasoning with 15+ perspectives like hardware engineer or adversarial hacker. Unlock advanced ADHD insights.

- Tags: deep-dive
- Published: 2026-08-20

### [What Is the Role of the Critic in the ADHD Architecture? A Deep-Dive into the Evaluation Engine](/UditAkhourii/adhd/what-is-the-role-of-the-critic-in-adhd-architecture)

Discover the critic's crucial role in ADHD architecture. This evaluation engine scores, clusters, and prunes ideas, driving focused deepening for optimal results.

- Tags: deep-dive
- Published: 2026-08-20

### [How ADHD Implements Isolated Reasoning Processes Using Distinct Cognitive Frames](/UditAkhourii/adhd/how-does-adhd-implement-isolated-reasoning-processes-with-different-cognitive-frames)

Discover how ADHD implements isolated reasoning with unique cognitive frames. Learn how divergent and convergent thinking create parallel tracks for problem exploration without interference.

- Tags: deep-dive
- Published: 2026-08-20

### [What Is Parallel Divergent Ideation in AI Coding Agents: A Deep Dive into the ADHD Method](/UditAkhourii/adhd/what-is-parallel-divergent-ideation-in-ai-coding-agents)

Explore parallel divergent ideation in AI coding agents. Learn how this ADHD method generates diverse ideas and converges on optimal solutions for enhanced coding.

- Tags: deep-dive
- Published: 2026-08-20

### [How the ADHD Architecture Addresses Premature Convergence in AI Reasoning](/UditAkhourii/adhd/how-does-adhd-architecture-address-premature-convergence-in-ai-reasoning)

Discover how ADHD architecture prevents premature convergence in AI reasoning by isolating idea generation and evaluation into distinct phases, ensuring robust and diverse outcomes.

- Tags: architecture
- Published: 2026-08-20

### [How Breadth, Novelty, and Trap Detection Are Measured in bench/judge.ts](/UditAkhourii/adhd/how-is-breadth-novelty-and-trap-detection-measured-in-benchjudge.ts)

Discover how bench/judge.ts measures breadth, novelty, and trap detection for LLM-as-judge evaluations. Learn about the 0-10 rubric and JSON verdicts for comparing design ideas.

- Tags: deep-dive
- Published: 2026-08-19

### [How to Override the Default Model with a Custom LLM Provider in callLLM](/UditAkhourii/adhd/how-to-override-the-default-model-with-a-custom-llm-provider-in-callllm)

Learn how to override the default model in callLLM using a custom LLM provider via LLMOptions or the CLI flag. Easily integrate your preferred models for enhanced flexibility.

- Tags: how-to-guide
- Published: 2026-08-19

### [How to Debug Failed Branches Using frameId and ideaId Tracking in ADHD](/UditAkhourii/adhd/how-to-debug-failed-branches-using-frameid-and-ideaid-tracking)

Debug failed branches in ADHD with frameId and ideaId tracking. Pinpoint exact failure points in your event stream and resolve pipeline collapses efficiently.

- Tags: how-to-guide
- Published: 2026-08-19

### [When Should You Set `stripAnchors: false` in ADHD? 4 Key Scenarios](/UditAkhourii/adhd/when-should-you-set-stripanchors-false)

Discover when to set stripAnchors: false in ADHD for LLM prompts. Learn the 4 key scenarios where keeping incidental anchors improves context and accuracy.

- Tags: best-practices
- Published: 2026-08-19

### [Cost and Latency Implications of Running 5 Frames × 6 Ideas with Critic Passes in ADHD](/UditAkhourii/adhd/what-are-the-cost-and-latency-implications-of-running-5-frames-x-6-ideas-with-critic-passes)

Discover the cost and latency of 5 frames x 6 ideas with critic passes in ADHD. Learn how it impacts LLM calls, token cost, and wall-clock time for efficient performance.

- Tags: performance
- Published: 2026-08-19

### [How the `onEvent` Callback Streams Progress Through ADHD Phases](/UditAkhourii/adhd/how-does-the-onevent-callback-stream-progress-through-adhd-phases)

Learn how the onEvent callback streams progress through ADHD phases like reframe, diverge, score, cluster, and deepen in real-time from the tree-of-thought pipeline.

- Tags: deep-dive
- Published: 2026-08-19

### [Why nonObviousPick Prioritizes Novelty Over Total Score in the ADHD Engine](/UditAkhourii/adhd/why-does-nonobviouspick-prioritize-novelty-over-total-score)

Discover why nonObviousPick prioritizes novelty over total score in the ADHD engine. Learn about its unique two-step ranking strategy that highlights the most novel viable candidate.

- Tags: deep-dive
- Published: 2026-08-19

### [How to Author Custom Frames with Domain-Specific Tags for Specialized Ideation](/UditAkhourii/adhd/how-to-author-custom-frames-with-domain-specific-tags-for-specialized-ideation)

Learn to author custom frames with domain-specific tags for specialized ideation by extending the FRAMES array in src/frames.ts. Add unique IDs, labels, prompts, and tags easily.

- Tags: how-to-guide
- Published: 2026-08-19

### [How the ADHD Concurrency Parameter Limits Parallel LLM Calls](/UditAkhourii/adhd/how-does-the-concurrency-parameter-limit-parallel-llm-calls)

Discover how the ADHD concurrency parameter limits parallel LLM calls by routing requests through a single p-limit instance, preventing over-saturation.

- Tags: how-to-guide
- Published: 2026-08-19

### [What Happens When JSON Parsing Fails During ADHD Phases](/UditAkhourii/adhd/what-happens-when-json-parsing-fails-during-adhd-phases)

Learn what happens when JSON parsing fails during ADHD phases. Discover how errors are caught, safe fallbacks are returned, and pipelines continue uninterrupted.

- Tags: error-handling
- Published: 2026-08-19

### [How to Integrate ADHD into a Custom Agent Using the TypeScript Library API](/UditAkhourii/adhd/how-to-integrate-adhd-into-a-custom-agent-using-the-typescript-library-api)

Learn to integrate ADHD into your custom TypeScript agent with the library API. Import run, configure options, and get a detailed reasoning tree for your agent.

- Tags: how-to-guide
- Published: 2026-08-19

### [How Clustering Surfaces Underlying Angles of the Idea Space in ADHD](/UditAkhourii/adhd/how-does-clustering-surface-underlying-angles-of-the-idea-space)

Discover how ADHD clustering surfaces strategic angles in idea spaces. This technique moves beyond keywords to reveal structural dimensions, enabling deeper design reasoning.

- Tags: deep-dive
- Published: 2026-08-19

### [How the ADR‑HD Engine Generates Provocation from the Wildcard Frame's Highest‑Novelty Idea](/UditAkhourii/adhd/how-is-the-provocation-generated-from-the-wildcard-frames-highest-novelty-idea)

Discover how the ADR-HD engine generates provocation by selecting the highest novelty idea from a wildcard frame and reframing it into a thought-provoking question.

- Tags: deep-dive
- Published: 2026-08-19

### [How the ADHD Deepen Phase Connects Sibling Ideas: A Code-Level Breakdown](/UditAkhourii/adhd/how-does-the-deepen-phase-connect-sibling-ideas)

Discover how the ADHD deepen phase connects sibling ideas by feeding related concepts into LLM prompts, fostering innovation and a unified design space. Explore the code-level breakdown.

- Tags: deep-dive
- Published: 2026-08-19

### [How Does the ADHD Engine Critic Detect and Flag Traps in Ideas?](/UditAkhourii/adhd/how-does-the-critic-detect-and-flag-traps-in-ideas)

Discover how the ADHD engine's critic detects traps in ideas. Learn about hidden costs, schema validation, and segregated reporting for flagged concepts.

- Tags: internals
- Published: 2026-08-19

### [How Does Error Decorrelation Work in the Critic Model?](/UditAkhourii/adhd/how-does-error-decorrelation-work-in-the-critic-model)

Discover how error decorrelation in the ADHD critic model prevents bias by using a different language model for evaluation than generation. Learn more about accurate AI model assessment.

- Tags: deep-dive
- Published: 2026-08-19

### [What Is the Separate Critic Model in ADHD? Purpose and Implementation](/UditAkhourii/adhd/what-is-the-purpose-of-the-separate-critic-model-in-adhd)

Discover the separate critic model in ADHD. Learn how this distinct LLM instance independently scores and clusters ideas for unbiased evaluation and error decorrelation in your projects.

- Tags: deep-dive
- Published: 2026-08-19

### [How selectFrames Biases Frame Selection for codeMode](/UditAkhourii/adhd/how-does-selectframes-bias-selection-for-codemode)

Discover how selectFrames biases frame selection for codeMode by filtering for code or design tags while reserving a wild frame for creative diversity.

- Tags: how-to-guide
- Published: 2026-08-19

### [How Do the 15 Cognitive Frames Work in ADHD? Understanding Frame Selection and Vantage Operators](/UditAkhourii/adhd/how-do-the-15-cognitive-frames-work-in-adhd)

Discover how the 15 cognitive frames in ADHD function as vantage-operator prompts. Learn about deterministic frame selection and biased perspectives in this technical explanation.

- Tags: deep-dive
- Published: 2026-08-19

### [Understanding the Scoring Algorithm Used for Ranking Ideas in ADHD](/UditAkhourii/adhd/what-is-the-scoring-algorithm-used-for-ranking-ideas-in-adhd)

Discover the ADHD scoring algorithm ranking ideas by novelty viability and fit. Learn how this weighted sum and sorting process selects the best non-obvious picks for your project.

- Tags: deep-dive
- Published: 2026-08-19

### [How ADHD Implements Branch Isolation During the Diverge Phase](/UditAkhourii/adhd/how-does-adhd-implement-branch-isolation-during-the-diverge-phase)

Discover how ADHD ensures branch isolation during the diverge phase. Learn how separate LLM sessions with fresh Claude Agent SDK queries prevent shared context for robust parallel processing.

- Tags: internals
- Published: 2026-08-19

### [How the ADHD Engine's Phase 0 Reframe Pass Strips Incidental Anchors from Problem Statements](/UditAkhourii/adhd/how-does-the-reframe-pass-in-phase-0-strip-incidental-anchors-from-problem-statements)

Learn how the ADHD engine's Phase 0 reframe pass strips incidental anchors from problem statements. Discover how it refines constraints for clearer subsequent phases.

- Tags: deep-dive
- Published: 2026-08-19

### [Understanding framesPerRun, ideasPerFrame, and topK in the ADHD Engine](/UditAkhourii/adhd/what-are-the-differences-between-framesperrun-ideasperframe-and-topk-parameters)

Understand framesPerRun, ideasPerFrame, and topK in the ADHD Engine. Learn how these parameters control idea generation and selection for advanced cognitive processes.

- Tags: deep-dive
- Published: 2026-08-19

### [How ADHD's Two-Phase Diverge-Focus Loop Prevents Premature Convergence](/UditAkhourii/adhd/how-does-adhds-two-phase-diverge-focus-loop-prevent-premature-convergence)

Discover how ADHD's unique two-phase diverge-focus loop prevents premature convergence by isolating divergent branches and applying a critic-based filter for deeper idea exploration.

- Tags: deep-dive
- Published: 2026-08-19

### [ADHD vs Self-Consistency and Swarm Methods: A Multi-Agent Reasoning Comparison](/UditAkhourii/adhd/adhd-vs-multi-agent-reasoning-approaches)

Explore how ADHD multi-agent reasoning compares to self-consistency and swarm methods. Discover a novel approach to eliminate premature convergence for better LLM reasoning.

- Tags: comparison
- Published: 2026-08-01

### [ADHD Engine Architecture: Understanding the Diverge→Score→Cluster→Deepen Loop](/UditAkhourii/adhd/adhd-engine-ts-architecture-loop)

Explore the ADHD engine architecture's diverge score cluster deepen loop. Learn how this creative pipeline uses parallel LLM calls and weighted scoring to generate novel ideas.

- Tags: architecture
- Published: 2026-08-01

### [How to Run Built-In Evaluations and Create Custom Eval Problems for ADHD](/UditAkhourii/adhd/run-adhd-evaluations-custom-eval-problems)

Learn how to run built-in ADHD evaluations using npm commands or create custom eval problems by editing the problems JSON file. Get started with ADHD evaluations today.

- Tags: how-to-guide
- Published: 2026-08-01

### [When Should I Not Use ADHD? Limitations vs Single-Shot Chain-of-Thought](/UditAkhourii/adhd/when-not-to-use-adhd-limitations)

Discover when to avoid ADHD and its limitations compared to single-shot Chain-of-Thought. Learn when simpler methods suffice for efficient query processing and reduced latency.

- Tags: limitations
- Published: 2026-08-01

### [ADHD Evaluation Methodology: How the Engine Measures Performance Gains Against Single-Shot LLMs](/UditAkhourii/adhd/adhd-evaluation-methodology-improvements)

Discover ADHD's A/B benchmark for evaluating performance gains. Learn how this reproducible methodology measures improvements against single-shot LLMs on complex engineering tasks.

- Tags: performance
- Published: 2026-08-01

### [How the ADHD onEvent Callback Streams Progress and Events](/UditAkhourii/adhd/adhd-onevent-callback-progress-events)

Discover how the ADHD onEvent callback streams real-time progress and monitors operations across its four-phase execution pipeline. Understand eight distinct event types.

- Tags: how-to-guide
- Published: 2026-08-01

### [ADHD Performance Characteristics: Latency, Token Usage, and Concurrency Impact](/UditAkhourii/adhd/adhd-performance-latency-token-usage-concurrency)

Discover ADHD performance characteristics: latency, token usage, and concurrency impact. Understand how LLM branches and prompt substrate affect costs.

- Tags: performance
- Published: 2026-08-01

### [ADHD NPM Library vs CLI vs Skill Installation: What's the Difference?](/UditAkhourii/adhd/adhd-npm-cli-skill-installation-differences)

Explore the differences between the ADHD NPM library, CLI, and skill installation methods. Understand how each approach interacts with the core ADHD engine for diverse usage.

- Tags: comparison
- Published: 2026-08-01

### [How to Integrate ADHD into Claude Code, Cursor, or Other Agents via Skill Installation](/UditAkhourii/adhd/integrate-adhd-claude-cursor-agents)

Easily integrate ADHD into Claude Code, Cursor, and other AI agents using skill installation. Discover how to leverage divergent-convergent reasoning for enhanced performance.

- Tags: how-to-guide
- Published: 2026-08-01

### [What Is the Provocation/Wildcard Mechanism in ADHD and Its Purpose?](/UditAkhourii/adhd/adhd-provocation-wildcard-mechanism)

Discover the ADHD provocation/wildcard mechanism. This article explains how a single wildcard question breaks fixation and boosts divergent thinking during the Focus phase.

- Tags: deep-dive
- Published: 2026-08-01

### [How to Create Custom Cognitive Frames for ADHD: A Complete Guide](/UditAkhourii/adhd/create-custom-adhd-cognitive-frames)

Learn how to create custom cognitive frames for ADHD by defining Frame objects and adding them to the FRAMES array in src/frames.ts. Master your focus with this complete guide.

- Tags: how-to-guide
- Published: 2026-08-01

### [How Clustering in ADHD Identifies Underlying Angles Instead of Surface Keywords](/UditAkhourii/adhd/adhd-clustering-underlying-angles)

Discover how ADHD clustering identifies underlying idea angles not just keywords. Learn how its specialized LLM prompt reveals the idea space's true structure.

- Tags: deep-dive
- Published: 2026-08-01

### [What Is the Non-Obvious Pick in ADHD and How Is It Selected?](/UditAkhourii/adhd/adhd-non-obvious-pick-selection)

Discover the non-obvious pick in ADHD and how it's selected. Learn how the Agile Divergent-Hypothesis-Design engine finds surprising yet viable solutions from a shortlist of high-novelty ideas.

- Tags: deep-dive
- Published: 2026-08-01

### [How to Use the `criticModel` Option for Separate Scoring and Clustering in ADHD](/UditAkhourii/adhd/adhd-criticmodel-separate-scoring-clustering)

Unlock separate scoring and clustering in ADHD with the criticModel option. Learn how to configure RunOptions for distinct LLM usage in convergence and divergence phases.

- Tags: how-to-guide
- Published: 2026-08-01

### [How the Deepening Phase in ADHD Connects Ideas and What Output It Produces](/UditAkhourii/adhd/adhd-deepening-phase-output)

Explore the deepening phase in ADHD, where top ideas are refined with an LLM to generate detailed sketches, identify risks, and create child ideas, linking concepts to implementation.

- Tags: deep-dive
- Published: 2026-08-01

### [ADHD Scoring Algorithm: How Novelty, Viability, and Fit Are Weighted](/UditAkhourii/adhd/adhd-scoring-algorithm-weights)

Discover the ADHD scoring algorithm! Learn how viability (40%), novelty (35%), and fit (25%) are weighted to calculate a composite score from LLM ratings.

- Tags: deep-dive
- Published: 2026-08-01

### [How ADHD Detects and Flags Traps in Generated Ideas](/UditAkhourii/adhd/adhd-detect-flag-traps)

Discover how ADHD detects traps in generated ideas. This LLM architecture identifies hidden risks, flagging them separately to protect your projects. Learn more!

- Tags: how-to-guide
- Published: 2026-08-01

### [What Is Anchor Stripping in ADHD's Reframe Phase?](/UditAkhourii/adhd/adhd-anchor-stripping-reframe-phase)

Discover anchor stripping in ADHD's reframe phase. Learn how this LLM technique removes implementation details from problem statements to enable effective brainstorming.

- Tags: deep-dive
- Published: 2026-08-01

### [Understanding the Generator-Critic Split in ADHD: Architecture and Implementation](/UditAkhourii/adhd/adhd-generator-critic-split-llm-calls)

Explore the generator-critic split in ADHD, where distinct LLM calls separate content creation and evaluation for parallel divergence and focused convergence. Learn its architecture and implementation.

- Tags: architecture
- Published: 2026-08-01

### [What Are the 15 Cognitive Frames in ADHD and How Does Frame Selection Work?](/UditAkhourii/adhd/adhd-cognitive-frames-and-selection)

Discover the 15 cognitive frames in ADHD and how the bias-aware algorithm selects them. Learn how these prompts re-pose problems from different angles.

- Tags: deep-dive
- Published: 2026-08-01

### [What Makes ADHD Architecturally Different from Single-Shot Prompting](/UditAkhourii/adhd/adhd-architectural-differences-single-shot-prompting)

Discover how ADHD architecturally differs from single-shot prompting. Learn about its two-phase pipeline for idea generation and critique, eliminating bias with parallel LLM calls.

- Tags: architecture
- Published: 2026-07-30

### [How ADHD Balances Ideation Breadth and Token Cost in AI Agents](/UditAkhourii/adhd/adhd-breadth-vs-cost-tradeoff)

Discover how ADHD agents balance idea breadth and token cost by generating richer ideas exponentially while accepting linear costs. Learn more about this AI tradeoff.

- Tags: deep-dive
- Published: 2026-07-30

### [How ADHD Event Hooks Stream Execution Progress in Real-Time](/UditAkhourii/adhd/adhd-event-hooks-stream-progress-execution)

ADHD event hooks stream execution progress in real-time via an onEvent callback. Monitor, log, and update your UI live with six key pipeline phases.

- Tags: how-to-guide
- Published: 2026-07-30

### [Understanding the depth and parentId Fields in the ADHD Idea Type](/UditAkhourii/adhd/adhd-idea-type-depth-parentid-fields)

Understand the depth and parentId fields in the ADHD Idea type. Learn how these fields track idea hierarchy and enable branching logic for seamless navigation and management.

- Tags: api-reference
- Published: 2026-07-30

### [How the Two-Phase Loop in ADHD Enforces Convergence Only After Divergence](/UditAkhourii/adhd/adhd-two-phase-loop-convergence-after-divergence)

Discover how the ADHD two-phase loop enforces convergence after divergence by separating idea generation and evaluation. Learn more about this innovative approach.

- Tags: deep-dive
- Published: 2026-07-30

### [Understanding the codeMode Flag in ADHD Frame Selection](/UditAkhourii/adhd/adhd-codemode-flag-frame-selection-purpose)

Learn how the codeMode flag in ADHD frame selection prioritizes code and design perspectives for enhanced engineering insights. Disable it for an unbiased frame pool.

- Tags: deep-dive
- Published: 2026-07-30

### [How the ADHD Reframe Phase Handles Real Constraints vs Incidental Anchors](/UditAkhourii/adhd/adhd-reframe-phase-real-constraints-vs-incidental-anchors)

Learn how the ADHD reframe phase distinguishes real constraints from incidental anchors to foster innovative solutions. Explore its impact on problem solving and project success.

- Tags: deep-dive
- Published: 2026-07-30

### [What Is the Provocation Field in ADHD and How Is It Generated?](/UditAkhourii/adhd/adhd-provocation-field-representation-generation)

Understand the ADHD provocation field, a unique question sparking creativity by balancing low scores with high novelty. Learn how this concept is generated.

- Tags: deep-dive
- Published: 2026-07-30

### [How to Integrate ADHD into a Custom Agent Framework: Complete Implementation Guide](/UditAkhourii/adhd/integrate-adhd-custom-agent-framework)

Integrate ADHD into your custom agent framework with ease. Install the adhd agent package and use the run function to configure problem context frame count and concurrency for seamless implementation.

- Tags: how-to-guide
- Published: 2026-07-30

### [How Trap Detection Works in the ADHD Scoring Phase: A Technical Deep Dive](/UditAkhourii/adhd/adhd-trap-detection-scoring-phase)

Discover how trap detection works in the ADHD scoring phase. Learn how a critic LLM identifies risky ideas and filters them while preserving them for user awareness.

- Tags: deep-dive
- Published: 2026-07-30

### [Performance Tradeoffs of Running More Parallel Frames in ADHD: Latency, Cost, and Quality Analysis](/UditAkhourii/adhd/adhd-performance-tradeoffs-more-parallel-frames)

Explore the performance tradeoffs of running more parallel frames in ADHD. Analyze latency, cost, and quality impacts to optimize your setup for better idea diversity and avoid rate limits.

- Tags: performance
- Published: 2026-07-30

### [How to Configure Different Models for the Critic vs Generator in ADHD](/UditAkhourii/adhd/adhd-configure-different-model-critic-generator)

Learn how to configure separate models for critic and generator in ADHD using CLI flags or RunOptions. Optimize your ADHD model setup effectively.

- Tags: how-to-guide
- Published: 2026-07-30

### [What Does the Wildcard Frame Selection Guarantee in Each ADHD Run?](/UditAkhourii/adhd/adhd-wildcard-frame-selection-guarantee)

Discover how wildcard frame selection guarantees each ADHD run incorporates creative prompts, ensuring diversity and stimulating new ideas in your generations.

- Tags: deep-dive
- Published: 2026-07-30

### [How Context Isolation Works Between Parallel Branches in ADHD](/UditAkhourii/adhd/adhd-context-isolation-parallel-branches)

Understand how ADHD ensures context isolation between parallel branches. Learn about independent LLM calls, fresh Idea arrays, and prompt separation for contamination free exploration.

- Tags: internals
- Published: 2026-07-30

### [Non-Obvious Pick vs Top-Ranked Shortlist in ADHD: What’s the Real Difference?](/UditAkhourii/adhd/adhd-non-obvious-pick-vs-top-ranked-shortlist)

Uncover the real difference between the non-obvious pick and top-ranked shortlist in ADHD. Understand how UditAkhourii/adhd generates creative and high-scoring solutions simultaneously.

- Tags: deep-dive
- Published: 2026-07-30

### [How to Add Custom Cognitive Frames to the ADHD Framework: A Complete Guide](/UditAkhourii/adhd/add-custom-cognitive-frames-adhd-framework)

Learn to add custom cognitive frames to the ADHD framework. This guide shows you how to create and integrate new frames for enhanced functionality. Explore the UditAkhourii/adhd repository.

- Tags: how-to-guide
- Published: 2026-07-30

### [What Happens When a Parallel Branch Fails During the Diverge Phase in ADHD: Error Handling Explained](/UditAkhourii/adhd/adhd-parallel-branch-failure-diverge-phase)

Learn how ADHD handles parallel branch failures during diverge phase. Discover error handling and pipeline continuity for uninterrupted processing.

- Tags: internals
- Published: 2026-07-30

### [How the Clustering Phase in ADHD Surfaces the Shape of the Idea Space](/UditAkhourii/adhd/adhd-clustering-phase-surface-idea-space-shape)

Explore how the clustering phase in ADHD organizes ideas, revealing the structured map of your solution space. Understand idea density, diversity, and macro-structure.

- Tags: deep-dive
- Published: 2026-07-30

### [ADHD Scoring Weights Explained: How Ideas Are Ranked and Why Novelty Gets 35%](/UditAkhourii/adhd/adhd-scoring-weights-novelty-35-percent)

Discover ADHD scoring weights: learn how novelty is 35%, viability 40%, and fit 25% to prioritize creative yet practical solutions. Understand idea ranking.

- Tags: deep-dive
- Published: 2026-07-30

### [How the Generator-Critic Split in ADHD Prevents Anchoring During Reasoning](/UditAkhourii/adhd/adhd-generator-critic-split-prevent-anchoring)

Discover how the generator-critic split in ADHD prevents anchoring bias by separating idea generation from evaluation. Learn more about the ADHD project.

- Tags: internals
- Published: 2026-07-30

### [How the Reframe Pass in ADHD Strips Incidental Anchors from Problem Statements](/UditAkhourii/adhd/adhd-reframe-pass-strip-incidental-anchors)

Learn how the ADHD reframe pass removes incidental anchors from problem statements, ensuring unbiased brainstorming for better solutions. Discover the process and its benefits.

- Tags: deep-dive
- Published: 2026-07-30

### [What Cognitive Frames Are Available in ADHD and How They Influence Ideation](/UditAkhourii/adhd/adhd-cognitive-frames-influence-ideation)

Discover the 15 cognitive frames in the ADHD repository that re-pose problems from new angles, expanding solution spaces and enhancing ideation for language models.

- Tags: deep-dive
- Published: 2026-07-30

### [What Is the Learning Curve for UditAkhourii/adhd? A Technical Breakdown](/UditAkhourii/adhd/what-is-the-learning-curve-for-uditakhourii-adhd)

Discover the shallow learning curve of UditAkhourii/adhd. Generate ideas in minutes with the CLI or API and customize with its modular architecture.

- Tags: deep-dive
- Published: 2026-07-30

### [How to Uninstall UditAkhourii/adhd: Complete Removal Guide for npm Package and Agent Skills](/UditAkhourii/adhd/how-to-uninstall-uditakhourii-adhd)

Learn how to uninstall UditAkhourii/adhd completely. This guide details removing the npm package and agent skills for a clean uninstallation.

- Tags: how-to-guide
- Published: 2026-07-30

### [Performance Considerations for UditAkhourii/adhd: Optimizing Tree-of-Thought LLM Orchestration](/UditAkhourii/adhd/what-performance-considerations-are-there-for-uditakhourii-adhd)

Explore performance considerations for UditAkhourii/adhd. Optimize your Tree-of-Thought LLM orchestration by focusing on concurrency limits, frame configuration, and memory management for peak performance.

- Tags: performance
- Published: 2026-07-30

### [How to Integrate UditAkhourii/adhd with Other Tools: Three Methods for the Ideation Engine](/UditAkhourii/adhd/how-to-integrate-uditakhourii-adhd-with-other-tools)

Learn three ways to integrate UditAkhourii/adhd with your workflow: NPM library, CLI, or Claude-compatible agent skills. Unlock its ideation engine easily.

- Tags: how-to-guide
- Published: 2026-07-30

### [Is There an API for UditAkhourii/adhd? Complete Guide to the ADHD Agent Library](/UditAkhourii/adhd/is-there-an-api-for-uditakhourii-adhd)

Explore the UditAkhourii/adhd repository's API. This guide details the ADHD Agent Library, focusing on the run() function for divergent thinking, idea scoring, and LLM integration. Access insights via TypeScript or CLI.

- Tags: api-reference
- Published: 2026-07-30

### [Best Practices for Using UditAkhourii/adhd: A Complete Guide to Divergent-Convergent LLM Reasoning](/UditAkhourii/adhd/what-are-the-best-practices-for-using-uditakhourii-adhd)

Master UditAkhourii/adhd with best practices. Optimize invocation, tune RunOptions like framesPerRun and topK, mix frames, and separate models for cost effective LLM reasoning.

- Tags: best-practices
- Published: 2026-07-30

### [How to Report a Bug in the UditAkhourii/adhd Repository](/UditAkhourii/adhd/how-to-report-a-bug-in-uditakhourii-adhd)

Discover how to report a bug in the UditAkhourii/adhd repository. Follow our guide to file a GitHub Issue with all necessary details for a quick resolution.

- Tags: how-to-guide
- Published: 2026-07-30

### [Understanding the File Structure of UditAkhourii/adhd: A Complete Guide](/UditAkhourii/adhd/what-is-the-file-structure-of-uditakhourii-adhd)

Explore the UditAkhourii/adhd file structure. Understand the modular TypeScript architecture, separation of concerns, and key directories like src, documentation, and tests for efficient development.

- Tags: how-to-guide
- Published: 2026-07-30

### [How to Update the UditAkhourii/adhd Repository: The Complete 7-Step Workflow](/UditAkhourii/adhd/how-to-update-uditakhourii-adhd)

Learn how to update the UditAkhourii/adhd repository with our 7-step workflow. Pull latest changes, reinstall dependencies, run tests, rebuild, and verify CLI to ensure a smooth update process.

- Tags: how-to-guide
- Published: 2026-07-30

### [UditAkhourii/adhd Usage Examples: CLI, Agent, and Library Integration](/UditAkhourii/adhd/are-there-any-examples-of-uditakhourii-adhd-usage)

Explore UditAkhourii/adhd usage examples including CLI, agent skills, and library integration. Discover its two-phase reasoning engine for divergent ideation.

- Tags: usage-examples
- Published: 2026-07-30

### [What Is the Purpose of the adhd Directory in UditAkhourii/adhd? A Complete Technical Guide](/UditAkhourii/adhd/what-is-the-purpose-of-the-adhd-directory-in-uditakhourii-adhd)

Explore the purpose of the adhd directory in UditAkhourii/adhd. Understand how it enables a two-phase reasoning loop for Claude Code and coding agents, generating better solutions.

- Tags: how-to-guide
- Published: 2026-07-30

### [Where to Find the UditAkhourii/adhd Documentation: A Complete Guide](/UditAkhourii/adhd/where-can-i-find-the-uditakhourii-adhd-documentation)

Find the UditAkhourii/adhd documentation easily. Explore Markdown files in the documentation directory and key README and SKILL files for comprehensive guides.

- Tags: how-to-guide
- Published: 2026-07-30

### [How to Configure UditAkhourii/adhd: Complete Setup Guide for Skill, CLI, and Library](/UditAkhourii/adhd/how-to-configure-uditakhourii-adhd)

Configure UditAkhourii/adhd setup: Master CLI flags, library parameters, and skill variables to control divergence frames, model selection, and concurrency limits for optimal performance.

- Tags: getting-started
- Published: 2026-07-30

### [UditAkhourii/adhd Architecture: Main Components and Tree-of-Thought Engine](/UditAkhourii/adhd/what-are-the-main-components-of-the-uditakhourii-adhd-architecture)

Explore the UditAkhourii/adhd architecture's seven key components and its five-phase tree-of-thought engine. Transform problem statements into innovative ideas with this powerful system.

- Tags: architecture
- Published: 2026-07-30

### [How to Run Tests for UditAkhourii/adhd: Complete Node.js Test Guide](/UditAkhourii/adhd/how-to-run-tests-for-uditakhourii-adhd)

Run tests for UditAkhourii/adhd with npm test or node --test. This guide makes testing your Node.js project simple and efficient.

- Tags: how-to-guide
- Published: 2026-07-30

### [What Are the Dependencies for UditAkhourii/adhd? Complete Runtime Stack Guide](/UditAkhourii/adhd/what-are-the-dependencies-for-uditakhourii-adhd)

Uncover the dependencies for UditAkhourii/adhd. Explore the runtime stack including Claude SDK, p-limit, and zod for its tree-of-thought reasoning system.

- Tags: dependencies
- Published: 2026-07-30

### [How to Install UditAkhourii/adhd: Three Methods for Agents, CLI, and Library](/UditAkhourii/adhd/how-to-install-uditakhourii-adhd)

Install UditAkhourii adhd using three easy methods: npx for agents, npm for CLI, or npm import for library integration. Get started now.

- Tags: getting-started
- Published: 2026-07-30

