This directory contains the Claude Code plugin configuration for Plannotator.
Install the plannotator command so Claude Code can use it:
macOS / Linux / WSL:
curl -fsSL https://plannotator.ai/install.sh | bashWindows PowerShell:
irm https://plannotator.ai/install.ps1 | iexWindows CMD:
curl -fsSL https://plannotator.ai/install.cmd -o install.cmd && install.cmd && del install.cmdPlugin Installation · Manual Installation (Hooks) · Obsidian Integration
In Claude Code:
/plugin marketplace add backnotprop/plannotator
/plugin install plannotator@plannotator
Important: Restart Claude Code after installing the plugin for the hooks to take effect.
If you prefer not to use the plugin system, add this to your ~/.claude/settings.json:
{
"hooks": {
"PermissionRequest": [
{
"matcher": "ExitPlanMode",
"hooks": [
{
"type": "command",
"command": "plannotator",
"timeout": 345600
}
]
}
]
}
}When Claude Code calls ExitPlanMode, this hook intercepts and:
- Opens Plannotator UI in your browser
- Lets you annotate the plan visually
- Approve → Claude proceeds with implementation
- Request changes → Your annotations are sent back to Claude
- On resubmission → Plan Diff shows what changed since the last version
| Variable | Description |
|---|---|
PLANNOTATOR_REMOTE |
Set to 1 for remote mode (devcontainer, SSH). Uses fixed port and skips browser open. |
PLANNOTATOR_PORT |
Fixed port to use. Default: random locally, 19432 for remote sessions. |
PLANNOTATOR_BROWSER |
Custom browser to open plans in. macOS: app name or path. Linux/Windows: executable path. |
PLANNOTATOR_SHARE_URL |
Custom share portal URL for self-hosting. Default: https://share.plannotator.ai. |
When running Claude Code in a remote environment (SSH, devcontainer, WSL), set these environment variables:
export PLANNOTATOR_REMOTE=1
export PLANNOTATOR_PORT=9999 # Choose a port you'll forwardThis tells Plannotator to:
- Use a fixed port instead of a random one (so you can set up port forwarding)
- Skip auto-opening the browser (since you'll open it manually on your local machine)
- Print the URL to the terminal for you to access
Port forwarding in VS Code devcontainers: The port should be automatically forwarded. Check the "Ports" tab.
SSH port forwarding: Add to your ~/.ssh/config:
Host your-server
LocalForward 9999 localhost:9999
Approved plans can be automatically saved to your Obsidian vault.
Setup:
- Open Settings (gear icon) in Plannotator
- Enable "Obsidian Integration"
- Select your vault from the dropdown (auto-detected) or enter the path manually
- Set folder name (default:
plannotator)
What gets saved:
- Plans saved with human-readable filenames:
Title - Jan 2, 2026 2-30pm.md - YAML frontmatter with
created,source, andtags - Tags extracted automatically from the plan title and code languages
- Backlink to
[[Plannotator Plans]]for graph connectivity
Example saved file:
---
created: 2026-01-02T14:30:00.000Z
source: plannotator
tags: [plan, authentication, typescript, sql]
---
[[Plannotator Plans]]
# Implementation Plan: User Authentication
...