Sir — Security skill for Claude Code
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).
[](https://github.com/somoore/sir/releases/latest) [](#agent-support) [](LICENSE) [](#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:
Related Skills
Kiteguard
Open-source runtime security guardrails for Claude Code, Cursor, and Gemini CLI — blocks dangerous commands, d
Agent Security Hooks
Security hooks for AI coding assistants (Claude Code, Cursor, Gemini CLI) - block dangerous commands, protect
TypeScript Engineering
Reusable TypeScript engineering skill for AI coding assistants. Practical guidance on type safety, runtime val
Patronus Security CLI
Security scanner and runtime protection for AI coding agents. Detects prompt injection, secrets, PII, and unsa
Memnox
See what your AI coding agents can actually do on your machine, and put the dangerous actions behind ask or de
Claude Warden
Security hooks and monitoring for Claude Code — quiet overrides, SSRF protection, MCP compression, OTEL tracin
Related Agents
Runtime UX QA
Reviews implemented runtime UI from the perspective of a normal user.
Default Worker
Main implementation worker (Sonnet). Use for normal, well-specified coding work — features, edits, refactors,
Commit Archaeologist
Phase 1 intelligence gathering agent that proactively mines git history for security-relevant commits with no