judgment-gate

Classify planned actions into ACT, ASK, QUEUE, or ABORT routes.

4|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill judgment-gate
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: judgment-gate
Source: https://github.com/m2ai-portfolio/m2ai-skills-pack/tree/main/skills/judgment-gate
Command: npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill judgment-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

A judgment gate classifies planned actions and routes them to appropriate decision paths to prevent unsafe autonomous execution.

Core Features & Use Cases

  • Four-question rubric evaluating reversibility, cost boundary, blast radius, and observability for each planned action.
  • Automatic routing to ACT, ASK, QUEUE, or ABORT with explicit reasoning.
  • Seamless integration as a PreToolUse gate in tool-use pipelines to enforce safety before action.

Quick Start

Run judgment-gate on the planned action before proceeding.

Frequently Asked Questions about judgment-gate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a safety check before an autonomous agent executes shell commands or API requests?▼

You can add a safety check by wiring a judgment gate as a PreToolUse hook to classify planned actions and route them to ACT, ASK, QUEUE, or ABORT before execution.

What is an agent judgment gate and how does it evaluate risk-management for tool calls?▼

An agent judgment gate evaluates risk-management by applying a four-question rubric covering reversibility, cost boundary, blast radius, and observability to classify and route planned actions.

Can I use a judgment gate to intercept and queue edits if they exceed a certain cost boundary?▼

Yes, a judgment gate can intercept edits and automatically route them to QUEUE if the action violates the cost boundary criteria defined within its four-question safety rubric.

When should I abort autonomous execution instead of asking for user confirmation?▼

Autonomous execution should route to ABORT instead of ASK when the planned action fails the rubric for reversibility and blast radius, indicating an unsafe and irreversible high-risk operation.

Does a PreToolUse hook work with any agent planning pipeline for routing automation?▼

Yes, a PreToolUse hook works with any agent planning tool calls, edits, API requests, or shell commands, applying routing automation to enforce safety before action.