APort Agent Guardrails
Secures Claude Code environments by enforcing local pre-action authorization policies on every tool execution.
APort Agent Guardrails provides a robust security layer for Claude Code by intercepting tool calls before they execute. By setting up a local 'Passport' system, this skill allows users to define granular permissions, rate limits, and file restrictions, ensuring that the AI agent operates within safe boundaries. It utilizes the PreToolUse hook for real-time policy enforcement with zero network latency or external API calls, making it an ideal solution for developers who require high privacy and safety standards during automated coding sessions.
Key Features
01Local-first policy evaluation with zero network calls
02Interactive wizard for defining agent capabilities and limits
03Granular file system and command execution restrictions
04Pre-action authorization for all Claude Code tool calls
05Automatic PreToolUse hook registration via plugin system
0622 GitHub stars
Use Cases
01Enforcing safety guardrails during automated refactoring or deployment tasks
02Preventing AI agents from modifying or deleting sensitive project files
03Restricting agent capabilities to a specific subset of approved tools