Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Agent Annotations

exceedhlexceedhl13 downloads

Select Markdown text, write Agent instructions, and hand the queue to any Agent via current.json.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

English | 中文

Annotate Markdown as you read — the way you would mark a diff for an Agent to review — then hand the notes over.

Select a passage, write the change, keep reading. Any Agent reads those annotations and edits the files.

Product requirements: docs/PRD.md (中文).

Install

In Obsidian: Settings → Community plugins → Browse, search Agent Annotations, install and enable.

Or install from GitHub: download main.js, manifest.json, and styles.css from the latest Release into <vault>/.obsidian/plugins/agent-annotations/, then enable the plugin.

Install (development)

Put this repo in the vault plugin folder, or symlink it:

ln -s ~/code/obsidian-agent-annotations \
  "<vault>/.obsidian/plugins/agent-annotations"
cd ~/code/obsidian-agent-annotations
npm install
npm run build

In Obsidian → Settings → Community plugins, turn off Restricted mode and enable Agent Annotations. While coding, run npm run dev and install Hot Reload to skip restarts.

Usage

  1. Select text in a .md file, then click + Annotation (or the context menu / command Add annotation).
  2. Write the change, then Save / Cancel, or use the card shortcuts (default Mod+Enter / Escape). Saving turns Review mode on.
  3. The card sits below that line and scrolls with the note. Click the card body to edit; × deletes it (short Undo).
  4. Change card shortcuts in Settings → Agent Annotations. Bind Add annotation itself in Settings → Hotkeys.
  5. Toggle Review mode hides every card and highlight. The queue stays in current.json.
  6. The Annotations pane on the right is this round's pending list: click a row to jump, delete one row from the list. The pane menu or a command can clear everything.
  7. In your Agent, invoke the obsidian-agent-annotations Skill. Do not paste a prompt.

Skill

Copy skill/obsidian-agent-annotations/ into the Agent's skills directory, for example:

  • Cursor: ~/.cursor/skills/obsidian-agent-annotations/
  • Claude Code: ~/.claude/skills/obsidian-agent-annotations/

The Skill uses $VAULT_PATH, otherwise it walks up from cwd to the first .obsidian/agent-annotations/current.json. Run it from a vault workspace. Each row's file is relative to the vault root, not the git repo.

Protocol: answer every row; delete an id only after it succeeds; leave failures as-is; if the process crashes before write-back, leave the file untouched. Do not write status or replies into the JSON. In chat, lead with this round's outcome, then list per file what landed or why a row stayed.

Storage

<vault>/.obsidian/agent-annotations/current.json
{
  "version": 1,
  "annotations": [
    {
      "id": "a_001",
      "file": "docs/auth.md",
      "instruction": "Explain refresh tokens.",
      "selectedText": "The token expires after 24 hours.",
      "headingPath": ["Auth", "Token lifetime"],
      "prefix": "…about 40 characters before…",
      "suffix": "…about 40 characters after…"
    }
  ]
}

Commands

Command Action
Add annotation Turn the current selection into a draft annotation
Toggle Review mode Show / hide cards and highlights
Open annotations pane Open the right-hand annotation list
End session (clear all annotations) Clear current.json

Development

npm test
npm run build
HealthExcellent
ReviewSatisfactory
About
Select Markdown text and write annotation instructions to queue edits into .obsidian/agent-annotations/current.json for any Agent to consume. Let Agents apply edits directly to your files while keeping failed items in the JSON for reruns; review, hide, or manage annotation cards and the queue from the side panel.
AnnotationAIAutomation
Details
Current version
1.0.3
Last updated
4 days ago
Created
Last month
Updates
4 releases
Downloads
13
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
exceedhlexceedhlexceedhl
GitHubexceedhl
  1. Community
  2. Plugins
  3. Annotation
  4. Agent Annotations

Related plugins

Smart Templates

AI powered templates for generating structured content. Works with Local Models, Anthropic Claude, Gemini, OpenAI & more.

Always Color Text

Automatically colors and highlights texts across the vault.

Admonition

Admonition block-styled content.

Copilot

Run AI agents such as Claude Code, Codex, and OpenCode inside your vault. Turn your second brain into a smart assistant that gets knowledge work done.

Templater

Create and use dynamic templates.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

BRAT

Easily install a beta version of a plugin for testing.

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.