CHATS-lab

Coding Agent Safety Monitor — Development skill for Claude Code

Development community

Repository of safety monitor for Claude Code.

How to install Coding Agent Safety Monitor

This entry records only its repository, not the path inside it, so there is no exact command to give. Open CHATS-lab/coding-agent-safety-monitor and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Coding Agent Safety Monitor does

Repository of safety monitor for Claude Code.

Alternatives in Development

  • Browser Tools MCP — Monitor browser logs directly from Cursor and other MCP compatible IDEs 7.2k ★
  • /autopilot — Autonomous hunt loop with deterministic scope safety and configurable checkpoints 1.2k ★
  • Claude-code-safety-net Rules Reference — Custom rules reference for defining safe/dangerous command patterns 1.2k ★

README

Safety Monitor logo

Safety Monitor

Catch your coding agent before it sabotages.

License: MIT Python 3.10+ Version v0.0.5

A Claude Code plugin that monitors your coding agent. Before the agent runs a command or edits a file, the monitor reads the conversation so far, asks a separate LLM whether the next move looks malicious or off-task, and pops up a desktop dialog if it does.

How it works

The plugin hooks `PreToolUse`. On every tool call the agent is about to make, the monitor reads the session transcript and sends it to a separate LLM with one question: how suspicious is this, on a scale of 0 to 100.

If the score is at or below the threshold (default 80), the hook returns silently and the tool call goes through.

When the score exceeds the threshold, Claude Code pauses and asks for your permission, with a native dialog showing what the monitor flagged as suspicious.

Safety monitor alert dialog showing a high-suspicion finding

Installation

Requisite: [`uv`](https://docs.astral.sh/uv/). One-time install:

# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

Then in Claude Code:

# Register this repo as a plugin marketplace
/plugin marketplace add https://github.com/CHATS-lab/coding-agent-safety-monitor.git

# Install the safety-monitor plugin from the marketplace
/plugin install safety-monitor@safety-monitor

If you'd rather skip the marketplace, clone and install from a local path:

# Clone t