/imark:imark-commentsfrom imark
Reads and writes Imark comment blocks embedded in markdown files. Use when a markdown file contains <!-- imark blocks, or when the user mentions Imark notes or annotations.
Ships in imark. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Imark is a macOS markdown reader that stores a reader's comments inside the
document, as HTML comments. Every renderer ignores them, grep finds them,
and they travel with the file. If you are looking at a markdown file with blocks
like this, that is what they are:
Rows move in batches of 500, and the deadline is generous but workable.
<!-- imark quote="generous but workable" by="alex" at="2026-08-02T14:31Z"
Workable with which team? This needs a number, not an adjective.
-->
Do not hand-roll a parser. First see whether imark — the command the user
has in their own terminal — is on the PATH:
command -v imark
If that prints a path, use it, quoting the file if its name has spaces:
imark notes <file.md>
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 <file.md>
By default this shows only the notes still asking for something. A note carrying
resolved= has been dealt with — it stays in the file as the record of what was
asked, but it is history, not work. The header says how many were left out. Add
--all when the history is what you want.
Add --json for structured output; it obeys the same rule. Each note comes back
with what it says, the quote it is attached to, who wrote it and when, the
heading it falls under, and the block above it.
| Attribute | Meaning |
|---|---|
quote= | the exact words the note is attached to. Required |
by= | who wrote it. Omitted when there is no name |
at= | ISO 8601 timestamp |
nth= | which occurrence of the quote, when the same words appear twice. Only written when it is above 1 |
color= | one of five names. Omitted for the default |
resolved= | ISO date stamped by whoever acted on the note. The app fades it; review rounds stop repeating it |
The body is every line between the opening line and a line containing only
-->. Inside it, & is a literal & and --> is a literal --> —
escaped so the note cannot close its own comment early. In attributes, "
is a quote character.
A note is a request, not a remark. Answer every one, say what you changed for each, and refer to them by their quote — “on ‘generoso mas exequível’” — which is how the user sees them in the app.
A note reported as orphan has lost its anchor: the quoted words were edited away. It still counts, but the paragraph above it is no longer reliably what it is about — say so instead of guessing.
Once a note is dealt with, mark it rather than deleting it: add
resolved="<ISO date>" to its opening <!-- imark line, touching nothing else
on that line. The note stays as the record of what was asked; the mark says it
was done.
Prefer not to. The comments are the user's side of the conversation, and Imark owns the file surgery — atomic writes, a staleness check, ten levels of undo. Writing a block by hand from an agent gets none of that. Put your own answers in your reply, or in a separate document.
If a note must be written into a file anyway, match format() in
Sources/Imark/Comments.swift exactly: attributes in the order quote, by,
at, nth, color, a blank line between the note and the block above it, and
the body escaped as described.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub migsilva89/imark --plugin imarkOther plugins' skills for the same job