Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    zero trust tool gate

    1

    Enforce pre-execution justification and human-in-the-loop approval gates for high-blast-radius agent tools.

    $13

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    zero trust tool gate

    zero trust tool gate

    Example session with this skill installed

    Set up a safety gate for an agent that has write access to our production Postgres database and can delete S3 buckets. We need to make sure it doesn't do anything irreversible without a human.

    • Read your context and instructions
    • Compiled the zero trust tool

    I have configured the Zero-Trust Tool Gate for your production agent. This implementation enforces a justification-first sequence and separates the agent's reasoning from the approval authority.

    Database and Infra Safety Gate Configuration

    Tool CategoryAction TypeBlast RadiusApproval Threshold
    SQL WriteUPDATE, INSERTSingle-RecordAuto-log & Proceed
    SQL DeleteDELETE, TRUNCATEBulk/IrreversibleHuman Approval Required
    S3 Storageput_objectReversibleAuto-log & Proceed
    S3 Storagedelete_bucketIrreversibleHuman Approval Required
    Any ToolCumulative > 50 rowsBulkHuman Approval Required

    Implementation Instructions

    The following procedural logic has been prepared for your agent's system context:

    1. Identify if the target tool is in the high-stakes inventory.
    2. Generate a justification string explaining the business necessity.
    3. Perform a dry-run or EXPLAIN to count affected rows (do not trust internal estimates).
    4. Classify the action sensitivity. If unknown, escalate to regulated.
    5. Call the approval_service API. This is a blocking call to an external endpoint.
    6. Log the request_id, justification, and approval_token to the append-only audit_db.
    7. Execute the tool only if approval_token is valid.

    Next steps

    • Wire the approval_service to your team's Slack #prod-alerts channel.
    • Configure the audit_db with INSERT-only permissions for the agent's service account.
    • Run the provided adversarial test suite to attempt a bypass using SQL synonyms.

    Connects securely to your tools. The creator never sees your data.

    What you get

    Prevent accidental production database deletions via pre-execution checks.Enforce human-in-the-loop sign-off for external customer communications.Block unauthorized infrastructure teardowns in cloud environments.Create structured audit trails for all high-stakes agent reasoning steps.

    About this skill

    Stop agents from executing destructive actions before they happen. This skill provides a behavioral discipline framework that forces agents to justify, classify, and log high-stakes tool calls prior to execution. It addresses the critical vulnerability where agents explain their mistakes after damage is done or fabricate plausible justifications for unsafe operations.

    What it does

    • Pre-execution justification ensures the agent writes a plain-text reason for a tool call before it runs.
    • Blast-radius classification categorizes actions by reversibility and scope rather than simple phrase-matching.
    • Cumulative tracking monitors multiple small actions that add up to a high-severity event within a single session.
    • Sensitivity thresholding maps resources to approval tiers, triggering human-in-the-loop requirements for regulated data.
    • Structured audit logging produces queryable, append-only records of justifications and approval statuses.

    How it works

    1. Tool Inventorying identifies every tool in the agent's stack and classifies them as read-only, reversible, or destructive.
    2. Policy Configuration defines the forbidden-actions floor, resource sensitivity tiers, and cumulative blast-radius limits.
    3. Procedural Injection adds the multi-step gate sequence (justify, check, classify, log, execute) into the agent context.
    4. Adversarial Testing verifies the gate by attempting to bypass it via prompt injection or phrased synonyms.

    Frameworks & tools

    Works with any agentic framework including LangChain, OpenAI Agents SDK, CrewAI, and AutoGPT. Integrates with external approval channels like Slack, Jira, or custom APIs.

    Why this beats prompting it yourself

    Most manual prompts result in post-hoc explanations that fail to stop destructive actions. This skill enforces a specific sequence that fails closed and accounts for session-wide cumulative risks that simple system prompts miss.

    Use cases

    • Gating DROP TABLE or bulk DELETE operations on production databases.
    • Requiring human approval before an agent sends external communications to customers.
    • Managing infrastructure changes in AWS, GCP, or Azure environments.
    • Preventing unauthorized credential rotations or security configuration changes.

    Known limitations

    Does not replace technical sandboxing or scoped credentials. The reasoning step can be bypassed by sophisticated prompt injection if not paired with input sanitization.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 1 day ago

    • Passed all security checks, Safe to install

    Listed1 day ago

    What's inside

    Frequently Asked Questions