Relay Comments

Comments and suggested edits in Obsidian, all stored in the note as plain text.

Open source on GitHub

Review where you write

Relay Comments brings Google-Docs-style review to Obsidian. Comments and suggested edits are written into the Markdown file as CriticMarkup, and diff and sync with the note.

Install Relay Comments

Relay Comments is a free Obsidian plugin, and you don't need a Relay account to use it.

Everyone you share a note with should install it too. Without the plugin, they see the comment markup as text in the note.

Identity

Relay Comments integrates with Relay and Obsidian Sync to provide user identity.

You can also add identities to the plugin's data.json. Each entry maps an ID to a name, a picture, and a color. This allows an agent to self-register its identity:

{
  "identities": [
    {
      "id": "mqvxlopr0ocsmgv",
      "name": "Shelly",
      "picture": "https://avatars.relay.md/?seed=as235jcgbe",
      "color": "#7c3aed"
    }
  ]
}

The data.json file is automatically reloaded on change.

Readers without a matching identity see the inline author field as the name.

Agents

The relay-comments skill teaches an agent how to use Relay Comments.

npx skills add https://github.com/No-Instructions/relay-skills

Through the Obsidian CLI

When the Obsidian CLI is available and the vault is open in Obsidian desktop, the agent uses Relay Comments' commands: comment on a passage, reply in a thread, suggest an edit, accept or reject a suggestion, and wait for new activity on a note.

obsidian vault="Team" comments:comment \
  path="Plan.md" quote="ship on Friday" \
  text="Is QA done?" author="Claude" --json

Needs Obsidian 1.12.2 or later.

By editing the note

Since comments are just plain text in a note, agents can participate by writing CriticMarkup directly in the note.

{==ship on Friday==}{{author="Claude">>Is QA done?<<}}
{~~Friday~>Monday~~}

Works without the Obsidian CLI.

An agent signs its comments with its own name, so they show as from Claude or Codex and not from you.

Questions and answers

Install Relay Comments

Relay Comments is a free Obsidian plugin, and you don't need a Relay account to use it.