Skip to content
G

gateguard

PreToolUse fact-forcing gate that denies the first Edit/Write/Bash

by affaan-mFree

Launch
#266in AI Skills
0In stores

Description

gateguard is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It is a PreToolUse hook for Claude Code that blocks th…

Highlights

  • Blocks the first edit until facts are shown
  • Three-stage gate
  • Covers Edit, Write, Bash and notebook edits
  • Targets guessed changes across modules

Ratings & Reviews

No ratings yet

Be the first to rate gateguard.

People also visit

H

hookify-rules

Create and configure hookify rules

AI Skills
Launch
G

git-guardrails-claude-code

Set up Claude Code hooks to block dangerous git commands

AI Skills
Launch
C

continuous-learning

[DEPRECATED - use continuous-learning-v2] Legacy v1 stop-hook skill extractor

AI Skills
Launch
D

delivery-gate

Stop hook that blocks Claude from finishing until quality checks pass

AI Skills
Launch
P

plankton-code-quality

Write-time code quality enforcement using Plankton

AI Skills
Launch
P

ponytail-gain

Show ponytail's measured savings (code, cost, speed) from the benchmark

AI Skills
Launch

gateguard FAQ

What does the gateguard skill do?

It is a PreToolUse hook that stops Claude Code's first edit or command and requires the agent to show facts about the code first.

Which tools does it gate?

The first Edit, Write, Bash, MultiEdit or NotebookEdit call, according to the listing.

Why not just ask the model if it is sure?

The skill says self-evaluation questions are answered with no, while asking for specific facts makes the agent investigate.

How do I install it?

Run: npx skills add https://github.com/affaan-m/ecc --skill gateguard

Is it free?

Yes. It is free and open source.

Are there security warnings?

The skills.sh listing shows Gen Agent Trust Hub with a warning, while Socket and Snyk pass.

What are the best gateguard alternatives?

Popular alternatives to gateguard include hookify-rules, git-guardrails-claude-code and continuous-learning. See all gateguard alternatives

Developer Stuff

Badges