ATP0925

Agent Shield — AI skill for Claude Code

AI community

The bulletproof safety harness for autonomous AI coding agents.

How to install Agent Shield

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

What Agent Shield does

The bulletproof safety harness for autonomous AI coding agents.

Alternatives in AI

  • Osaurus — Own your AI. The native macOS harness for AI agents -- any model, persistent memory, autonomous execution, cry 5.1k ★
  • Anthropic SDK TypeScript — Access to Anthropic's safety-first language model APIs in TypeScript 2.1k ★
  • Internal Safety Collapse — We built an adversarial codespace setup 1.2k ★

README

🛡️ AgentShield

The bulletproof safety harness for autonomous AI coding agents.

Never let your AI coding agent leak API keys, stage .env files, or execute destructive commands.

Tests License Python Version Status


⚡ The Problem: Autonomous Agents Have Sudo Over Your Repo

When running autonomous AI agents (like **Claude Code**, **Cursor Composer in YOLO mode**, **Cline**, or **Aider**), you give models permission to execute bash commands and git workflows.

Every developer has faced (or fears) an agent that:

  • ❌ Runs git add . and accidentally commits your .env or .pem keys.
  • ❌ Commits raw conversation transcripts (.claude/, .cursor/) containing sensitive tokens.
  • ❌ Executes destructive terminal commands (rm -rf, DROP TABLE, git push --force).
  • ❌ Exposes private developer emails in git author commits.

**Traditional static linters run too late.** AgentShield acts as a real-time command proxy and pre-commit gate tailored specifically for autonomous agent lifecycles.


🚀 Quickstart (< 10 Seconds)

1. Install

pip install -e .

2. Protect Your Repository

Run inside any project directory:

agentshield init

This automatically installs the **Git Pre-Commit** and **Pre-Push** security hooks and creates a cus