bg-watchdog

bg-watchdog is a Claude Code mod by jiikko that 背景タスク (run_in_background の Bash / Agent) の完了を待ったまま一定時間動きがないセッションを、toast・status line・tmux の状態表示と読み上げで知らせる。設定で agent を起こして状態を確かめさせることもできる.

Updated 2026-11-29

What is bg-watchdog?

bg-watchdog is a Claude Code mod by jiikko that 背景タスク (run_in_background の Bash / Agent) の完了を待ったまま一定時間動きがないセッションを、toast・status line・tmux の状態表示と読み上げで知らせる。設定で agent を起こして状態を確かめさせることもできる. It is listed under Agents & automation and has 2 GitHub stars.

TypeClaude code mod
Authorjiikko
Repositoryjiikko/dotfiles
Popularity2 GitHub stars
CategoryAgents & automation
SecurityReview before installing (64/100)
Rank#2,409 of 9,397 Claude Code mods; #202 in Agents & automation
Last commit2026-11-29
Hooks5 events
Seesevery prompt, every tool call
Draws onnothing

Is bg-watchdog safe to install?

bg-watchdog scores 64/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; watches every prompt or event. It passed 3 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 processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.agent.list
$.clock.every
$.clock.now
$.process.runruns processes
$.prompt.submitdrives Claude
$.state.get
$.state.set
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install bg-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/jiikko/dotfiles
    claude plugin validate ./dotfiles/_claude/mods/bg-watchdog
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/jiikko/dotfiles && claude --plugin-dir ./dotfiles/_claude/mods/bg-watchdog

Or ask Claude to set it up

Paste this into Claude Code and it installs bg-watchdog for you:

Install the "bg-watchdog" Claude Code mod from https://github.com/jiikko/dotfiles/tree/master/_claude/mods/bg-watchdog. Run claude plugin validate on it first and show me what it can access before you enable it.

More from jiikko/dotfiles

This repository has 6 Claude Code mods on MCPMods.

  • desktop-statusline: Claude desktop の Code タブに、CLI と同じステータスバー (statusline-command.sh の出力) を色つきで出す (issue 625) (Review before installing)
  • issue-band: 期限切れ・期限が近い human と未決着の retro があるときだけ、プロンプトの上の帯に出す (issue 621) (Review before installing)
  • peer-inbox: 他セッションとの SendMessage の送受信を、プロンプト直上の帯・toast・status line に残す (transcript が流れても消えない写し) (Low risk)
  • ratelimit-warn: Claude の 5h 枠が閾値を超えていたらプロンプトに 1 行注入し、status line にも出す (settings の hook ratelimit-warn.sh の mod 版。issue 658) (Review before installing)
  • tool-elapsed: 長く走っている tool 呼び出し (codex exec / swift test / make test …) の経過時間をプロンプトの上の帯に出し、5 分ごとに toast で知らせる (Low risk)