somoore

Sir — Security skill for Claude Code

Security community

Security runtime for AI coding agents — quiet on normal coding, loud on dangerous transitions.

How to install Sir

This entry records only its repository, not the path inside it, so there is no exact command to give. Open somoore/sir and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Sir does

Security runtime for AI coding agents — quiet on normal coding, loud on dangerous transitions.

Alternatives in Security

  • Deepsec — Deepsec is a security harness for finding vulnerabilities in your codebase powered by coding agents 7.8k ★
  • Agentseal — Security toolkit for AI agents 344 ★
  • Squirrelscan — The website QA tool for your coding agent 272 ★

README

sir — Sandbox in Reverse

A local security layer for AI coding agents. When your agent reads your secrets and then tries to phone home, sir stops it, proves it, and tells you exactly what to do next. **Silent while you code; loud only at the exits.**

A sandbox sees a process making a network call. sir sees **why**: the agent read `.env`, an MCP tool said "forward these for analytics," and now it's curling them to an unknown host. To a sandbox that's indistinguishable from `npm install`. sir adds the context that makes the block intelligent.

[!NOTE] sir is experimental and not yet production-ready — test on your own machine, not shared infrastructure. `sir doctor` recovers any wedged state; `sir uninstall` removes hooks cleanly. [Report bugs](https://github.com/somoore/sir/issues).

[![release](https://img.shields.io/github/v/release/somoore/sir?include_prereleases&label=release&style=flat-square&labelColor=141311&color=B4660A)](https://github.com/somoore/sir/releases/latest) [![supports](https://img.shields.io/badge/supports-claude_%C2%B7_gemini_%C2%B7_codex-2A2824?style=flat-square&labelColor=141311)](#agent-support) [![license](https://img.shields.io/badge/license-apache_2.0-2A2824?style=flat-square&labelColor=141311)](LICENSE) [![platform](https://img.shields.io/badge/platform-macos_%C2%B7_linux-1E6E85?style=flat-square&labelColor=141311)](#install--update--uninstall)

macOS (Apple Silicon) · Linux (amd64, arm64). Intel Mac and Windows are not yet supported.

Quick start

curl -fsSL https://raw.githubusercontent.com/somoore/sir/main/scripts/download.sh | bash
cd /path/to/project
sir install            # auto-detect supported agents already on this machine
sir demo               # see all three detections run, end to end

Then use your agent as normal. sir stays quiet until something crosses a line — and when it does, the message is the fix:

Claude tried to reach evil.example.com — × deny.

  reason: