backnotprop/plannotator/plannotator

Claude Code and agent skill by backnotprop/plannotator

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Reference for using Plannotator (its `plannotator` tool when you have one, otherwise the CLI): plan review, code review, annotating files, URLs, folders, and running local apps, annotating the last assistant message, browsing archived plan decisions, exporting or sharing Guided Reviews, and the Plannotator Inbox (messages and questions the person answers later, without blocking you). Invoke when asked to use Plannotator for anything not covered by a more specific plannotator-* skill, and before…

Install

npx vskill@latest install backnotprop/plannotator/plannotator

SKILL.md

The same SKILL.md was published earlier as backnotprop/plannotator/plannotator.

Plannotator CLI Reference

Plannotator is a local, browser-based review layer for agent workflows: it opens plans, diffs, and documents in an annotation UI, the human marks them up, and the structured feedback comes back to you on stdout. It installs as a single plannotator binary plus per-host hooks, so plan review fires automatically when you exit plan mode; every other surface is launched explicitly, with the plannotator tool when you have one and with the CLI otherwise. A session runs on a random localhost port (fixed port 19432 in remote mode) and blocks until the reviewer submits feedback, approves, or closes the tab.

This skill is the knowledge layer. The plannotator-review, plannotator-annotate, and plannotator-last skills are thin launchers for the three most common actions; use this reference when you need to pick the right command or flags yourself.

If you have a plannotator tool, always use it

Check your tools before you run any command below. If you have a tool named plannotator (it can be listed with a prefix, for example mcp__plannotator__plannotator in Claude Code, and can need to be loaded through tool search before you call it), always call it instead of running plannotator annotate, plannotator review, or plannotator last. This includes approvals: call it with { "action": "annotate", "target": "<file>", "gate": true }, not --gate --json.

The tool returns at once. End your turn after you call it and wait: the reviewer's decision arrives later as a message. Do not also run the CLI, poll, or reopen the session.

Use the CLI only when you have no such tool, or for what the tool does not do: archive, guide, sessions, review flags other than --base and --gate, annotate flags other than --gate and --markdown, and strict gates that a script checks by exit code (--require-approval, --result-file). If your tool offers tailscale, pass tailscale: true instead of --tailscale.

Choose the command

The user wantsRun (CLI, when you have no plannotator tool)
Review a plan you producedNothing. Plan review opens automatically on plan exit via hooks. Never run bare plannotator yourself.
Review and explicitly approve a plan/spec saved as a fileplannotator annotate <file> --gate --json
Review current code changesplannotator review
Review a GitHub PR, GitLab MR or Bitbucket Cloud PRplannotator review <PR_URL>
Annotate a markdown, text, config, or HTML fileplannotator annotate <file>
Annotate a web pageplannotator annotate <https-url>
Annotate a running local app (dev server)plannotator annotate <http://localhost:PORT/>
Pick a file to annotate from a folderplannotator annotate <folder/>
Annotate your latest assistant messageplannotator last
Browse past plan decisionsplannotator archive
Export or share a Guided Reviewplannotator guide export / plannotator guide share
Reopen or list live sessionsplannotator sessions
Make Plannotator use their own colour theme fileplannotator theme --help
Ask the person something they can answer later, without blockingThe plannotator_inbox tool when you have it, else the Inbox's MCP server (plannotator inbox mcp)
Have work run on its own on a schedule, reporting in the Inbox (a routine)plannotator routine --help

Session model

Every review or annotate command starts a local web server, opens the browser, and blocks until the human decides. That can take minutes, or more than an hour for a large pull request. Launch it with a long (or no) command timeout, or in the background, then read stdout when the process exits. In Claude Code, a background command is stopped after 30 minutes unless you pass run_in_background with a longer timeout (up to 7200000 ms). Do not kill the process to "finish" a review; a session that ends without a decision reads as no feedback. If a session was stopped by a time limit, run the same command again: annotation drafts are restored.

Stdout is the interface, but its contract is command-specific. For annotate and its last-message variants:

  • Plaintext (default): empty output on close, The user approved. on approve (an approval with a note prints an "Approved with Notes" message instead; treat the notes as guidance, not a change request), otherwise the feedback text. Address returned feedback in the same conversation.
  • --json: one JSON record with decision (approved, dismissed, or annotated) and optional raw feedback. An approval may still carry notes in feedback; treat those as guidance, not a change request.
  • --hook: hook-native output for real PostToolUse/Stop hook contexts only. Approve/close emits nothing (hook passes); annotations emit {"decision":"block","reason":"..."}. --hook implies the gate UI. Never use it for a normal interactive invocation.

plannotator <command> --help prints usage without launching anything. Bare plannotator is the hook entry point and expects hook JSON on stdin.

plannotator review

bash
plannotator review [--git | --gitbutler] [--base <ref>] [--diff-type <type>] [--local | --no-local] [--patch-file <path | ->] [--no-git-remote-check] [--tailscale] [--gate] [--json] [DIRECTORY | PR_URL]

Reviews local VCS changes, or a pull request when a URL is given. Default stdout stays plaintext: the existing close message, approval prompt, or feedback.

With --json, direct review emits one record: { decision: 'approved' | 'annotated' | 'dismissed', message: string }. message is the CLI-rendered text exactly as default plaintext would print it, without the final console newline. It includes customized prompts and non-blocking approval-with-notes framing; a denial suffix is included only when annotations.length > 0, including in PR mode, not for zero-annotation platform status.

