md

md is a command for Claude Code from konradmichalik/md-annotator. It costs 12 tokens per session (430 once invoked), scanned A, original, MIT.

A command that opens Markdown files in a browser for text review and annotation.

In plain words
What is it for?
Use it to review Markdown documents, apply annotation feedback, and check whether a file was approved.
Why use it?
It lets a reviewer mark deletions, comments, and insertions without editing the file directly. The agent can then apply the requested changes and send the file back for another review.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the annotate plugin — 1 command shipped together

Good fit Use it to review Markdown documents, apply annotation feedback, and check whether a file was approved.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/konradmichalik/md-annotator/md
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.

Clone the repo
git clone --depth 1 https://github.com/konradmichalik/md-annotator

Made for: Claude Code.

Or install annotate, the plugin that ships this one along with the rest of its 1 command.

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 md

README.md
[![agentmods](https://agentmods.dev/badge/commands/konradmichalik/md-annotator/md/github.svg)](https://agentmods.dev/commands/konradmichalik/md-annotator/md)
Your own site
<a href="https://agentmods.dev/commands/konradmichalik/md-annotator/md"><img src="https://agentmods.dev/badge/commands/konradmichalik/md-annotator/md/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 md

Your own site · 80×15
<a href="https://agentmods.dev/commands/konradmichalik/md-annotator/md"><img src="https://agentmods.dev/badge/commands/konradmichalik/md-annotator/md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 430 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.00012 $0.00430
Opus 5.5 $0.00005 $0.00172
Sonnet 5.5 $0.00002 $0.00086
Haiku 4.5 $0.00001 $0.00043

Measured 2mo ago against content hash 266309ebc399, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

md 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 2mo 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.

apps/claude-code/commands/md.md · 42 lines

What it actually says

Markdown Annotations

!md-annotator --origin claude-code $ARGUMENTS

Your task

Address the annotation feedback above. The user has reviewed the markdown file in the browser UI and provided specific annotations:

  • "Remove this" entries: Delete the quoted text from the file
  • "Comment on" entries: Apply the user's comment as a change to the referenced text
  • "Insert text" entries: Insert the provided text at the specified location

If the output shows APPROVED:, the user approved the file with no changes needed — confirm and stop.

If the output shows APPROVED WITH NOTES:, the user approved the file as-is but left annotations. Do not edit the file. Read the notes, acknowledge them, and stop — they are context for your understanding, not change requests.

Re-review loop

After applying all changes:

  1. Build feedback notes JSON describing what you changed. Each note has a text field and an optional line field (line number in the updated file). Omit line for general notes.

  2. Re-open the annotator with inline notes:

    md-annotator --origin claude-code --feedback-notes '<JSON_ARRAY>' <file1.md> [file2.md ...]
    

    Example:

    md-annotator --origin claude-code --feedback-notes '[{"text":"Rewrote intro for clarity","line":5},{"text":"Removed redundant section"}]' README.md
    
  3. Evaluate the result:

    • APPROVED: → The user is satisfied. Done.
    • APPROVED WITH NOTES: → The user is satisfied. Summarize the notes without editing. Done.
    • More feedback → Apply changes and repeat from step 1.
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. 2mo ago First seen · 42 lines · 12 tokens per session scan A 266309ebc399

Subscribe to this mod's changes

md is a command published in the GitHub repository konradmichalik/md-annotator (6 stars, last pushed 2mo ago), licensed MIT. It adds 12 tokens to every session and 430 once invoked, about $0.0000 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-31.

Related

md compared with commands from other repositories

md next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mdkonradmichalik/md-annotatorCommand62mo agoMITA12Claude Code
plannotator-inboxbacknotprop/plannotatorCommand9.9ktodayApache-2.0A21Claude Code
browser-setupDevin-AXIS/iPolloWorkCommand7.4kyesterdaynoneA14Claude Code, OpenCode
live-canvashamr0/liteagentsCommand266d agoApache-2.0A46Claude Code
playwright-setupjoaquimscosta/arkhe-claude-pluginsCommand2221d agoMITA45Claude Code
switchdropdevrahul/campyCommand144mo agoMITA22Claude Code
campydropdevrahul/campyCommand144mo agoMITA8Claude Code