plannotator
Skill này làm gì
Đây là tài liệu tham chiếu về Plannotator, một công cụ rà soát trên trình duyệt chạy cục bộ cho kế hoạch, diff và tài liệu. Dành cho AI agent và người dùng chúng cùng Plannotator.
Khi nào nên dùng
- ✓Khi agent của bạn cần chọn đúng lệnh Plannotator cho một lần rà soát.
- ✓Khi bạn muốn biết cách rà soát kế hoạch, rà soát mã hoặc chú thích file hoạt động thế nào.
- ✓Khi bạn hỏi về chia sẻ một buổi rà soát có hướng dẫn hoặc về Plannotator Inbox.
Liên kết skill
https://github.com/backnotprop/plannotator/blob/main/apps/skills/core/plannotator/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi nên dùng lệnh Plannotator nào để rà soát kế hoạch trước khi agent bắt đầu viết code?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill giải thích các tùy chọn rà soát và cờ hiện có. Skill bảo AI dùng công cụ Plannotator nếu có sẵn, và nếu không thì dùng dòng lệnh. Mỗi phiên chờ trên trình duyệt cho đến khi bạn gửi phản hồi, phê duyệt hoặc đóng tab.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 wants | Run (CLI, when you have no plannotator tool) |
|---|---|
| Review a plan you produced | Nothing. Plan review opens automatically on plan exit via hooks. Never run bare plannotator yourself. |
| Review and explicitly approve a plan/spec saved as a file | plannotator annotate <file> --gate --json |
| Review current code changes | plannotator review |
| Review a GitHub PR, GitLab MR or Bitbucket Cloud PR | plannotator review <PR_URL> |
| Annotate a markdown, text, config, or HTML file | plannotator annotate <file> |
| Annotate a web page | plannotator annotate <https-url> |
| Annotate a running local app (dev server) | plannotator annotate <http://localhost:PORT/> |
| Pick a file to annotate from a folder | plannotator annotate <folder/> |
| Annotate your latest assistant message | plannotator last |
| Browse past plan decisions | plannotator archive |
| Export or share a Guided Review | plannotator guide export / plannotator guide share |
| Reopen or list live sessions | plannotator sessions |
| Ask the person something they can answer later, without blocking | The plannotator_inbox tool when you have it, else the Inbox's MCP server (plannotator inbox mcp) |
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 withdecision(approved,dismissed, orannotated) and optional rawfeedback. An approval may still carry notes infeedback; treat those as guidance, not a change requ
Câu hỏi thường gặp
Plannotator có chạy trên máy tính của tôi không?
Có. Đây là công cụ rà soát cục bộ, chạy trên trình duyệt ngay trên máy bạn.
Điều gì xảy ra khi tôi thoát khỏi chế độ kế hoạch?
Việc rà soát kế hoạch tự động mở qua các hook đi kèm Plannotator.
Có cách nào nhanh hơn để bắt đầu một lần rà soát không?
Có. Các skill review, annotate và last là các lệnh khởi chạy ngắn cho những hành động phổ biến nhất.
Chi tiết
Mô tả gốc của tác giả
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 you leave the person a decision, a question or finished work in the Plannotator Inbox (if another ag
repo: backnotprop/plannotator
Độ phổ biến
- Sao GitHub
- 9.8k
- Vị trí xếp hạng
- #12201
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
update-deps
9.8kGiúp agent kiểm tra gói npm hoặc Bun về rủi ro chuỗi cung ứng trước khi cập nhật. Xem người bảo trì, tuổi bản phát hành, nguồn gốc và tạm giữ bản rủi ro.
plannotator-annotate
9.8kGiúp agent của bạn mở một file, thư mục hoặc trang web trong màn hình chú thích của Plannotator, rồi xử lý các ghi chú bạn đánh dấu.
plannotator-review
9.8kGiúp agent của bạn mở một màn hình rà soát mã trên trình duyệt cho các thay đổi, thư mục hoặc pull request, rồi sửa các phản hồi bạn để lại.
plannotator-annotate
9.8kGiúp agent của bạn gửi tài liệu đến Plannotator để đánh dấu, với bước phê duyệt tùy chọn cho kế hoạch và đặc tả. Sau đó agent xử lý phản hồi.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.