Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Gate that requires facts before any edit v1.0.0

Use this resource to configure a hook that makes the agent check facts before each edit

New

  • 435 downloads
  • 182 likes
  • 175 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install pre-edit-fact-check-hook

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The skill describes a PreToolUse hook: the first edit, write or destructive command attempt is refused until the agent cites importers, data schemas or the user's instruction. You get a configurable hook, with per-path exceptions.

Mostly picked by

Updated November 2, 2026

Card for the “Gate that requires facts before any edit” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: principle, gate types and questions by target
  • SKILL.md: exception environment variables and handling of first denials

Good fit for

  • The agent edits linked modules and often breaks imports
  • Data files follow precise schemas or date formats

Not for

    Tags

    • hook
    • guardrail
    • editing
    • checks

    About

    You say

    “Turn on the GateGuard gate for this repo and exempt the docs folder from the check.”

    Card for the “Gate that requires facts before any edit” skill

    Skill published by affaan-m under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to configure a hook that makes the agent check facts before each edit
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.4 KB
    • SKILL.md41.4 KB

    Origin and licence

    Listed unmodified

    Author
    affaan-m
    Source
    github.com/affaan-m/ecc/tree/25278e7d7b6cf6e6a4e7a6c8e10f14ff22f0eb5b/skills/gateguard
    Licence
    MIT

    Notice

    « gateguard » (affaan-m, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.