watchdog

by Matteo Antoci · ★ 2 · updated 2 days ago

BandsReskinsGuardsCommandsPromptTools & agentswarnings

0

Watchdog agents review each update of the agent you work with and push short notes to it. It spawns review subagents and auto-allows only its own review spawn and reviewer reads of files the main agent already read.

install watchdog

Install

git clone https://github.com/matteoantoci/claude-code-watchdog
claude --plugin-dir ./claude-code-watchdog/plugins/watchdog

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
state.setstore.settool.callturn.startturn.completeprompt.submitcommand.runsession.startui.renderui.presssession.endturn.stepsession.compactsession.appendsession.attachagent.registeragent.offeragent.spawntool.check
API calls
$.agent.list$.agent.register$.agent.spawn$.clock.after$.clock.now$.command.register$.env.get$.env.set$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.model.complete$.prompt.submit$.session.append$.session.cwd$.session.id$.session.messages$.session.repo$.session.root$.session.surfaces$.session.usage$.session.version$.settings.read$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.tool.call$.tool.register$.ui.copy$.ui.log$.ui.resolve
Draws
AbovePromptCommandOutput
Can see
/"."/u callsevery promptcompactionsubagent spawnsAgent callsevery tool callmcp__watchdog__note callsmcp__watchdog__resolve calls/"^"/u calls/"^(?:Read|Grep|Glob)$"/u calls
Reach
level 2 of 3 writes filessets env varsdrives Claudewrites the clipboardreads filesreads env varsreads settingsreads the transcriptreads mod statepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/matteoantoci/claude-code-watchdog
Path in repo
plugins/watchdog
Source commit
aca96de the exact code the scan read
Author
Matteo Antoci @matteoantoci
License
Apache-2.0
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

Other mods in Bands, close to this one by stars.