Approval Queue for Openclaw

Streamline AI-driven actions with a lightweight REST and CLI-based approval system for Openclaw Skills.

sa9saq
v1.1.0
Feb 8, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install approval-queue

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install approval-queue using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Approval Queue?

The Approval Queue skill provides a robust human-in-the-loop mechanism to manage autonomous actions generated by agents. Whether it is social media posts, software deployments, or content publishing, this skill ensures that nothing goes live without explicit human authorization. Designed as a lightweight service, it fits perfectly into the ecosystem of Openclaw Skills, offering both a RESTful API and a CLI interface to integrate seamlessly with existing developer workflows.

By implementing this skill, developers can add a layer of safety and governance to their AI agents. The system utilizes a SQLite backend to track pending tasks, allowing users to review, approve, or reject actions with optional reasoning. This makes it an essential tool for maintaining quality control and security in automated environments powered by Openclaw Skills.

Approval Queue Use Cases

  • Approving AI-generated social media posts before they are published to platforms like Twitter or LinkedIn.
  • Managing manual gates for CI/CD deployment pipelines triggered by autonomous coding agents.
  • Reviewing content publishing tasks in automated CMS workflows.
  • Providing a centralized dashboard for all pending human-in-the-loop actions across various Openclaw Skills.

How Approval Queue Works

  1. The AI agent creates content or a task and sends a POST request to the Approval Queue API.
  2. The task is stored in the local SQLite database with a pending status and a specific payload.
  3. The user is notified of the pending action via an inline button or CLI notification.
  4. The user reviews the item details and technical payload using the CLI or a frontend integrated with the REST API.
  5. Upon approval or rejection, the status is updated in the database, and an optional webhook is triggered to execute the next step in the workflow.

Approval Queue Setup

To get started, navigate to the skill directory and initialize the environment:

cd {skill_dir}
npm install && npm run build

Start the API server to begin managing your Openclaw Skills actions:

node dist/server.js --port 3010

Use the CLI to add a test item to your queue:

node dist/cli.js add --type sns_post --payload '{"text":"Hello world","platform":"twitter"}'

Approval Queue Data Schema & Taxonomy

The system manages data using a structured JSON schema within a SQLite database to ensure compatibility with other Openclaw Skills. Each item in the queue follows this format:

Field Type Description
id UUID Unique identifier for the action item.
type String The category of action (e.g., sns_post, deploy).
status String Current state: pending, approved, or rejected.
payload Object The actual data or command to be executed.
created_at ISO8601 Timestamp of item creation.
reviewer_note String Optional feedback or reason for rejection.

Configuration is handled via environment variables like PORT, DB_PATH, and WEBHOOK_URL.

Approval Queue Advanced Features

  • Webhook Integration: Automatically trigger external services or callback URLs upon item approval or rejection.
  • Flexible CLI: Full control over the queue directly from the terminal for power users and sysadmins.
  • RESTful API: Easily build custom dashboards or mobile apps to manage your Openclaw Skills on the go.
  • Security Hardening: Includes input validation, payload sanitization, and SQLite file permissions management for production use.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*