{"id":45695442,"url":"https://github.com/ndom91/open-plan-annotator","last_synced_at":"2026-03-03T06:01:12.326Z","repository":{"id":340391551,"uuid":"1165825589","full_name":"ndom91/open-plan-annotator","owner":"ndom91","description":"Agent Plan Annotator","archived":false,"fork":false,"pushed_at":"2026-02-28T01:32:17.000Z","size":3582,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-01T05:47:25.909Z","etag":null,"topics":["agentic-ai","claude-code-plugin","opencode-plugin","plan-mode"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ndom91.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"github":["ndom91"]}},"created_at":"2026-02-24T15:31:43.000Z","updated_at":"2026-02-28T21:41:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ndom91/open-plan-annotator","commit_stats":null,"previous_names":["ndom91/open-plan-annotator"],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/ndom91/open-plan-annotator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndom91%2Fopen-plan-annotator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndom91%2Fopen-plan-annotator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndom91%2Fopen-plan-annotator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndom91%2Fopen-plan-annotator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndom91","download_url":"https://codeload.github.com/ndom91/open-plan-annotator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndom91%2Fopen-plan-annotator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29963117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentic-ai","claude-code-plugin","opencode-plugin","plan-mode"],"created_at":"2026-02-24T20:05:05.062Z","updated_at":"2026-03-02T05:00:52.195Z","avatar_url":"https://github.com/ndom91.png","language":"TypeScript","readme":"# open-plan-annotator\n\n[![npm version](https://img.shields.io/npm/v/open-plan-annotator?style=flat-square)](https://www.npmjs.com/package/open-plan-annotator)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://opensource.org/licenses/MIT)\n[![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Linux-pink?style=flat-square)]()\n\nA 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.\n\nSelect text to \u003ccode\u003estrikethrough\u003c/code\u003e, \u003ccode\u003ereplace\u003c/code\u003e, \u003ccode\u003einsert\u003c/code\u003e, or \u003ccode\u003ecomment\u003c/code\u003e — then approve the plan or request changes\n\n![](.github/assets/screenshot.png)\n\n## How It Works\n\n1. Your coding agent (Claude Code or OpenCode) finishes writing a plan\n2. The plugin launches an ephemeral HTTP server and opens a React UI in your browser\n3. You review the plan and annotate it — strikethrough, replace, insert, or comment on any section\n4. **Approve** to let the agent proceed, or **Request Changes** to send your annotations back as structured feedback\n5. The agent revises the plan and the cycle repeats until you're satisfied\n\nEverything runs locally. Nothing leaves your machine.\n\n## Install\n\n### Claude Code\n\nFrom within Claude Code, add the marketplace and install the plugin:\n\n```\n/plugin marketplace add ndom91/open-plan-annotator\n/plugin install open-plan-annotator@ndom91-open-plan-annotator\n```\n\nThis registers the `ExitPlanMode` hook that launches the annotation UI.\n\n### OpenCode\n\nAdd `open-plan-annotator` to the `plugin` array in your OpenCode config (`opencode.json` or `.opencode/config.json`):\n\n```json\n{\n  \"plugin\": [\"open-plan-annotator\"]\n}\n```\n\nOpenCode will install the package and load it automatically. The plugin:\n- Injects plan-mode instructions into the agent's system prompt\n- Registers a `submit_plan` tool that the agent calls after creating a plan\n- Spawns the annotation UI in your browser for review\n- Returns structured feedback to the agent on approval or rejection\n- Optionally hands off to an implementation agent after approval\n\n#### Implementation Handoff\n\nBy default, after a plan is approved the plugin sends \"Proceed with implementation.\" to a `build` agent. To customize or disable this, create `open-plan-annotator.json` in your project's `.opencode/` directory or globally in `~/.config/opencode/`:\n\n```json\n{\n  \"implementationHandoff\": {\n    \"enabled\": true,\n    \"agent\": \"build\"\n  }\n}\n```\n\nSet `enabled` to `false` to disable auto-handoff. Project config overrides global config.\n\n### Manual Install\n\nIf you want to run the binary standalone or build from source:\n\n```sh\nnpm install -g open-plan-annotator\n```\n\n\u003e [!NOTE]\n\u003e The first run might take a few seconds if you use pnpm, as it blocks postinstall scripts.\n\u003e Claude / OpenCode will trigger the download upon first use then.\n\n#### From Source\n\n```sh\ngit clone https://github.com/ndom91/open-plan-annotator.git\ncd open-plan-annotator\nbun install\nbun run build\n```\n\nThen load it directly in Claude Code:\n\n```sh\nclaude --plugin-dir ./open-plan-annotator\n```\n\n## Keyboard Shortcuts\n\n| Action | Shortcut | Description |\n|--------|----------|-------------|\n| Delete | `d` | Strikethrough selected text |\n| Replace | `r` | Replace selected text with new content |\n| Insert | `i` | Insert text after the selection |\n| Comment | `c` | Attach a comment to selected text |\n| Approve | `Cmd+Enter` | Approve the plan and proceed |\n| Request Changes | `Cmd+Shift+Enter` | Send annotations back to the agent |\n\n## Development\n\n```sh\nbun run dev\n```\n\nStarts the Bun server on port 3847 with a test plan and the Vite dev server on port 5173 with HMR.\n\n```sh\nbun run lint        # check\nbun run lint:fix    # auto-fix\nbun run format      # format\n```\n\n## Maintainer Docs\n\n- Architecture: [`docs/architecture.md`](docs/architecture.md)\n- Operations: [`docs/operations.md`](docs/operations.md)\n- Release process: [`docs/release.md`](docs/release.md)\n\n## License\n\nMIT\n","funding_links":["https://github.com/sponsors/ndom91"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndom91%2Fopen-plan-annotator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndom91%2Fopen-plan-annotator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndom91%2Fopen-plan-annotator/lists"}