whereismyai
Bright Lines
Bright Lines is a supervised, fail-closed safety setup for Claude Code that blocks dangerous actions.
Bright Lines is a safety setup designed for Claude Code. It allows Claude to read freely while requiring human approval for edits, commands, web lookups, and helper agents. The product uses four layers of protection, including strict settings, a pattern-matching guard hook in Python, human approval, and git backups. It refuses dangerous actions like bulk deletion, pushing code, sending network data, reading key files, and installing software. It is built for developers who want AI assistance without risking unauthorized system changes. Supported platforms include Linux and POSIX shells, requiring Python 3.8 and Claude Code.
Bright Lines at a glance
Key features
- Fail-closed guard hook running before every tool call
- Session caps to limit activity
- Global kill switch to stop all running sessions
- Setup checker to verify block functionality
- Web fetch prompt injection defense
- Automated tests for guard and kill switch
Use it for
- Writing code with Claude Code under strict safety supervision
- Reviewing and approving tool calls and agent edits
- Preventing accidental bulk deletions and network data leaks
- Controlling AI session activity and costs
Companions
Tools that articles about Bright Lines recommend using with it, each with its job.
- Claude Code — Built to work with Claude Code.
- Context7 — Provides up-to-date documentation for AI agents and code editors.
- Playwright MCP — Enables LLMs to interact with web pages using structured accessibility snapshots.
- GitHub MCP Server — Reads pull requests, issues and code search on GitHub.
- Superpowers — Brainstorm, plan and execute skills for bigger tasks.
- gstack — Skill bundle for planning, review and shipping.
Alternatives to Bright Lines
- Lights On Software Factory — Reduces token spend by around 80% using deterministic orchestration tools
- ccstatusline — It provides real-time visibility into Claude Code metrics and Git status in the CLI.
- Better Statusline — It shows context, usage, spend, and music controls directly in the terminal.
- Claude Code Mistake Guards — Stops repeated agent mistakes mechanically with tests that prove they block.
- Claude Code Harness — Enforces a disciplined delivery loop with verification gates and safety checks.
- Claude Code mods — Add live lines above the prompt, command guards, panes, and games to Claude Code.
- Ralph for Claude Code — Enables continuous coding cycles with built-in API safeguards and rate limiting.
- Claude Red — It primes Claude with expert-level methodology for specific attack surfaces.
- Gumroad — Prevents lost work on Windows by backing up chat history and diagnosing Claude Code crashes.
- Claude Code Workflows — Provides pre-built, automated workflows for Claude Code development processes.
- Claude HUD — Shows real-time context usage, rate limits, and agent activity inside your terminal.
- ModVet — Scans Claude Code mods offline in milliseconds with zero dependencies.
All Bright Lines alternatives