Home / Claude Code mods / Agents & automation / artifact-watchdog

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.

Updated 2026-10-08

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.

TypeClaude code mod
Authorm2ai-portfolio
Repositorym2ai-portfolio/claude-mods
Popularityno public popularity data yet
CategoryAgents & automation
SecurityReview before installing (76/100)
Rank#3,881 of 5,272 Claude Code mods; #300 in Agents & automation
Last commit2026-10-08
Hooks7 events
SeesAgent calls, every tool call
Draws onPane

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.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.agent.list
$.clock.after
$.clock.every
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.readreads files
$.fs.statreads files
$.prompt.submitdrives Claude
$.session.append
$.state.get
$.state.set
$.tool.calldrives Claude
$.ui.invalidatedraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install artifact-watchdog?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)