Claude Code session

Claude Guardian

A macOS overlay app with pixel art mascots that guards your Claude Code sessions — approve or deny actions without leaving your flow.

61 stars 8 forksSessions & history Source

Install

Install
brew install --cask claudeguardian

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/anshaneja5/Claude-Guardian.git

From the README

Claude Guardian

  A living mascot that floats above your windows, guards your Claude Code sessions, and lets you approve or deny actions without leaving your flow.

  v2.2 — Always Allow button · keyboard shortcuts · hide/show mode · stop notifications

Each terminal session gets its own mascot — every active session spawns an independent mascot on screen, handling its own permission requests. Click the menubar icon to see live usage stats, costs, token breakdowns, and trends.

How It Works

Install

Homebrew (recommended)

This installs the app to /Applications/, sets up Claude Code hooks, copies the default config to ~/.config/claude-guardian/, and launches Guardian automatically.
macOS Gatekeeper note: Since the app isn't notarized, macOS may show "app is damaged" or block it on first launch. Run this once to fix it:

Then open the app normally. You only need to do this once.

Upgrading

From Source

This will:
1. Build the .app bundle
2. Install PreToolUse, SessionStart, SessionEnd, PermissionRequest, and Notification hooks into ~/.claude/settings.json
3. Copy the default config to ~/.config/claude-guardian/guardian.config.json
4. Create a LaunchAgent so Guardian starts on login
5. Launch the app

Manual Start

Features

Analytics Dashboard (v2)
Click the menubar icon → Stats tab to see a full analytics dashboard powered by your local ~/.claude/ data:
- Today — cost, sessions, messages, tokens, token breakdown by type, rate limits (5-hour & 7-day), recent sessions
- All Time — lifetime totals, average daily cost, active days, model breakdown (Opus/Sonnet/Haiku)
- Projects — cost ranked by project with visual progress bars
- Trends — 7-day cost chart + 30-day daily history table
- Auto-syncs on file changes, 100% local — no data leaves your machine

Stop…
Read the full README on GitHub

Details

Language
Swift
Last updated
27 March 2026
Topics
claudeclaude-aiclaude-code

FAQ

What is Claude Guardian?

A macOS overlay app with pixel art mascots that guards your Claude Code sessions — approve or deny actions without leaving your flow. It is a session for Claude Code, from anshaneja5/Claude-Guardian on GitHub.

How do I install Claude Guardian?

Run brew install --cask claudeguardian, then follow the setup in the README.

Is Claude Guardian popular?

anshaneja5/Claude-Guardian has 61 GitHub stars and 8 forks. It was last updated on 27 March 2026.

More sessions & history

Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.