More screenshots

    Works with the AI Agents you already use

    Approval Gates Human in Loop

    by Mohamed Mostafa Metawea

    1

    Gate agent side effects behind request, approve and execute steps, so only a human Approve click runs them.

    $12.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Approval Gates Human in Loop

    Approval Gates Human in Loop

    Example session with this skill installed

    My agent can send emails and change my calendar directly. I want it to only propose those actions and have me approve each one before anything runs.

    • Read your context and instructions
    • Compiled the approval gates human

    Summary

    Illustrative outline of the pattern. This is a sample, not captured output from a live model.

    1. The agent calls a request tool. The action is stored with status pending, including the exact email text or event details.
    2. A person reviews it and clicks Approve or Reject.
    3. Approve checks the status is pending, runs the handler once, and marks it approved. A second Approve is refused ("already approved").
    4. Emails are saved as drafts and addressed only to the original sender.

    Next steps

    1. List the actions in your system that cause side effects.
    2. Put each behind a pending request with a reviewer.

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

    About this skill

    Every side-effecting agent action goes through one gate: request, approve, execute. Agents only propose actions; a human Approve click is what runs them. It comes from a small Python reference app (AI Office) and was checked against that code.

    What it does

    • A simple state machine: an action is requested, then approved or rejected, and only approval executes it.
    • Refuses to approve anything that is not pending, so a double click cannot run an action twice.
    • Shows the exact email text or event that will run, not a summary.
    • Email is draft-only and goes to the original sender only.
    • Commitments can need a second level of approval.
    • The reference app gates five kinds of action: email, calendar write, hire, job description change and new skill.

    How it works

    The skill lays out the states, the handler for each action kind, and the rules that keep the gate trustworthy.

    Frameworks & tools

    Plain Python with the standard library and SQLite. A written playbook, not an installable package.

    Use cases

    • Letting an agent draft emails that a person reviews and sends.
    • Requiring sign-off before an agent writes to a calendar or changes records.

    Known limitations

    The gate stops unreviewed execution. It does not judge whether an action is a good idea, so the reviewer still has to read it.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Frequently Asked Questions

    This skill solves the risk of agents executing sensitive actions autonomously by forcing every side effect through a request, review, and execute loop. It prevents model hallucinations or jailbreaks from triggering outbound emails or financial commitments without a manual human trigger.

    You receive a code verified human in the loop gate pattern that manages four distinct states: pending, approved, rejected, and failed. It includes specialized handlers for email drafts, calendar events, agent hiring, and skill creation, all utilizing immutable payloads to ensure what you approve is exactly what is executed.

    The skill implements a draft only flow where agents can only propose replies to original senders. This prevents the agent from sending unsolicited outbound spam or addressing emails to the wrong person, as the final send command is only reachable through the approval path.

    The skill manages the approval workflow and state but does not evaluate the quality or logic of the agent's proposed action. Additionally, payloads must be complete and immutable at the time of the request to prevent post approval tampering.

    You can tell your agent to draft a specific proposal, such as an email reply or a new calendar event, and submit it for your review. The agent will confirm that the request is pending and will inform you that nothing will be executed until you provide explicit approval.

    This skill is designed to protect high risk actions such as spending money, modifying core system prompts, managing calendar bookings, and orchestrating the creation or modification of sub agents. It provides a robust layer of governance for any tool that interacts with the outside world or changes your team structure.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.