Classify the outcome only by decision, never by message text. Notes on an approved review are guidance, not a blocking change request. This rendered message contract is separate from the raw feedback JSON used by annotate and the unchanged opencode-review integration. --hook is annotate-only.

  • VCS is auto-detected (JJ, GitButler, Git, and P4 where supported). --git forces plain Git; --gitbutler forces GitButler (requires the but CLI 0.21.0+). Running from a non-VCS parent folder that contains nested repos produces a combined workspace diff.
  • The default diff is "everything a PR would show now": merge-base of the trunk vs the working tree plus untracked files. --base <ref> opens the session against a different compare target (branch, origin/<branch>, tag, or commit) and --diff-type <type> opens it in a different mode (since-base, merge-base, branch, uncommitted, staged, unstaged, last-commit, local-vs-remote, all). Both are session-only: the reviewer can change either in the UI, and neither writes the user's saved defaults.
  • Reviewing one layer of a stacked branch? Pass `--base <the branch below yours>` — plannotator review --base feature/part-1 shows only what this layer adds, instead of everything since main.
  • Both flags are git-only: they error on jj, GitButler, Perforce, multi-repo workspace reviews, and PR URLs (a PR's base comes from the pull request). A --base ref that does not resolve is a startup error naming near-match branches, never a silently wrong diff.
  • --patch-file <path> reviews a static caller-supplied unified diff with no repository at all (use - to read it from stdin): the session serves the patch as-is with no file-system affordances that need a worktree. It cannot be combined with a PR/MR URL, --base, --diff-type, --git/--gitbutler, or --local/--no-local. Every working-tree affordance is off in that session (staging, hunk-context expansion, open-in-editor, code navigation, diff-type/base switching), and the endpoints behind them answer 400.
  • Pass a directory to review another repo or worktree: plannotator review ../feature-worktree or plannotator review ./backend --diff-type last-commit. Paths resolve relative to the invoking directory; quote paths containing spaces. A directory selects the review workspace, not a file filter. Accepts one directory or PR URL; a directory cannot be combined with --patch-file. Invalid targets fail instead of falling back to the current repo.
  • PR review (plannotator review https://github.com/owner/repo/pull/123, GitLab MR, Bitbucket Cloud and Forgejo / Gitea PR URLs too) needs an authenticated gh or glab CLI; Bitbucket Cloud (https://bitbucket.org/<workspace>/<repo>/pull-requests/<id>) instead needs an Atlassian API token in PLANNOTATOR_BITBUCKET_TOKEN (plus PLANNOTATOR_BITBUCKET_EMAIL); a Forgejo / Gitea PR (https://<host>/<owner>/<repo>/pulls/<id>) needs no token to read a public repository, and an access token in PLANNOTATOR_FORGEJO_TOKEN (with PLANNOTATOR_FORGEJO_URL set to the instance's address) to read a private one or to post a review. --local (the default) builds a local checkout of the PR head in the background for full file access; --no-local skips it and reviews the platform diff only.
  • --no-git-remote-check stops the session contacting the git remote at all: no git ls-remote for the default branch or the "behind GitHub" baseline check. The compare target then comes from local refs only and the staleness banner never shows, which also takes away its one-click Fetch button (the /api/fetch-base endpoint stays available); fetching from a terminal is unaffected. Use it when a remote probe is expensive or intrusive — most sharply when SSH authentication is backed by a hardware token, where each probe is a physical touch prompt. The same opt-out is available session-wide as PLANNOTATOR_GIT_REMOTE_CHECK=0 or { "gitRemoteCheck": false } in config.json in the data directory (plannotator data-dir prints it) (the flag beats the env var, which beats the config key). Without it the remote is queried when the review opens, on diff load, on a diff-type/base switch, and on Fetch — never on a timer.
  • --tailscale publishes the loopback session over the user's tailnet via tailscale serve (HTTPS, never public) and prints the URL with a QR code. A publish failure exits nonzero instead of leaving the server hanging. Use it only when the user asks to open the review on another device (a phone, a tablet) or over Tailscale. With a plannotator tool that offers it, pass tailscale: true (annotate, review, last) instead: "Ask this session" then keeps working on the tailnet for the Tailscale login that owns this computer.
  • --gate says you are waiting for the reviewer's sign-off before going on (committing, opening the PR): a bare Approve then reaches you too. With a plannotator tool, pass gate: true on the review action instead.

plannotator annotate

bash
plannotator annotate <target> [--markdown] [--no-jina] [--app | --static] [--render-html] [--tailscale] [--gate] [--json] [--hook]

Opens one document, page, or app in the annotation UI and returns the human's annotations on stdout.

Plain annotate is feedback-only: it shows Close but no Approve button. When the user asks to review, approve, accept, or gate a generated plan/spec/document saved as a file, call the plannotator tool with "gate": true if you have it; otherwise always add --gate --json. Do not tell the user they can approve a plain annotate session. If the plan is being handed off through the host agent's native plan flow, do not launch annotate; let the plan-exit hook open the approval UI automatically.

Targets:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 96 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
9,096
Repository forks
682
7-day trend score
46

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 2 Oct 2026, 2 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/backnotprop/plannotator/plannotator/badge)](https://verified-skill.com/skills/backnotprop/plannotator/plannotator)

Something wrong with this skill or its page? Tell us.