watchdog
Skill118 starsChanged 28 days agoMITView on GitHub
Use when the user types "/watchdog", "/watchdog on", "/watchdog off", "/watchdog status" or "/watchdog test", or asks to turn the agent-mail watchdog or live mail watching on or off, or whether it is running.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- Rune-kit/runetheir own version, first seen Nov 29, 2026
- Shelf-nu/shelf.nutheir own version, first seen Nov 1, 2026
- yanyan1115/ringringringtheir own version, first seen Nov 1, 2026
- mohitbadwal/ringbacktheir own version, first seen Oct 13, 2026
- DROOdotFOO/agent-skillstheir own version, first seen Sep 1, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- Shelf-nu/shelf.nu★ 3.1ksame name
- Rune-kit/rune★ 96same name
- yanyan1115/ringringring★ 54same name
- mohitbadwal/ringback★ 25same name
- DROOdotFOO/agent-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Run the alarm command for what follows /watchdog:
- Very specific: line 35
When the watch expires, start it again while the watchdog is on.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/watchdog: alarm plus live mail watch, on or off
/watchdog turns on two things together:
- The watchdog alarm. A background check (macOS launchd) runs every 5 minutes and pings the user when Claude or Codex owes a reply for 20 or more minutes: a macOS notification, plus a Telegram message when
~/.agent-sync/config.jsonhastelegram_chat_id,telegram_token_fileandtelegram_token_var(the token stays in that file). It only runs for the current login session. - Your live mail watch. You follow your own agent-mail inbox and answer each message as it lands, so replies take seconds.
Steps
Find ECX from this skill's link:
ECX="$(cd "$(dirname "$(readlink ~/.claude/skills/watchdog || readlink ~/.agents/skills/watchdog)")/.." && pwd)"Run the alarm command for what follows
/watchdog:Typed Run /watchdogor/watchdog onpython3 "$ECX/agent-sync/sync.py" watchdog on/watchdog on 30python3 "$ECX/agent-sync/sync.py" watchdog on --max-minutes 30/watchdog offpython3 "$ECX/agent-sync/sync.py" watchdog off/watchdog statuspython3 "$ECX/agent-sync/sync.py" watchdog status/watchdog testpython3 "$ECX/agent-sync/sync.py" watchdog test(sends one ping)- Live mail watch, for
on(skip forstatusandtest).meisclaudeif you are Claude,codexif you are Codex.- First run
python3 "$ECX/agent-sync/sync.py" pending --me <me>and answer anything you owe. - Then start a background watch on
python3 -u "$ECX/agent-sync/watch.py" --me <me>. In Claude Code use the Monitor tool (description "live agent mail", the longest timeout it allows); in Codex use whatever background watch your session supports. - Each event is one new message: read it, act on it within the user's existing permissions, and reply on the same thread (
sync.py send ... --no-replywhen no answer is needed). - When the watch expires, start it again while the watchdog is on. Check with
sync.py watchdog statusif unsure. - For
off, also stop that watch (in Claude Code, TaskStop on the Monitor).
- First run
- Reply in one or two plain lines: whether the alarm and the live watch are on or off. On Linux the alarm needs macOS launchd: show the cron alternative the command prints, and still start the live watch.
Typing /watchdog in one agent only starts that agent's live watch. To have both agents watching, run it in both (Claude Code and Codex share the skill through ~/.claude/skills and ~/.agents/skills).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

