Self-Review Skill for Openclaw

A lightweight, rule-based engine designed to automatically validate the quality and structure of AI agent outputs before they reach the user.

leic8959-sudo
v1.0.0
Feb 22, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install self-review

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 self-review 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 Self-Review Skill?

The Self-Review Skill is an essential utility within the Openclaw Skills ecosystem, designed to ensure that AI-generated content meets high standards of professional communication. By leveraging a cost-effective, rule-based engine, it evaluates agent responses for clarity, conciseness, and actionability without incurring additional API costs. This skill serves as a critical quality gate, filtering out suboptimal content and ensuring that only refined, well-structured output is presented to the end user.

Self-Review Skill Use Cases

  • Automating the quality assurance process for AI-driven customer support responses.
  • Pruning verbose or redundant text from agent outputs to optimize token usage.
  • Ensuring that technical documentation generated by agents follows specific structure and actionability standards.
  • Integrating a sanity check step within complex multi-agent orchestration pipelines.

How Self-Review Skill Works

  1. The agent's generated text is piped into the Self-Review Skill via the command line or an automated pipeline step.
  2. The rule-based engine analyzes the input against predefined heuristics for clarity, brevity, and structural integrity.
  3. The skill evaluates the text and returns a status code: 0 for approval or 1 if the content requires further refinement.
  4. Based on the exit code, the workflow can either proceed to delivery or trigger a regeneration cycle.

Self-Review Skill Setup

To install and use this skill within your environment, follow these steps:

  1. Ensure you have Node.js installed.
  2. Clone the repository and navigate to the skill directory.
  3. Run the skill by piping output into the script:
echo "Generated content here" | node skills/self-review/index.js

To customize the evaluation logic, you can directly edit the threshold values within skills/self-review/index.js.

Self-Review Skill Data Schema & Taxonomy

The Self-Review Skill operates using a stream-based input model and provides binary feedback via standard exit codes. This makes it highly compatible with existing Openclaw Skills automation scripts.

Component Type Description
Input Stdin The raw text string generated by the AI agent to be reviewed.
Approved Exit Code 0 Indicates the content passed all internal quality heuristics.
Rejected Exit Code 1 Indicates the content failed checks and requires improvement.
Config index.js Local configuration file for adjusting rule-based thresholds.

Self-Review Skill Advanced Features

  • Pipeline Integration: Seamlessly embed the skill as a standard step in your AGENTS.md workflow files.
  • Zero API Overhead: Executes locally as a rule-based engine, providing an efficient and cost-free alternative to LLM-based reviewers.
  • Customizable Heuristics: Developers can fine-tune the JavaScript logic to enforce specific brand voices or technical constraints.
  • Ecosystem Compatibility: Designed to work alongside other Openclaw Skills, with a clear upgrade path to the self-review-llm package for deep semantic analysis.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*