annotate

annotate is a command for coding agents from WARROOM-CEO/CORE. It costs 26 tokens per session (562 once invoked), scanned A, original, MIT.

A command for reviewing a PDF with the user and applying annotations in batches. Annotations are visible marks or notes such as highlights, underlines, comments, and stamps.

In plain words
What is it for?
Use it to mark important clauses or passages, add notes, stamp pages, and work through a document section by section.
Why use it?
It provides a review loop: proposed changes are checked in the viewer before the next section is processed.

Command

Part of the pdf-viewer plugin — 1 skill, 8 commands shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/warroom-ceo/core/annotate
Clone the repo
git clone --depth 1 https://github.com/WARROOM-CEO/CORE

Or install pdf-viewer, the plugin that ships this one along with the rest of its 1 skill, 8 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for annotate

README.md
[![agentmods](https://agentmods.dev/badge/commands/warroom-ceo/core/annotate.svg)](https://agentmods.dev/commands/warroom-ceo/core/annotate)
Your own site
<a href="https://agentmods.dev/commands/warroom-ceo/core/annotate"><img src="https://agentmods.dev/badge/commands/warroom-ceo/core/annotate.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 562 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00026 $0.00562
Opus 5 $0.00013 $0.00281
Sonnet 5 $0.00005 $0.00112
Haiku 4.5 $0.00003 $0.00056

Measured today against content hash a1b578b57988, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

annotate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/pdf-viewer/commands/annotate.md · 54 lines

How it starts

The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Language: All user-facing output — responses, summaries, and any text the user will read — must be written in Thai (ภาษาไทย). Internal logic, file paths, code snippets, and technical values remain in English.

If you need to check which tools are connected, see CONNECTORS.md.

Annotate PDF

Walk through a document with the user, proposing and applying annotations section by section. The user reviews each batch in the live viewer before you continue.

Workflow (AI-driven default)

  1. Opendisplay_pdf (or use existing viewUUID if already open)
  2. Understandinteractget_text on the first page range (≤20 pages) to read content
  3. Propose — describe to the user what you plan to annotate:

    "I'll highlight the termination clause on page 2, add a note 'Review 30-day window' next to it, and stamp page 1 as DRAFT. Sound good?"

  4. Apply — on approval, interact with batched commands: add_annotations + get_screenshot of the affected page
  5. Review — show the screenshot, ask for edits
  6. Iterate — move to the next section, repeat
  7. Finish — remind the user they can download the annotated PDF from the viewer toolbar

Manual mode

If the user gives explicit instructions ("highlight paragraph 3", "stamp CONFIDENTIAL on every page"), skip the proposal step and execute directly. Still confirm with a screenshot.

Annotation types available

  • Text markup: highlight_text (auto-finds text — preferred), highlight, underline, strikethrough
  • Comments: note (sticky), freetext (visible on page)
  • Shapes: rectangle, circle, line
  • Stamps: any label — APPROVED, DRAFT, CONFIDENTIAL, REVIEWED
  • Images: signatures, initials, logos (see /pdf-viewer:sign)

Tips

  • Prefer highlight_text over manual rects for text — it finds coordinates automatically
  • Batch related annotations in one interact call
  • End each batch with get_screenshot so the user sees the result
  • Keep proposals small (3–5 annotations per batch) so review is easy

Read the full file on GitHub · 54 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 54 lines · 26 tokens per session scan A a1b578b57988

Subscribe to this mod's changes

annotate is a command published in the GitHub repository WARROOM-CEO/CORE (30 stars, last pushed 5mo ago), licensed MIT. It adds 26 tokens to every session and 562 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.