imark-notes

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

A command for reading comments that a user added inside a Markdown file with Imark, an offline macOS app for reviewing Markdown documents.

In plain words
What is it for?
Use it when a user asks you to read their Imark comments, including comments that have already been resolved or comments with lost text anchors.
Why use it?
It gathers unresolved comments and shows what text and section each comment refers to, so requests are not missed during editing. It also identifies comments whose original text is no longer present.

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 when a user asks you to read their Imark comments, including comments that have already been resolved or comments with lost text anchors.

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-notes

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/migsilva89/imark/imark-notes"><img src="https://agentmods.dev/badge/commands/migsilva89/imark/imark-notes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 482 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.00010 $0.00482
Opus 5.5 $0.00004 $0.00193
Sonnet 5.5 $0.00002 $0.00096
Haiku 4.5 $0.00001 $0.00048

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

Security

Grade A, and why

imark-notes 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 26d 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-notes.md · 49 lines

What it actually says

Read the notes the user left inside a markdown file with Imark.

First see whether imark — the command the user has in their own terminal, so the two of you drive Imark the same way — is on the PATH:

command -v imark

If that prints a path, run this, passing the arguments through as they came:

imark notes $ARGUMENTS

Whatever it returns is the answer, an error included: do not run the script below after imark has run. Only if command -v imark printed nothing, run the script it wraps instead, with the same arguments, and tell the user once that Imark ▸ Install the imark Command… puts imark on their PATH:

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

This waits for nothing and opens nothing — it is for when the user has already commented and says "read my comments".

What comes back is the notes still asking for something. One that was already acted on carries resolved= and stays in the document as the record of what was asked, but it is history, not work — the header says how many were held back, and --all produces them for when the history is what the user wants.

Each note carries the words it is attached to, the section it fell under, and the block above it. That is usually enough to know what it is about without opening the file; open it anyway if a note needs the text around it.

A note marked orphan has lost its anchor: the quoted text is no longer in the document. It still counts as a comment, but do not assume the line above it is what it refers to.

Treat every note as a request, answer all of them, and refer to each by the words it is attached to — on “X” — which is how the user sees them in the app.

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. 26d ago Changed · +18 lines 280e572f89da
  2. 2mo ago Changed 64ac28852bd6
  3. 3mo ago First seen · 31 lines · 10 tokens per session scan A fff991c12c65

Subscribe to this mod's changes

imark-notes is a command published in the GitHub repository migsilva89/imark (136 stars, last pushed yesterday), licensed MIT. It adds 10 tokens to every session and 482 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-30.

Related

imark-notes compared with commands from other repositories

imark-notes next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
imark-notesmigsilva89/imarkCommand136yesterdayMITA10Claude Code
convertojspace/md-anythingCommand5125d agoMITA11Claude Code
ingestojspace/md-anythingCommand5125d agoMITA11Claude Code
export-okftractorjuice/arc-kitCommand2.3k5d agononeA16Claude Code
archive-mail-rebuild-threadsPsychQuant/che-apple-mail-mcpCommand117d agoMITA12Claude Code
review-draft-renderPsychQuant/che-apple-mail-mcpCommand117d agoMITA25Claude Code
cheatsheetOPTIMETA/PAIDEIACommand934mo agoMITB29Claude Code