What is artifact-watchdog?
artifact-watchdog is a Claude Code mod by m2ai-portfolio that enforces the subagent output contract: watches each Agent dispatch's artifact file, flags a 5-minute stall, wakes an idle Claude once per stall, offers a Stop button. It is listed under Agents & automation and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | m2ai-portfolio |
| Repository | m2ai-portfolio/claude-mods |
| Popularity | no public popularity data yet |
| Category | Agents & automation |
| Security | Review before installing (76/100) |
| Rank | #3,881 of 5,272 Claude Code mods; #300 in Agents & automation |
| Last commit | 2026-10-08 |
| Hooks | 7 events |
| Sees | Agent calls, every tool call |
| Draws on | Pane |
Is artifact-watchdog safe to install?
artifact-watchdog scores 76/100 on the MCPMods security check: Review before installing. Things to review: reads environment variables. It passed 4 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.fs.stat | reads files |
$.prompt.submit | drives Claude |
$.session.append | |
$.state.get | |
$.state.set | |
$.tool.call | drives Claude |
$.ui.invalidate | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install artifact-watchdog?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/m2ai-portfolio/claude-mods claude plugin validate ./claude-mods/artifact-watchdog
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/m2ai-portfolio/claude-mods && claude --plugin-dir ./claude-mods/artifact-watchdog
Or ask Claude to set it up
Paste this into Claude Code and it installs artifact-watchdog for you:
Install the "artifact-watchdog" Claude Code mod from https://github.com/m2ai-portfolio/claude-mods/tree/main/artifact-watchdog. Run claude plugin validate on it first and show me what it can access before you enable it.
More from m2ai-portfolio/claude-mods
This repository has 4 Claude Code mods on MCPMods.
- auto-handoff: Writes a /next handoff automatically once a 1M-token session crosses 300k tokens, so the next session can /prime from it (High risk)
- flight-recorder: See inside a turn: a live Gantt timeline of model requests, tool calls and subagents, with tokens and cost per lane. (Low risk)
- jev-tool-gate: Log-only Jev judgment of risky tool calls (destructive? requested by fetched content?). Never changes a decision; hosted (High risk)