Open Plan Annotator
Local-first agent plan annotator
Install: /plugin marketplace add ndom91/open-plan-annotator
Works with Claude Code, OpenCode · 100 GitHub stars
Install
/plugin marketplace add ndom91/open-plan-annotatorInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →open-plan-annotator
A fully local agentic coding plugin that intercepts plan mode and opens an annotation UI in your browser. Mark up the plan, send structured feedback to the agent, and receive a revised version — iterate as many times as you need until you're ready to approve.
Select text to strikethrough, replace, insert, or comment — then approve the plan or request changes
How It Works
- Your coding agent (Claude Code, OpenCode, and pi) finishes writing a plan
- The plugin launches an ephemeral HTTP server and opens a React UI in your browser
- You review the plan and annotate it — strikethrough, replace, insert, or comment on any section
- Approve to let the agent proceed, or Request Changes to send your annotations back as structured feedback
- The agent revises the plan and the cycle repeats until you're satisfied
Everything runs locally.
Install
open-plan-annotator is package-managed as a plugin within your harness of choice. The main plugin package then installs the specific local platform runtime it needs for your host (linux/darwin, x86_64/arm64, etc). After installing the plugin, your agent will call open-plan-annotator autonomously when you ask it to "make a plan" or any similar such comment, including in claude-code specifically as a hook when exiting PlanMode. Alternatively, you can call it yourself explicitly via the exposed command. See below for more details.
Claude Code
Install from inside Claude Code:
/plugin marketplace add ndom91/open-plan-annotator
/plugin install open-plan-annotator@ndom91-open-plan-annotator
What you get:
ExitPlanModehook: opens the annotation UI whenever Claude submits a plan/annotate-plan [task description]: asks Claude to draft a plan and send it to the UIopen-plan-annotator: runtime command invoked by the hook
Third-party marketplace auto-update is disabled by default in Claude Code. Enable auto-update for the ndom91-open-plan-annotator marketplace in the Marketplace UI if you want updates automatically.
OpenCode
Add the plugin to your OpenCode config (opencode.json or .opencode/config.json):
{
"plugin": ["open-plan-annotator@1.10.9"]
}
What you get:
annotate_plan: tool the agent calls after drafting a markdown planopen-plan-annotator: runtime command spawned by the plugin- optional implementation-agent handoff after approval
Restart OpenCode after installing or updating so it reloads the package-managed runtime.
Pi
Install the Pi extension:
pi install npm:@open-plan-annotator/pi-extension
What you get:
annotate_plan: tool the agent calls after drafting a markdown plan/annotate-plan [plan markdown]: command for manually reviewing supplied text or the latest assistant messageopen-plan-annotator: runtime command used by the extension
Manual review examples:
/annotate-plan
/annotate-plan # Plan\n\n1. Do the thing
Manual / CLI
Install globally if you want to run the CLI directly:
bun add -g open-plan-annotator
npm install -g open-plan-annotator
This adds the open-plan-annotator command. To verify the resolved runtime:
open-plan-annotator doctor
You can also review a Markdown plan directly from disk, which is useful for agents without a native plugin:
open-plan-annotator review /absolute/path/to/plan.md
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…