Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By chris-petersonv1.0.1MIT
Screens every shell command and every file Claude writes, before either lands. Blocks the dangerous, asks on anything that changes state.
Claude loads one when your task matches it, or you run it by name.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
ClaudeWatch: agents move fast; watch them closely.
Screens every shell command and every file Claude writes, before either lands. Blocks the dangerous, asks on anything that changes state.
Claude Code's built-in permission system uses naive string matching that fails for compound commands, heredocs, and flag reordering. ClaudeWatch solves this with Python regex rules matched anywhere in the command string (or in the body of a script being written/edited) via re.search().
The plugin ships these rule sets, each a standalone YAML file auto-discovered by the watchdog engine:
| Rule set | File | What it guards |
|---|---|---|
| watch-aws | watches/watch-aws.yml | aws … delete-/remove-/deregister-/terminate-/purge-/reset-/revoke- ops, release-address, s3 rm/s3 rb (block); any other aws mutating operation (ask). Read-only get-/list-/describe-/head- ops and s3 ls are allowed. Matches through interspersed global flags (aws --profile prod ec2 …) |
| watch-bash | watches/watch-bash.yml | rm -rf /, curl | sh, dd of=/dev/sd*, mkfs /dev/*, shred (block); rm -rf (skipped when the script deletes a cache or tmp path anywhere), chmod 777, chown -R, shell eval of dynamic strings (ask). Applies to .sh/.bash/.zsh file content authored via Write/Edit (bash-target rules for the same primitives live in watch-files) |
| watch-dotnet | watches/watch-dotnet.yml | .NET decompilers (ilspycmd, ildasm, dotpeek, dnspy[ex], justdecompile), unzip/tar of .nupkg, curl/wget of .nupkg, and nuget install (ask). Nudges toward SourceLink instead of decompiling NuGet packages |
| watch-exec | watches/watch-exec.yml | Running code that can't be read before it runs (block): a download run through $(curl …) or <(curl …), piped to an interpreter (python, perl, node, ruby, …), a base64 -d or xxd -r payload piped to a shell, and shells attached to a network connection (nc -e, nc -l | sh, socat … exec:, /dev/tcp/). An interpreter given its own code (python3 -m json.tool, perl -ne) reads the download as data and is allowed. curl | sh itself is in watch-installs |
| watch-files | watches/watch-files.yml | rm -rf /, chmod 777, shred, mv /dev/null, raw disk writes (dd of=/dev/…, mkfs /dev/…, > /dev/sda, diskutil erase…) (block); rm -rf, recursive chmod/chown (ask). Recursive rm is allowed when each target is inside the working directory or the project root, names a regenerable tool directory, or sits under a scratch root (/tmp, /var/tmp, their macOS /private forms, ~/.cache); a delete with any other target gets an ask. The exemption reads only a bare rm: one inside a bash -c or eval script asks whatever its target, and one chained with another command is denied |
| watch-git | watches/watch-git.yml | Force push, gc --prune=now/prune, filter-branch/filter-repo, and other no-recovery git ops (block); commit, push, push --delete, reset --hard, branch -D, force-with-lease, and other recoverable mutating ops (ask). Stage-only ops (add, rm, non-hard reset) and the read-only stash list/show are allowed |
| watch-host | watches/watch-host.yml | shutdown, reboot, halt, poweroff, systemctl poweroff|reboot, crontab -r, and fork bombs (block). Matches the power commands run as a command, not the word in an argument |
| watch-installs | watches/watch-installs.yml | curl|sh, global installs, system package changes via brew (install, upgrade, uninstall, reinstall), choco (install, upgrade, uninstall), and apt install (block); npm install, yarn add, pip install, and other dependency changes (ask) |
| watch-node | watches/watch-node.yml | fs.rmSync at root/$HOME, child_process.exec("rm -rf /"), new Function(...) (block); fs.unlink, fs.rm({recursive:true}), exec/execSync, vm.runIn*Context, eval (ask). Applies to both node -e/bun -e/deno/tsx bash invocations and .js/.mjs/.cjs/.ts/.mts/.cts file content authored via Write/Edit |
| watch-kill | watches/watch-kill.yml | pkill and killall (ask), which kill every process matching a name or pattern rather than one process by id. Matches them run as a command, not the word in an argument (grep pkill notes.md) |
| watch-publish | watches/watch-publish.yml | npm/pnpm/yarn unpublish and gem yank (block); npm/pnpm/yarn publish (ask), skipping --dry-run |
Generated from the plugin's indexed repository (chris-peterson/claudewatch) — no native marketplace selected
npx claudepluginhub p/chris-peterson-claudewatchBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground