Aegis Approval Gate — Git skill for Claude Code
PreToolUse hook that blocks destructive Bash ops (rm -rf, git push --force, DROP TABLE, etc.) until an active approval marker grants permission.
How to install Aegis Approval Gate
Installs to ~/.claude/skills/phariyawitjiap-aeternix-aegis-team-aegis-approval-gate/SKILL.md
mkdir -p ~/.claude/skills/phariyawitjiap-aeternix-aegis-team-aegis-approval-gate && curl -fsSL https://raw.githubusercontent.com/phariyawitjiap-aeternix/AEGIS-Team/HEAD/skills/aegis-approval-gate.md -o ~/.claude/skills/phariyawitjiap-aeternix-aegis-team-aegis-approval-gate/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Aegis Approval Gate does
name: aegis-approval-gate description: "PreToolUse hook that blocks destructive Bash ops (rm -rf, git push --force, DROP TABLE, etc.) until an active approval marker grants permission. Use this skill whenever the user wants to grant a one-time approval, list active approvals, revoke one, or configure the gate-rules. Triggers on 'grant approval', 'approve destructive op', 'list approvals', 'revoke approval', 'gate rules', 'อนุมัติ destructive', 'ดู approval', 'ยกเลิก approval'." profile: stan
Alternatives in Git
- Prime Isolation: Worktree Isolation And Git Ops Orientation — Prime Isolation: Worktree Isolation and Git Ops Orientation skill 17.6k ★
- TDD Guard — by Nizar Selander - A hooks-driven system that monitors file operations in real-time and blocks changes that v 1.9k ★
- Claude Code Safety Net — A Claude Code plugin that acts as a safety net, catching destructive git and filesystem commands before they e 1.2k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Aegis Resume
Persistent run state — checkpoint a session, then resume after a Claude Code crash, machine restart, or branch
Dippy
by Lily Dayton - Auto-approve safe bash commands using AST-based parsing, while prompting for destructive oper
Claude Git Reset
Claude Code hook to block destructive git commands (reset --hard, force push, etc.)
Grant Commit
Grant consent for Claude to run git commit. Workflow-scoped when a workflow is active, else a time window. Req
Claude Branch Guard
Moved to karlkfi/claude-bouncer. Branch-aware git permissions for Claude Code — auto-approve safe git/gh comma
Contribution Dashboard
Read-only dashboard for the opensource-contributor state. Shows active run, score history, plateaued dimension
Related Agents
Git Pusher
Use for git push operations only. Operator confirmation is REQUIRED for every push. A Bash command denied by t
Unattended Approver
Gives or withholds the approval a change needs during an unattended run, under sub-doctrine 12.f. Use only whe
DB Review
Fresh-eyes Supabase migration & grant-safety review for changes touching migrations, RLS policies, SECURITY DE