STILLWATCH

A local flight recorder for coding agents: what Claude Code did, what it touched, and what it left behind.

Back
Alpha CLI / macOS / Linux / TypeScript / Node.js / SQLite / React

The Problem

Coding agents do more work with less review, and people rarely read every command they approve. After a long session you are left with a transcript nobody wants to read and three questions: what did the agent do, did it touch anything sensitive, and did it leave anything behind that could run or be read later, like a git hook, a scheduled task, or a line in a shell profile?

The Solution

Stillwatch records every Claude Code session on your own computer and answers those three questions in one report. Fixed rules decide the risk, not an AI model, and every finding links to the exact event behind it. It only observes: it never blocks or changes what the agent does.

How It Works

Tiny Hook

A small shell hook copies each Claude Code hook event into a local spool and returns, so the analysis happens outside the agent's way.

Background Collector

Redacts secrets before storage, keeps events in SQLite with hash chains, and snapshots the repository and persistence locations at session start and end.

Rules With Evidence

Fixed detection rules flag things like planted git hooks, launch agents and safety bypasses, and each finding points to the command that caused it.

Stays on Your Machine

A dashboard on 127.0.0.1 and a Markdown export. No network requests, no telemetry, no cloud model, and data is kept for 30 days by default.

Screenshots

These sessions come from Stillwatch's attack lab, which replays agent sessions in throwaway directories. In the first, the agent was asked to add a test and also planted a git hook.

Stillwatch: High-risk session report with a git hook the agent added without being asked
Session report
Stillwatch: Timeline of every prompt, file read, edit and command, with the flagged command marked
Timeline
Stillwatch: Low-risk report for a normal bug fix, where no rule flagged anything
A normal session stays quiet

Links

Alpha and looking for early testers. Works with Claude Code on macOS and Linux and needs Node.js 22.13 or newer. Install it with npm install -g stillwatch, run stillwatch install, then start a new Claude Code session.