Security
Claude Guardian is local-only. It has no network listener, no telemetry, and no cloud dependency.
What it reads
Section titled “What it reads”~/.claude/projects/— log files, sizes, modification times- Process list — CPU, memory, uptime, handle counts for Claude-related processes (via
pidusage)
What it writes
Section titled “What it writes”~/.claude-guardian/— state.json, budget.json, journal.jsonl, doctor bundles- All files are under the user’s home directory
What it collects in bundles
Section titled “What it collects in bundles”Doctor bundles contain:
- System info (OS, CPU, memory, disk)
- Log file tails (last 500 lines)
- Process snapshots
- Guardian’s own journal
Bundles never contain API keys, tokens, credentials, or user content.
What Guardian will NOT do
Section titled “What Guardian will NOT do”- Kill processes or send signals (no SIGKILL, no SIGTERM)
- Restart Claude Code or any other process
- Delete files (rotation = gzip, trimming = keep last N lines)
- Make network requests or phone home
- Elevate privileges or access other users’ data
If process killing or auto-restart is ever added, it will be behind an explicit opt-in flag and off by default.
Error handling
Section titled “Error handling”All errors use GuardianError with structured fields:
code— machine-readable error codehint— actionable guidance for the usercause— upstream error (if any)
MCP tool errors never expose stack traces. The safe output mode strips internal details before returning to the caller.