imark-review

imark-review is a command for Claude Code from migsilva89/imark. It costs 16 tokens per session (483 once invoked), scanned A, original, MIT.

A command that opens a Markdown document—a plain-text document with formatting marks—in Imark for review and waits for the reviewer’s decision.

In plain words
What is it for?
Use it to review plans, specifications, and other Markdown documents, then follow the reviewer’s approval or requested changes.
Why use it?
It keeps review comments in the original document, so the notes remain with the file and can guide the next revision. It also prevents using Imark for code review, since it is a Markdown reader.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the imark plugin — 1 skill, 2 commands, 1 hook shipped together

Good fit Use it to review plans, specifications, and other Markdown documents, then follow the reviewer’s approval or requested changes.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add migsilva89/imark
Claude Code
/plugin install imark

Made for: Claude Code.

Or install imark, the plugin that ships this one along with the rest of its 1 skill, 2 commands, 1 hook.

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 imark-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/migsilva89/imark/imark-review/github.svg)](https://agentmods.dev/commands/migsilva89/imark/imark-review)
Your own site
<a href="https://agentmods.dev/commands/migsilva89/imark/imark-review"><img src="https://agentmods.dev/badge/commands/migsilva89/imark/imark-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for imark-review

Your own site · 80×15
<a href="https://agentmods.dev/commands/migsilva89/imark/imark-review"><img src="https://agentmods.dev/badge/commands/migsilva89/imark/imark-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 483 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00016 $0.00483
Opus 5.5 $0.00006 $0.00193
Sonnet 5.5 $0.00003 $0.00097
Haiku 4.5 $0.00002 $0.00048

Measured 16d ago against content hash 7e53fbcc2ad2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

imark-review 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 16d ago.

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.

plugin/commands/imark-review.md · 44 lines

What it actually says

Open a document in Imark for the user to review, and wait for their decision.

Run this, passing the arguments through as they came:

node "${CLAUDE_PLUGIN_ROOT}/scripts/imark.mjs" review $ARGUMENTS

Markdown only — plans, specs, RFCs, docs. If you are asked to review code, say that Imark is a markdown reader and that reviewing code is a job for GitHub or their editor.

The review happens on the file itself — no copy is made. The reviewer's notes are written into the document as <!-- imark … --> blocks and stay there; they travel with the file. Content piped on stdin, or several files at once, gets a temporary stand-in document instead, cleaned up afterwards.

The command blocks until the user presses Approve or Send Back in the app. That is expected and can take a long time: do not interrupt it, do not put a timeout on it, and do not ask whether they are done.

When it returns, the output carries the decision and the notes, and on a refusal it also carries the steps to take. Follow them in the order they come — in particular, reply to the user before rewriting anything, and ask rather than guess when a note is ambiguous or two of them contradict each other.

Refer to notes by the words they are attached to — on “X” — rather than by number, because that is how the user sees them in the app.

When you act on a note, do not delete it. Mark it done by adding resolved="<ISO date>" to its opening <!-- imark line — the note is the reviewer's record of what was asked, the mark is yours of having done it. The app shows resolved notes faded, and the next review round will not repeat them back to you.

If the command says Imark is not installed, tell the user where the document ended up and carry on without the review.

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. 16d ago Changed 7e53fbcc2ad2
  2. 1mo ago First seen · 44 lines · 16 tokens per session scan A 506f016829d1

Subscribe to this mod's changes

imark-review is a command published in the GitHub repository migsilva89/imark (100 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 483 once invoked, about $0.0001 per session on Opus 5.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-08-30.