Aegis Proxy — Security skill for Claude Code
Aegis: a guardrail proxy between coding agents (Claude Code, pi) and LLM providers.
How to install Aegis Proxy
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open TowardInfinity/aegis-proxy and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Aegis Proxy does
Aegis: a guardrail proxy between coding agents (Claude Code, pi) and LLM providers. DLP redaction, an LLM judge that holds confidential text for SecOps approval, budgets, and an audit ledger. Single Go binary + React portal.
Alternatives in Security
- Mcp-scan (Invariant Labs) — MCP security scanner with proxy mode for real-time scanning without infrastructure changes 1.9k ★
- Imcodes — The IM for agents 960 ★
- ThinkWatch — Self-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII 817 ★
README
Aegis
Aegis is a guardrail proxy that sits between your employees' AI tools and the model providers. Claude Code, pi and any OpenAI- or Anthropic-compatible client change one base URL, and every request then goes through the same pipeline: validate, redact, judge, cache, budget, route, scan the response, ledger. The binary is called `guardrail`.
It exists because coding agents read files. An agent that opens `app.properties` or a board pack sends what it read to the model on the next turn. Aegis tokenizes secrets and PII before they leave, holds confidential text for a human to approve, caps spend per employee, and records every decision without storing the prompt.
One Go binary, CPU only, SQLite. The only outbound calls go to the providers you configure and, when it is enabled, the judge model.
Quickstart
go build -o guardrail ./cmd/guardrail
cp config.example.yaml config.yaml
# edit routes, keys and limits, then sign it
./guardrail sign config.yaml
export OPENAI_API_KEY=sk-...
export GUARDRAIL_ADMIN_TOKEN=$(openssl rand -hex 16)
./guardrail serve -config config.yaml -dev
Point any OpenAI SDK at `http://localhost:8080/v1`, or an Anthropic client at `http://localhost:8080`. The bearer token is the employee's proxy token, never a provider key:
curl -s localhost:8080/v1/chat/completions \
-H 'Authorization: Bearer emp-alice' \
-H 'Content-Type: application/json' \
-d '{"model":"gpt-4o","messages":[{"role":"user","content":"hello"}]}'
The response carries the decision in headers:
X-Guardrail-Action: pass | redact | block | cache_hit
X-Guardrail-Stage: validate | redact | judge | cache | budget | route | response-scan
X-Guardrail-Judge: allow; 812ms | escalate; cached | held | approved | unavailable
X-Guardrail-Ticket: SEC-1A2B3C4D (held for review)
X-Guardrail-Cache: HIT
X-Guardrail-Budget: exceeded | approaching
X-Guardrail-Request-Id, X-Guardrail-Budget-Remaining-Tokens
`scripts/demo-traffic.sh`
Related Skills
MCP Intercepter
Transparent proxy + enterprise gateway for MCP: audit logging, tool allow/deny policy, secrets/PII redaction,
Agentguard Merchant
Policy checkpoint between AI agents and PayPal refunds: MCP security proxy, LangGraph risk pipeline with human
Aegis Decisions
Search Nick Fury's decision-audit log — filter by source, date, or free-text query
Gaia Harden
Judge-the-form, human-gated hardening. Reviews recurring code-audit-frontend findings and, with approval, draf
Claude Code Dynamic Workflows
Four reusable dynamic-workflow templates for Claude Code (multi-dimension review, exhaustive audit, budget-sca
Q Sec Stack
Run or continue a security-stack intelligence investigation on a company. Maintains a single written case file
Related Agents
Castari Proxy
Use Claude Agent SDK and Claude Code with other providers/models.
Thales Reviver
Thales Explorer persona. Re-examines a specific ruled-out direction with current ledger context to determine w
AI LLM Expert
AI/LLM specialist. Use PROACTIVELY for model selection, prompt engineering, or RAG architecture. MUST BE USED