An open standard for integrating human decision-making directly into autonomous AI agent workflows using HTTP 202 responses.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install hitl-protocol
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install hitl-protocol using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
HITL Protocol (Human in the Loop) is a specialized open standard designed to bridge the gap between autonomous agents and human oversight. It allows services to pause execution and request human input—such as approvals, selections, or form data—ensuring that critical decisions remain under human control. By leveraging Openclaw Skills like this, developers can prevent agent hallucinations or errors in high-stakes environments like financial transfers or system deployments.
The protocol is platform-agnostic, meaning it works seamlessly across various messaging interfaces like Telegram, Slack, and WhatsApp, as well as standard web browsers. It functions similarly to how OAuth handles authentication, but for human decisions, providing a clean separation between the service hosting the UI and the agent facilitating the communication.
To begin using HITL Protocol within your Openclaw Skills environment, you need to implement the standard HTTP 202 response pattern in your service or ensure your agent can parse the HITL object. No specific SDK is required.
Ensure your API returns the following structure when human input is needed:
{
"status": "human_input_required",
"hitl": {
"spec_version": "0.7",
"case_id": "review_abc123",
"review_url": "https://yourservice.com/review/abc123?token=xyz",
"poll_url": "https://api.yourservice.com/v1/reviews/abc123/status",
"type": "confirmation",
"prompt": "Confirm deployment of server-01?"
}
}
Agents should detect the 202 status and forward the review_url to the user. Use the following bash command logic to test your integration:
# Use curl to simulate an agent polling for a decision result
curl -X GET https://api.yourservice.com/v1/reviews/review_abc123/status
The HITL Protocol organizes data through a standardized JSON schema that ensures compatibility across all Openclaw Skills and agents.
| Field | Type | Description |
|---|---|---|
| spec_version | string | The version of the HITL Protocol (e.g., "0.7"). |
| case_id | string | A unique, URL-safe identifier for the review instance. |
| review_url | URL | The HTTPS URL where the human performs the review. |
| poll_url | URL | The endpoint the agent hits to check the status of the decision. |
| type | enum | The category of review: approval, selection, input, confirmation, or escalation. |
| status | enum | The current state: pending, opened, in_progress, completed, expired, or cancelled. |
| result | object | The final decision data returned once the status is completed. |
submit_url allowing users to decide without leaving the chat.previous_case_id and next_case_id links.default_action (skip, approve, reject, or abort) for time-sensitive workflows.Loading
A dedicated management skill for monitoring and applying version updates to the OpenClaw platform.

A specialized management tool for checking, applying, and verifying updates to the OpenClaw platform and its core components.

A secure Gmail proxy for AI agents that enforces compliance through policies, audit logging, and human-in-the-loop approvals.

A specialized research automation tool that converts AI topics into comprehensive writing packages including social evidence and structured outlines in Obsidian.

A sophisticated AI agent skill that generates professional resumes, interactive CVs, and 3D digital identities with built-in human-in-the-loop verification.

A robust CLI tool for managing AdGuard Home DNS filtering, protection states, and domain rules via an intuitive HTTP API interface.








































