Install globally and authenticate with ANTHROPIC_API_KEY (or inherit auth from a local Claude Code install):
npm install -g adhd-agent
Examples
adhd "design a rate limiter that survives a leader election"adhd "name this function" --frames 3 --ideas 8 --top 2adhd "we have a CLI that hangs for 90s on LLM calls. what's the right retry/UX?" \ --frames 5 --ideas 6 --top 3 --context ./client.tsadhd "..." --json > result.json
Flags
Flag
Default
What it does
--frames N
5
parallel divergence branches
--ideas N
6
ideas per branch
--top N
3
how many ideas to deepen / focus
--concurrency N
4
max parallel LLM calls
--context PATH
—
inject a file as context (code, stack, constraints)
--model NAME
SDK default
override model (generator + critic)
--critic-model NAME
= --model
override model for the critic passes only (score + cluster) — use a different family to decorrelate critic errors
--no-code-mode
—
don’t bias frames toward engineering
--no-anchor-strip
—
don’t strip incidental anchors (stack, tool names) from the problem before fan-out
--json
—
emit machine-readable RunResult
--quiet
—
suppress progress events
--critic-model exists so the judge and the generator don’t share failure modes: scoring with a different model family decorrelates critic errors from generator errors.
Output
The default flow prints, in order: the clustered wide set with score chips, a 2–4 idea shortlist with the ★ non-obvious pick, the trap list with one-line reasons, the top-K deepened sketches, and a provocation. With --json, the same content is emitted as a structured RunResult for downstream programs.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ADHD","description":"Parallel divergent ideation for coding agents — an architectural fix for premature convergence in autoregressive reasoning.","colors":{"primary":"#FF5500","light":"#FF7A3D","dark":"#CC4400"},"logo":{"light":"https://mintcdn.com/adhd/lmu43pO6UXHvwxCq/logo/light.svg?fit=max\u0026auto=format\u0026n=lmu43pO6UXHvwxCq\u0026q=85\u0026s=4a2e5475dbb72e26826f6d639a7cb4aa","dark":"https://mintcdn.com/adhd/lmu43pO6UXHvwxCq/logo/dark.svg?fit=max\u0026auto=format\u0026n=lmu43pO6UXHvwxCq\u0026q=85\u0026s=bb390965b4534f826c0285c9f9f35acf"},"favicon":"https://mintcdn.com/adhd/lmu43pO6UXHvwxCq/favicon.svg?fit=max\u0026auto=format\u0026n=lmu43pO6UXHvwxCq\u0026q=85\u0026s=50922a5e110eb81423798bb1420b5053","navbar":{"links":[{"href":"https://adhdstack.github.io/","label":"Preprint"},{"href":"https://discord.gg/NbWwkwwGw","label":"Discord"}],"primary":{"type":"github","href":"https://github.com/UditAkhourii/adhd"}},"footer":{"socials":{"github":"https://github.com/UditAkhourii/adhd","x":"https://x.com/akhouriudit","linkedin":"https://www.linkedin.com/in/udit-akhouri-10160a168","discord":"https://discord.gg/NbWwkwwGw"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"adhd","hasAudioNarration":false,"actualSubdomain":"adhd","customDomains":[],"gitSource":{"type":"github","owner":"uditakhourii","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6a8935efb75ddc63fa990021","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"Blog","count":5},{"language":"default","tag":"Core Concepts","count":4},{"language":"default","tag":"Using ADHD","count":4},{"language":"default","tag":"Evals \u0026 Results","count":3},{"language":"default","tag":"Getting Started","count":3},{"language":"default","tag":"Community","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"usage/cli","slug":"/usage/cli","pageMetadata":{"title":"CLI Reference","description":"Every adhd CLI flag, with common invocations.","icon":"terminal","href":"/usage/cli"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Every adhd CLI flag, with common invocations.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Install globally and authenticate with `,_jsx(_components.code,{children:`ANTHROPIC_API_KEY`}),` (or inherit auth from a local Claude Code install):`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -g`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` adhd-agent`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adhd`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"design a rate limiter that survives a leader election\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adhd`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name this function\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --frames`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --ideas`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 8`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --top`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 2`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adhd`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"we have a CLI that hangs for 90s on LLM calls. what's the right retry/UX?\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --frames`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --ideas`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 6`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --top`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --context`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./client.ts`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adhd`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"...\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` >`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` result.json`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`flags`,children:`Flags`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`What it does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--frames N`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`5`}),_jsx(_components.td,{children:`parallel divergence branches`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--ideas N`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`6`}),_jsx(_components.td,{children:`ideas per branch`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--top N`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3`}),_jsx(_components.td,{children:`how many ideas to deepen / focus`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--concurrency N`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`4`}),_jsx(_components.td,{children:`max parallel LLM calls`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--context PATH`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`inject a file as context (code, stack, constraints)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--model NAME`})}),_jsx(_components.td,{children:`SDK default`}),_jsx(_components.td,{children:`override model (generator + critic)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--critic-model NAME`})}),_jsxs(_components.td,{children:[`= `,_jsx(_components.code,{children:`--model`})]}),_jsx(_components.td,{children:`override model for the critic passes only (score + cluster) — use a different family to decorrelate critic errors`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--no-code-mode`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`don’t bias frames toward engineering`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--no-anchor-strip`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`don’t strip incidental anchors (stack, tool names) from the problem before fan-out`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--json`})}),_jsx(_components.td,{children:`—`}),_jsxs(_components.td,{children:[`emit machine-readable `,_jsx(_components.code,{children:`RunResult`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--quiet`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`suppress progress events`})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--critic-model`}),` exists so the judge and the generator don’t share failure modes: scoring with a different model family decorrelates critic errors from generator errors.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`output`,children:`Output`}),`\n`,_jsxs(_components.p,{children:[`The default flow prints, in order: the clustered wide set with score chips, a 2–4 idea shortlist with the ★ non-obvious pick, the trap list with one-line reasons, the top-K deepened sketches, and a provocation. With `,_jsx(_components.code,{children:`--json`}),`, the same content is emitted as a structured `,_jsx(_components.a,{href:`/usage/library#the-result`,children:_jsx(_components.code,{children:`RunResult`})}),` for downstream programs.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"CLI Reference","description":"Every adhd CLI flag, with common invocations.","icon":"terminal","href":"/usage/cli"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Examples","slug":"examples","depth":2,"children":[]},{"title":"Flags","slug":"flags","depth":2,"children":[]},{"title":"Output","slug":"output","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"adhd","siteName":"ADHD","title":"CLI Reference - ADHD","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-22T05:15:42.907Z","originalFileLocation":"usage/cli.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Every adhd CLI flag, with common invocations.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ADHD\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/adhd/0esPLhHOyfbXG8JW/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/adhd/0esPLhHOyfbXG8JW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/adhd/0esPLhHOyfbXG8JW/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/adhd/0esPLhHOyfbXG8JW/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/adhd/0esPLhHOyfbXG8JW/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/adhd/0esPLhHOyfbXG8JW/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/adhd/0esPLhHOyfbXG8JW/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/adhd/0esPLhHOyfbXG8JW/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/adhd/0esPLhHOyfbXG8JW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"CLI Reference - ADHD\">\u003cmeta data-mint-head property=\"og:description\" content=\"Every adhd CLI flag, with common invocations.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ADHD\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://adhd.mintlify.app/usage/cli\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://adhd.mintlify.site/_mintlify/api/og/v2?division=Using+ADHD\u0026amp;title=CLI+Reference\u0026amp;description=Every+adhd+CLI+flag%2C+with+common+invocations.\u0026amp;theme=0a4e3ae46fac1a55981559fd\u0026amp;signature=44f157be6639f6952102b2214331c62a6d7aa49cbc2665c773c2913c57145dce\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"CLI Reference - ADHD\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Every adhd CLI flag, with common invocations.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://adhd.mintlify.site/_mintlify/api/og/v2?division=Using+ADHD\u0026amp;title=CLI+Reference\u0026amp;description=Every+adhd+CLI+flag%2C+with+common+invocations.\u0026amp;theme=0a4e3ae46fac1a55981559fd\u0026amp;signature=44f157be6639f6952102b2214331c62a6d7aa49cbc2665c773c2913c57145dce\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/adhd/0esPLhHOyfbXG8JW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ADHD\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF5500\">\u003clink data-mint-head rel=\"canonical\" href=\"https://adhd.mintlify.app/usage/cli\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/usage/cli.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://adhd.mintlify.app/#organization\",\"name\":\"ADHD\",\"url\":\"https://adhd.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/adhd/lmu43pO6UXHvwxCq/logo/light.svg?fit=max\u0026auto=format\u0026n=lmu43pO6UXHvwxCq\u0026q=85\u0026s=4a2e5475dbb72e26826f6d639a7cb4aa\"}},{\"@type\":\"WebSite\",\"@id\":\"https://adhd.mintlify.app#website\",\"name\":\"ADHD\",\"url\":\"https://adhd.mintlify.app\",\"publisher\":{\"@id\":\"https://adhd.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://adhd.mintlify.app/usage/cli#webpage\",\"url\":\"https://adhd.mintlify.app/usage/cli\",\"name\":\"CLI Reference\",\"description\":\"Every adhd CLI flag, with common invocations.\",\"dateModified\":\"2026-08-22T05:15:42.907Z\",\"isPartOf\":{\"@id\":\"https://adhd.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://adhd.mintlify.app/usage/cli#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://adhd.mintlify.app/usage/cli#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Using ADHD\",\"item\":\"https://adhd.mintlify.app/usage/skill\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CLI Reference\",\"item\":\"https://adhd.mintlify.app/usage/cli\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://adhd.mintlify.app/usage/cli#article\",\"headline\":\"CLI Reference\",\"name\":\"CLI Reference\",\"description\":\"Every adhd CLI flag, with common invocations.\",\"url\":\"https://adhd.mintlify.app/usage/cli\",\"mainEntityOfPage\":{\"@id\":\"https://adhd.mintlify.app/usage/cli#webpage\"},\"dateModified\":\"2026-08-22T05:15:42.907Z\",\"publisher\":{\"@id\":\"https://adhd.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://adhd.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ADHD\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ADHD\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/usage/cli.md","siteName":"ADHD","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"Introduction","icon":"sparkles","href":"/index"},{"title":"Quickstart","icon":"rocket","href":"/quickstart"},{"title":"Installation","icon":"download","href":"/installation"}]},{"group":"Core Concepts","pages":[{"title":"How It Works","icon":"diagram-project","href":"/concepts/how-it-works"},{"title":"Frames","icon":"masks-theater","href":"/concepts/frames"},{"title":"ADHD vs CoT \u0026 ToT","icon":"code-compare","href":"/concepts/vs-cot-and-tot"},{"title":"When to Use ADHD","icon":"scale-balanced","href":"/concepts/when-to-use"}]},{"group":"Using ADHD","pages":[{"title":"The Agent Skill","description":"How the runnable SKILL.md behaves inside your agent — the pre-flight gate, the loop, the output shape, and calibration.","icon":"wand-magic-sparkles","href":"/usage/skill"},{"title":"CLI Reference","icon":"terminal","href":"/usage/cli"},{"title":"Library Reference","description":"The adhd-agent TypeScript API — run options, the structured result, and exports.","icon":"code","href":"/usage/library"},{"title":"Agent Integration","icon":"robot","href":"/usage/agent-integration"}]},{"group":"Evals \u0026 Results","pages":[{"title":"Results","icon":"chart-column","href":"/evals/results"},{"title":"Methodology","icon":"flask","href":"/evals/methodology"},{"title":"Roadmap","icon":"map","href":"/evals/roadmap"}]},{"group":"Community","pages":[{"title":"Adopters \u0026 Ecosystem","icon":"users","href":"/community/adopters"},{"title":"Contributing","icon":"code-pull-request","href":"/community/contributing"}]},{"group":"Blog","pages":[{"title":"How to Make Your AI Think Better","sidebarTitle":"How to make AI think better","icon":"brain","href":"/blog/how-to-make-your-ai-think-better"},{"title":"Why Does AI Always Give You the Same Ideas?","sidebarTitle":"Why AI repeats the same ideas","icon":"rotate","href":"/blog/why-ai-gives-you-the-same-ideas"},{"title":"Chain-of-Thought vs Tree-of-Thought: Which Should You Use?","sidebarTitle":"CoT vs ToT vs parallel","icon":"code-compare","href":"/blog/chain-of-thought-vs-tree-of-thought"},{"title":"How to Brainstorm with AI (Without Getting Generic Answers)","sidebarTitle":"Brainstorm with AI","icon":"lightbulb","href":"/blog/how-to-brainstorm-with-ai"},{"title":"What Is Premature Convergence in LLMs?","sidebarTitle":"Premature convergence, explained","icon":"arrows-to-dot","href":"/blog/what-is-premature-convergence-in-llms"}]}]},"basePath":"","title":"CLI Reference - ADHD","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":[],"chunks":[]}