Install Plannotator for Claude Code, review plans at ExitPlanMode without making Claude wait, invoke document and code review skills, and update the plugin.
Plannotator opens Claude Code’s plans in a review UI in your browser. Approve lets Claude implement the plan. Send Feedback returns your annotations so Claude can revise it.How Claude waits for your decision depends on the Claude Code version:
Claude Code 2.1.287 or later, in the interactive terminal: the Plannotator mod is on by default. Claude does not wait. Your decision arrives later as a message.
Older Claude Code, claude -p and SDK runs, Windows, or the mod turned off: a hook holds ExitPlanMode open, and Claude waits until you decide.
Restart Claude Code so the plugin takes effect. The standard installer also adds three Claude-specific skills: plannotator-review, plannotator-annotate, and plannotator-last. It writes them to ~/.claude/skills. If $CLAUDE_CONFIG_DIR is set, it uses $CLAUDE_CONFIG_DIR/skills instead.The marketplace plugin supplies plan review and the Plannotator mod. The skills supply the three manual slash commands and call the installed plannotator binary. The plugin does not include the binary. See Install and Manage Plannotator Skills for extra skills and model-callable settings.
Enter plan mode and ask Claude Code to prepare a plan. When Claude calls ExitPlanMode, Plannotator opens the plan. Approve allows implementation. Send Feedback returns your annotations and direct edits to Claude for another revision.Use the installed skills for manual workflows:
On Claude Code 2.1.287 or later, in the interactive terminal, the plugin runs the Plannotator mod. It is on by default.When Claude calls ExitPlanMode, or you run /plannotator-review, /plannotator-annotate or /plannotator-last, Plannotator opens in your browser and Claude ends its turn. Claude does not wait for you:
You can keep chatting with Claude while the review is open.
When you decide, your decision arrives in the session as a message from the Plannotator plugin. Claude continues from there.
If Claude revises the plan while the review is open, the same tab updates to the new version. Your comments stay.
After you approve a plan, Claude calls ExitPlanMode once more and works from the exact plan text you approved.
Claude can open Plannotator itself with its plannotator tool, for example when you ask it to “open notes.md in Plannotator”. A plannotator review, annotate or last command that Claude runs in Bash opens the same way.
Ask AI in the review is answered by this Claude session. See Ask this session.
The status line shows the reviews that are waiting for you.
A review stays open if you close the terminal. Resume the session, for example with claude --continue, and the decision is delivered.
While a plan review is open, Claude is not blocked. If you leave plan mode yourself before you approve, Claude can start editing.
Keep the plannotator binary up to date as well: rerun the installer. With an older binary, plan review falls back to the waiting flow.The mod is part of the marketplace plugin. A manual hook always uses the waiting flow.
Set PLANNOTATOR_CLAUDE_MOD=0 in the shell that starts Claude Code, or in the env block of Claude Code’s settings.json. You can also add this to ~/.plannotator/config.json:
{ "claudeCodeMod": false }
The environment variable wins over the config file. Claude Code reads the setting when it starts, so restart Claude Code after you change it. With the mod off, Claude waits for your decision, and Ask AI uses a provider you pick.
Rerun the standard installer to update the plannotator binary and the core skills. The marketplace plugin updates separately. Refreshing the marketplace alone does not update an installed plugin.From a terminal:
claude plugin marketplace update plannotatorclaude plugin update plannotator@plannotator
Then restart Claude Code.Or, inside Claude Code, run:
/plugin marketplace update plannotator
Then open /plugin, go to Installed, select plannotator, and choose Update now. Restart Claude Code.Claude Code has no /plugin update command.
If you do not use Claude Code’s plugin system, add this hook to ~/.claude/settings.json. With a manual hook, Claude waits for your decision on every Claude Code version.
Last verified against Plannotator OSS v0.25.1 on July 31, 2026. The Plannotator mod, Ask this session, and update sections were checked against Plannotator v0.28.0 on October 4, 2026, and the update steps were verified on Claude Code 2.1.289. Maintained by the Plannotator project.
Last modified on October 5, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Plannotator","description":"Plannotator product and open-source documentation, planning templates, framework profiles, comparisons, and guides to AI-assisted development.","colors":{"primary":"#6D5BD0","light":"#8A7BE0","dark":"#8A7BE0"},"logo":{"light":"https://mintcdn.com/plannotator/vqDpSTQONLoR6rqS/images/totman_transparent.webp?fit=max\u0026auto=format\u0026n=vqDpSTQONLoR6rqS\u0026q=85\u0026s=979a51a8f7a0fc863c02150b818d7df0","dark":"https://mintcdn.com/plannotator/vqDpSTQONLoR6rqS/images/totman_transparent.webp?fit=max\u0026auto=format\u0026n=vqDpSTQONLoR6rqS\u0026q=85\u0026s=979a51a8f7a0fc863c02150b818d7df0"},"favicon":"https://mintcdn.com/plannotator/R7DK-7odgGi8zHBh/favicon.png?fit=max\u0026auto=format\u0026n=R7DK-7odgGi8zHBh\u0026q=85\u0026s=3ab0d16d5c5acbc3b715b15b24274415","navbar":{"links":[{"href":"https://help.plannotator.ai/workspaces/","label":"Workspaces Help"},{"href":"https://github.com/backnotprop/plannotator","label":"GitHub"},{"href":"https://plannotator.ai","label":"Plannotator.ai"}],"primary":{"type":"button","label":"Open source","href":"/open-source/"}},"footer":{"socials":{}},"search":{"prompt":"Search Plannotator docs and guides…"},"seo":{"metatags":{"canonical":"https://docs.plannotator.ai","og:image":"https://plannotator.ai/assets/plannotator-generic-og-v1.jpg","twitter:image":"https://plannotator.ai/assets/plannotator-generic-og-v1.jpg","twitter:card":"summary_large_image"}},"errors":{"404":{"redirect":false,"title":"Page not found","description":"Use the product switcher, navigation, or search to find a page."}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"plannotator","hasAudioNarration":false,"actualSubdomain":"plannotator","customDomains":["docs.plannotator.ai"],"gitSource":{"type":"github","owner":"plannotator","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"}},"buildId":"6aebe80b859848b3a5e3dcb5","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Open Source","count":53},{"language":"default","tag":"Learn","count":31},{"language":"default","tag":"Planning Library","count":24},{"language":"default","tag":"Code review","count":12},{"language":"default","tag":"Start","count":12},{"language":"default","tag":"Agents","count":10},{"language":"default","tag":"Reference","count":10},{"language":"default","tag":"Templates","count":10},{"language":"default","tag":"Frameworks","count":9},{"language":"default","tag":"AI development workflows","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"open-source/agents/claude-code","slug":"/open-source/agents/claude-code","pageMetadata":{"title":"Use Plannotator with Claude Code","sidebarTitle":"Claude Code","description":"Install Plannotator for Claude Code, review plans at ExitPlanMode without making Claude wait, invoke document and code review skills, and update the plugin.","keywords":["Plannotator Claude Code","Claude Code plan review","ExitPlanMode hook","Plannotator mod","PLANNOTATOR_CLAUDE_MOD","update Claude Code plugin"],"og:type":"article","href":"/open-source/agents/claude-code"},"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: \"Install Plannotator for Claude Code, review plans at ExitPlanMode without making Claude wait, invoke document and code review skills, and update the plugin.\"\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`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Plannotator opens Claude Code’s plans in a review UI in your browser. `,_jsx(_components.strong,{children:`Approve`}),` lets Claude implement the plan. `,_jsx(_components.strong,{children:`Send Feedback`}),` returns your annotations so Claude can revise it.`]}),`\n`,_jsx(_components.p,{children:`How Claude waits for your decision depends on the Claude Code version:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Claude Code 2.1.287 or later, in the interactive terminal:`}),` the `,_jsx(_components.a,{href:`#the-plannotator-mod`,children:`Plannotator mod`}),` is on by default. Claude does not wait. Your decision arrives later as a message.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Older Claude Code, `,_jsx(_components.code,{children:`claude -p`}),` and SDK runs, Windows, or the mod turned off:`]}),` a hook holds `,_jsx(_components.code,{children:`ExitPlanMode`}),` open, and Claude waits until you decide.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`install`,children:`Install`}),`\n`,_jsx(_components.p,{children:`Install the command:`}),`\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:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://plannotator.ai/install.sh`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` bash`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Then run these commands in Claude Code:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/plugin marketplace add backnotprop/plannotator`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/plugin install plannotator@plannotator`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Restart Claude Code so the plugin takes effect. The standard installer also adds three Claude-specific skills: `,_jsx(_components.code,{children:`plannotator-review`}),`, `,_jsx(_components.code,{children:`plannotator-annotate`}),`, and `,_jsx(_components.code,{children:`plannotator-last`}),`. It writes them to `,_jsx(_components.code,{children:`~/.claude/skills`}),`. If `,_jsx(_components.code,{children:`$CLAUDE_CONFIG_DIR`}),` is set, it uses `,_jsx(_components.code,{children:`$CLAUDE_CONFIG_DIR/skills`}),` instead.`]}),`\n`,_jsxs(_components.p,{children:[`The marketplace plugin supplies plan review and the Plannotator mod. The skills supply the three manual slash commands and call the installed `,_jsx(_components.code,{children:`plannotator`}),` binary. The plugin does not include the binary. See `,_jsx(_components.a,{href:`/open-source/start/skills`,children:`Install and Manage Plannotator Skills`}),` for extra skills and model-callable settings.`]}),`\n`,_jsx(Heading,{level:`2`,id:`use-it`,children:`Use it`}),`\n`,_jsxs(_components.p,{children:[`Enter plan mode and ask Claude Code to prepare a plan. When Claude calls `,_jsx(_components.code,{children:`ExitPlanMode`}),`, Plannotator opens the plan. `,_jsx(_components.strong,{children:`Approve`}),` allows implementation. `,_jsx(_components.strong,{children:`Send Feedback`}),` returns your annotations and direct edits to Claude for another revision.`]}),`\n`,_jsx(_components.p,{children:`Use the installed skills for manual workflows:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/plannotator-review`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/plannotator-annotate path/to/spec.md`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/plannotator-last`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`/plannotator-review`}),` accepts a GitHub pull request or GitLab merge request URL. `,_jsx(_components.code,{children:`/plannotator-annotate`}),` accepts a file, folder, or web URL.`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-plannotator-mod`,children:`The Plannotator mod`}),`\n`,_jsx(_components.p,{children:`On Claude Code 2.1.287 or later, in the interactive terminal, the plugin runs the Plannotator mod. It is on by default.`}),`\n`,_jsxs(_components.p,{children:[`When Claude calls `,_jsx(_components.code,{children:`ExitPlanMode`}),`, or you run `,_jsx(_components.code,{children:`/plannotator-review`}),`, `,_jsx(_components.code,{children:`/plannotator-annotate`}),` or `,_jsx(_components.code,{children:`/plannotator-last`}),`, Plannotator opens in your browser and Claude ends its turn. Claude does not wait for you:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`You can keep chatting with Claude while the review is open.`}),`\n`,_jsx(_components.li,{children:`When you decide, your decision arrives in the session as a message from the Plannotator plugin. Claude continues from there.`}),`\n`,_jsx(_components.li,{children:`If Claude revises the plan while the review is open, the same tab updates to the new version. Your comments stay.`}),`\n`,_jsxs(_components.li,{children:[`After you approve a plan, Claude calls `,_jsx(_components.code,{children:`ExitPlanMode`}),` once more and works from the exact plan text you approved.`]}),`\n`,_jsxs(_components.li,{children:[`Claude can open Plannotator itself with its `,_jsx(_components.code,{children:`plannotator`}),` tool, for example when you ask it to “open notes.md in Plannotator”. A `,_jsx(_components.code,{children:`plannotator review`}),`, `,_jsx(_components.code,{children:`annotate`}),` or `,_jsx(_components.code,{children:`last`}),` command that Claude runs in Bash opens the same way.`]}),`\n`,_jsxs(_components.li,{children:[`Ask AI in the review is answered by this Claude session. See `,_jsx(_components.a,{href:`/open-source/workflows/ask-this-session`,children:`Ask this session`}),`.`]}),`\n`,_jsx(_components.li,{children:`The status line shows the reviews that are waiting for you.`}),`\n`,_jsxs(_components.li,{children:[`A review stays open if you close the terminal. Resume the session, for example with `,_jsx(_components.code,{children:`claude --continue`}),`, and the decision is delivered.`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`While a plan review is open, Claude is not blocked. If you leave plan mode yourself before you approve, Claude can start editing.`})}),`\n`,_jsxs(_components.p,{children:[`Keep the `,_jsx(_components.code,{children:`plannotator`}),` binary up to date as well: rerun the installer. With an older binary, plan review falls back to the waiting flow.`]}),`\n`,_jsxs(_components.p,{children:[`The mod is part of the marketplace plugin. A `,_jsx(_components.a,{href:`#manual-hook-setup`,children:`manual hook`}),` always uses the waiting flow.`]}),`\n`,_jsx(Heading,{level:`3`,id:`turn-the-mod-off`,children:`Turn the mod off`}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`PLANNOTATOR_CLAUDE_MOD=0`}),` in the shell that starts Claude Code, or in the `,_jsx(_components.code,{children:`env`}),` block of Claude Code’s `,_jsx(_components.code,{children:`settings.json`}),`. You can also add this to `,_jsx(_components.code,{children:`~/.plannotator/config.json`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"claudeCodeMod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The environment variable wins over the config file. Claude Code reads the setting when it starts, so restart Claude Code after you change it. With the mod off, Claude waits for your decision, and Ask AI uses a provider you pick.`}),`\n`,_jsx(Heading,{level:`2`,id:`update`,children:`Update`}),`\n`,_jsxs(_components.p,{children:[`Rerun the standard installer to update the `,_jsx(_components.code,{children:`plannotator`}),` binary and the core skills. The marketplace plugin updates separately. Refreshing the marketplace alone does not update an installed plugin.`]}),`\n`,_jsx(_components.p,{children:`From a terminal:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`claude`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` plugin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` marketplace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` plannotator`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`claude`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` plugin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` plannotator@plannotator`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Then restart Claude Code.`}),`\n`,_jsx(_components.p,{children:`Or, inside Claude Code, run:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/plugin marketplace update plannotator`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Then open `,_jsx(_components.code,{children:`/plugin`}),`, go to `,_jsx(_components.strong,{children:`Installed`}),`, select `,_jsx(_components.strong,{children:`plannotator`}),`, and choose `,_jsx(_components.strong,{children:`Update now`}),`. Restart Claude Code.`]}),`\n`,_jsxs(_components.p,{children:[`Claude Code has no `,_jsx(_components.code,{children:`/plugin update`}),` command.`]}),`\n`,_jsx(Heading,{level:`2`,id:`manual-hook-setup`,children:`Manual hook setup`}),`\n`,_jsxs(_components.p,{children:[`If you do not use Claude Code’s plugin system, add this hook to `,_jsx(_components.code,{children:`~/.claude/settings.json`}),`. With a manual hook, Claude waits for your decision on every Claude Code version.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hooks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"PermissionRequest\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"matcher\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ExitPlanMode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hooks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"command\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"command\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"plannotator\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timeout\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`345600`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Last verified against Plannotator OSS v0.25.1 on July 31, 2026. The Plannotator mod, Ask this session, and update sections were checked against Plannotator v0.28.0 on October 4, 2026, and the update steps were verified on Claude Code 2.1.289. Maintained by the Plannotator project.`})]})}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":"Use Plannotator with Claude Code","sidebarTitle":"Claude Code","description":"Install Plannotator for Claude Code, review plans at ExitPlanMode without making Claude wait, invoke document and code review skills, and update the plugin.","keywords":["Plannotator Claude Code","Claude Code plan review","ExitPlanMode hook","Plannotator mod","PLANNOTATOR_CLAUDE_MOD","update Claude Code plugin"],"og:type":"article","href":"/open-source/agents/claude-code"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Install","slug":"install","depth":2,"children":[]},{"title":"Use it","slug":"use-it","depth":2,"children":[]},{"title":"The Plannotator mod","slug":"the-plannotator-mod","depth":2,"children":[{"title":"Turn the mod off","slug":"turn-the-mod-off","depth":3,"children":[]}]},{"title":"Update","slug":"update","depth":2,"children":[]},{"title":"Manual hook setup","slug":"manual-hook-setup","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"plannotator","siteName":"Plannotator","title":"Use Plannotator with Claude Code - Plannotator","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-05T02:08:05.150Z","gitLastModified":"2026-10-05T00:53:37.000Z","originalFileLocation":"open-source/agents/claude-code.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=\"Install Plannotator for Claude Code, review plans at ExitPlanMode without making Claude wait, invoke document and code review skills, and update the plugin.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Plannotator\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/plannotator/hZJJbeM0ENum3mVc/_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/plannotator/hZJJbeM0ENum3mVc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/plannotator/hZJJbeM0ENum3mVc/_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/plannotator/hZJJbeM0ENum3mVc/_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/plannotator/hZJJbeM0ENum3mVc/_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/plannotator/hZJJbeM0ENum3mVc/_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/plannotator/hZJJbeM0ENum3mVc/_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/plannotator/hZJJbeM0ENum3mVc/_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/plannotator/hZJJbeM0ENum3mVc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Use Plannotator with Claude Code - Plannotator\">\u003cmeta data-mint-head property=\"og:description\" content=\"Install Plannotator for Claude Code, review plans at ExitPlanMode without making Claude wait, invoke document and code review skills, and update the plugin.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Plannotator\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.plannotator.ai/open-source/agents/claude-code\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://plannotator.ai/assets/plannotator-generic-og-v1.jpg\">\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=\"Use Plannotator with Claude Code - Plannotator\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Install Plannotator for Claude Code, review plans at ExitPlanMode without making Claude wait, invoke document and code review skills, and update the plugin.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://plannotator.ai/assets/plannotator-generic-og-v1.jpg\">\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/plannotator/hZJJbeM0ENum3mVc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Plannotator\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6D5BD0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.plannotator.ai/open-source/agents/claude-code\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/open-source/agents/claude-code.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.plannotator.ai/#organization\",\"name\":\"Plannotator\",\"url\":\"https://docs.plannotator.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/plannotator/vqDpSTQONLoR6rqS/images/totman_transparent.webp?fit=max\u0026auto=format\u0026n=vqDpSTQONLoR6rqS\u0026q=85\u0026s=979a51a8f7a0fc863c02150b818d7df0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.plannotator.ai#website\",\"name\":\"Plannotator\",\"url\":\"https://docs.plannotator.ai\",\"publisher\":{\"@id\":\"https://docs.plannotator.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.plannotator.ai/open-source/agents/claude-code#webpage\",\"url\":\"https://docs.plannotator.ai/open-source/agents/claude-code\",\"name\":\"Use Plannotator with Claude Code\",\"description\":\"Install Plannotator for Claude Code, review plans at ExitPlanMode without making Claude wait, invoke document and code review skills, and update the plugin.\",\"dateModified\":\"2026-10-05T00:53:37.000Z\",\"isPartOf\":{\"@id\":\"https://docs.plannotator.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.plannotator.ai/open-source/agents/claude-code#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.plannotator.ai/open-source/agents/claude-code#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents\",\"item\":\"https://docs.plannotator.ai/open-source/agents/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Use Plannotator with Claude Code\",\"item\":\"https://docs.plannotator.ai/open-source/agents/claude-code\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.plannotator.ai/open-source/agents/claude-code#article\",\"headline\":\"Use Plannotator with Claude Code\",\"name\":\"Use Plannotator with Claude Code\",\"description\":\"Install Plannotator for Claude Code, review plans at ExitPlanMode without making Claude wait, invoke document and code review skills, and update the plugin.\",\"url\":\"https://docs.plannotator.ai/open-source/agents/claude-code\",\"mainEntityOfPage\":{\"@id\":\"https://docs.plannotator.ai/open-source/agents/claude-code#webpage\"},\"image\":\"https://plannotator.ai/assets/plannotator-generic-og-v1.jpg\",\"dateModified\":\"2026-10-05T00:53:37.000Z\",\"keywords\":\"Plannotator Claude Code, Claude Code plan review, ExitPlanMode hook, Plannotator mod, PLANNOTATOR_CLAUDE_MOD, update Claude Code plugin\",\"publisher\":{\"@id\":\"https://docs.plannotator.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.plannotator.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Plannotator\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Plannotator","nav":{"global":null,"products":[{"product":"Plannotator","icon":"house","pages":[{"title":"Plannotator","href":""}]},{"product":"Open Source","icon":"code-branch","groups":[{"group":"Start","pages":[{"title":"Plannotator OSS Documentation","sidebarTitle":"Overview","href":"/open-source"},{"title":"Install Plannotator","sidebarTitle":"Installation","href":"/open-source/start/installation"},{"title":"Plannotator Open Source Security","sidebarTitle":"Security","href":"/open-source/security"},{"title":"Self-Host Plannotator's Deprecated Share Services","sidebarTitle":"Self-hosting","href":"/open-source/self-hosting"},{"title":"Set Up the Plannotator Inbox for Your Coding Agents","sidebarTitle":"Inbox","href":"/open-source/inbox"},{"title":"Review Plannotator Sessions over Tailscale","sidebarTitle":"Tailscale remote reviews","href":"/open-source/tailscale"},{"title":"Open Plannotator on Another Device","sidebarTitle":"Remote access","href":"/open-source/remote-access"},{"title":"Install and Manage Plannotator Skills","sidebarTitle":"Skills","href":"/open-source/start/skills"},{"title":"Annotate Your First Plan","sidebarTitle":"Quickstart: Planning","href":"/open-source/start/quickstart"},{"title":"Review Your First Code Change","sidebarTitle":"Quickstart: Code Review","href":"/open-source/start/code-review-quickstart"},{"title":"Open Plannotator","sidebarTitle":"Open Plannotator","href":"/open-source/start/open-plannotator"},{"title":"Turn Plannotator Feedback into Agent Skills","sidebarTitle":"Compound value","href":"/open-source/start/compound-value"}]},{"group":"Plans and documents","pages":[{"title":"Review an AI Coding Plan with Plannotator","sidebarTitle":"Plan review","href":"/open-source/workflows/plan-review"},{"title":"Open and Annotate Markdown, Documents, URLs, and Folders","sidebarTitle":"Documents","href":"/open-source/workflows/documents"},{"title":"Annotate a Folder with Plannotator","sidebarTitle":"Folders","href":"/open-source/workflows/folders"},{"title":"Annotate HTML in Plannotator","sidebarTitle":"HTML","href":"/open-source/workflows/html"},{"title":"Add Annotations and Send Feedback","sidebarTitle":"Annotations and feedback","href":"/open-source/workflows/annotations-and-feedback"},{"title":"Answer Your Agent's Questions Asynchronously","sidebarTitle":"Questions","href":"/open-source/workflows/questions"},{"title":"Use Local Version History and Plan Diffs","sidebarTitle":"Version history","href":"/open-source/workflows/version-history"},{"title":"Share a Plannotator Session","sidebarTitle":"Sharing","href":"/open-source/workflows/sharing"}]},{"group":"Code review","pages":[{"title":"Code Review with Plannotator","sidebarTitle":"Code review overview","href":"/code-review/index"},{"title":"Review local code changes","sidebarTitle":"Local changes","href":"/open-source/workflows/local-changes"},{"title":"Review GitButler Workspaces, Stacks, and Branches","sidebarTitle":"GitButler","href":"/open-source/workflows/gitbutler"},{"title":"Review pull requests and merge requests","sidebarTitle":"Pull requests and merge requests","href":"/open-source/workflows/pull-requests"},{"title":"Ask AI during a review","sidebarTitle":"Ask AI","href":"/open-source/workflows/ask-ai"},{"title":"Ask This Session: Ask AI Answered by Your Agent","sidebarTitle":"Ask this session","href":"/open-source/workflows/ask-this-session"},{"title":"Run Agent Reviews, Code Tours, and Guided Reviews","sidebarTitle":"Agent and guided reviews","href":"/open-source/workflows/agent-reviews"}]},{"group":"Reference","pages":[{"title":"Automate and Customize Plannotator","sidebarTitle":"Reference overview","href":"/open-source/reference/index"},{"title":"Plannotator CLI reference","sidebarTitle":"CLI","href":"/open-source/reference/cli"},{"title":"Configure Plannotator","sidebarTitle":"Configuration","href":"/open-source/reference/configuration"},{"title":"Plannotator environment variables","sidebarTitle":"Environment variables","href":"/open-source/reference/environment-variables"},{"title":"Plannotator OSS Privacy and Data Flow","sidebarTitle":"Privacy and data flow","href":"/open-source/reference/privacy-and-data-flow"},{"title":"Customize Feedback","sidebarTitle":"Custom feedback","href":"/open-source/reference/custom-feedback"},{"title":"Plannotator keyboard shortcuts","sidebarTitle":"Keyboard shortcuts","href":"/open-source/reference/keyboard-shortcuts"},{"title":"Use Plannotator Approval Gates and Automation Hooks","sidebarTitle":"Gates and hooks","href":"/open-source/reference/hooks"},{"title":"Plannotator Local Server and API","sidebarTitle":"Local server and API","href":"/open-source/reference/local-api"},{"title":"Add external annotations to Plannotator","sidebarTitle":"External annotations","href":"/open-source/reference/external-annotations"}]},{"group":"Agents","pages":[{"title":"Choose Your Agent","sidebarTitle":"Agents","description":"Choose a supported coding agent, editor, or note app and follow its Plannotator setup guide.","href":"/open-source/agents/index"},{"title":"Use Plannotator with Claude Code","sidebarTitle":"Claude Code","href":"/open-source/agents/claude-code"},{"title":"Use Plannotator with Codex","sidebarTitle":"Codex","description":"Enable Plannotator's Codex Stop hook, review plans after they render, and invoke review skills or shell commands.","href":"/open-source/agents/codex"},{"title":"Use Plannotator with OpenCode","sidebarTitle":"OpenCode","href":"/open-source/agents/opencode"},{"title":"Use Plannotator with Copilot CLI","sidebarTitle":"Copilot CLI","href":"/open-source/agents/copilot-cli"},{"title":"Use Plannotator with Gemini CLI","sidebarTitle":"Gemini CLI","href":"/open-source/agents/gemini-cli"},{"title":"Use Plannotator with Pi","sidebarTitle":"Pi","href":"/open-source/agents/pi"},{"title":"Use Plannotator with Amp","sidebarTitle":"Amp","href":"/open-source/agents/amp"},{"title":"Use Plannotator with Droid","sidebarTitle":"Droid","href":"/open-source/agents/droid"},{"title":"Use Plannotator with Kiro CLI","sidebarTitle":"Kiro CLI","href":"/open-source/agents/kiro-cli"}]},{"group":"Editors and notes","pages":[{"title":"Open Plannotator in VS Code","sidebarTitle":"VS Code","href":"/open-source/agents/vscode"},{"title":"Open review files in Zed","sidebarTitle":"Zed","href":"/open-source/agents/zed"},{"title":"Save Plannotator Plans to Obsidian or Bear","sidebarTitle":"Obsidian and Bear","href":"/open-source/agents/notes"},{"title":"Save Plannotator Plans to Octarine","sidebarTitle":"Octarine","href":"/open-source/agents/octarine"}]},{"group":"Troubleshooting","pages":[{"title":"Troubleshoot Plannotator","sidebarTitle":"Troubleshooting","href":"/open-source/troubleshooting"}]},{"group":"Related project","pages":[{"title":"Artifact Server: A Local Workspace for AI Agent Artifacts","sidebarTitle":"Artifact Server","href":"/open-source/artifact-server"}]}]},{"product":"Planning Library","icon":"books","pages":[{"title":"Planning Library","href":"/templates"}]},{"product":"Learn","icon":"graduation-cap","pages":[{"title":"Learn","href":"/learn"}]}]},"basePath":"","title":"Use Plannotator with Claude Code - Plannotator","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":[],"chunks":[]}