watch-doc

watch-doc is a skill for Claude Code, Codex from petergaultney/lemonaid. It costs 66 tokens per session (2,399 once invoked), scanned A, original, MIT.

A watcher for a Markdown document, a plain-text document format, used for feedback in Obsidian. It waits for comments or edits and can reply in the same document thread.

In plain words
What is it for?
Use it to monitor design drafts, reviews, and other documents for Relay Comments or body edits, then reply inline or act on an edit.
Why use it?
It lets an agent wait for human review without repeatedly checking the file and keeps replies alongside the document being discussed.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Claude Code; reads ~/.codex paths; mentions Codex.

Good fit Use it to monitor design drafts, reviews, and other documents for Relay Comments or body edits, then reply inline or act on an edit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/petergaultney/lemonaid/watch-doc
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.

Any agent
npx skills add petergaultney/lemonaid --skill watch-doc
Clone the repo
git clone --depth 1 https://github.com/petergaultney/lemonaid

Made for: Claude Code, Codex.

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 watch-doc

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/petergaultney/lemonaid/watch-doc"><img src="https://agentmods.dev/badge/skills/petergaultney/lemonaid/watch-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,399 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.00066 $0.02399
Opus 5.5 $0.00026 $0.00960
Sonnet 5.5 $0.00013 $0.00480
Haiku 4.5 $0.00007 $0.00240

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

Security

Grade A, and why

watch-doc 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 3d 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.

src/lemonaid/skills/packaged/watch-doc/SKILL.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Watch a document for Relay Comments

You wrote a document; the human reads it in Obsidian and responds with Relay Comments (inline CriticMarkup), or just edits it. This skill is how you wait for that without spending tokens, and how you reply so the conversation stays in the document.

With an attached brief

Prefer lemonaid watch --self for all subscriptions together; the brief skill's "Declare subscriptions and watch them" table lists what it watches and how to subscribe. Read current state first.

The standalone commands below remain available.

Arguments

<doc-path> (absolute). Body edits are reported once the doc has been quiet for 20 seconds (--quiet changes it). Pass --no-edits only when you want comments alone.

Reply identity

Sign your replies with one name and pass the same name to the waiter as --me: $LEMON_NAME if set, else your harness's name (Claude, Codex). Any name you signed with before in this doc is a legacy name: pass it as --legacy <name>, repeated for each, and replies signed with it count as yours.

Reply blocks look like {{authorId="<id>" author="<name>">>...<<}}. Relay shows only author; use an authorId that lets a reader find the session that wrote the reply, such as your tmux session name.

If --me and the author of your reply blocks differ, the waiter sees your own replies as unanswered and wakes you on them.

Watching in your brief

With an attached brief, the watch command automatically records its restartable command under the final ## Watching after startup checks pass. The command keeps the supplied arguments without injecting defaults or temporary state paths. Rearming updates the same entry, including the head and flags; you do not need a separate brief waiter add or set. Confirm it is running with --status: a saved command can remain while a one-shot waiter has exited.

Keep the entry across one-shot events while you handle them and rearm. When the watch ends permanently, remove it with lemonaid brief waiter rm --self "<unique command substring>". Without an attached brief, the command watches normally without recording. Recording uses the attached brief of the lemon the waiter wakes.

Read the full file on GitHub · 119 lines

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. 3d ago Changed 8cf8e5cd4f23
  2. 1mo ago Changed · -8 lines e6ca75dcf533
  3. 1mo ago Changed 5c6cc8266c29
  4. 1mo ago Changed · +20 lines 6ee549bd0440
  5. 1mo ago Changed a83c9ee72870
  6. 1mo ago Changed bfe1f6fc3bf3
  7. 1mo ago Changed · +9 lines 97ab83798ba5
  8. 1mo ago Changed 7ee4444a1494
  9. 1mo ago Changed · +17 lines 16019a34edca
  10. 2mo ago First seen · 81 lines · 66 tokens per session scan A bb268b0e733c

Subscribe to this mod's changes

watch-doc is a skill published in the GitHub repository petergaultney/lemonaid (12 stars, last pushed today), licensed MIT. It adds 66 tokens to every session and 2,399 once invoked, about $0.0003 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-10-01.

Related

watch-doc compared with skills from other repositories

watch-doc next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
watch-docpetergaultney/lemonaidSkill12todayMITA66Claude Code, Codex
first-readerShubhamsaboo/awesome-llm-appsSkill146ktodayApache-2.0A174Claude Code, Codex
mcp-apps-builderShubhamsaboo/awesome-llm-appsSkill146ktodayApache-2.0A139Claude Code, Codex
project-graveyardShubhamsaboo/awesome-llm-appsSkill146ktodayApache-2.0A127Claude Code, Codex
commit-archaeologistShubhamsaboo/awesome-llm-appsSkill146ktodayApache-2.0A82Claude Code, Codex
dependency-doctorShubhamsaboo/awesome-llm-appsSkill146ktodayApache-2.0A115Claude Code, Codex
scope-creep-detectorShubhamsaboo/awesome-llm-appsSkill146ktodayApache-2.0A98Claude Code, Codex