Install
openclaw skills install claude-reviewSelf-review quality gate using Claude CLI. When the user says 'review your work', 'use review-work', or 'check your output', run review-work with the task su...
openclaw skills install claude-reviewUses Claude CLI (claude --print) as an independent reviewer to catch errors, missed requirements, and quality issues in your work before delivering to the user.
review-work sends your work to a separate Claude instance for independent reviewThe reviewer is a separate Claude instance — it has no context of your conversation, so it reviews purely on merit.
Auto-learning: When a review fails, critical and major issues are automatically logged to LESSONS.md. This file is auto-included in future reviews so the reviewer checks for repeat mistakes.
claude CLI must be installed and available in PATH (npm install -g @anthropic-ai/claude-code)review-work "<task_summary>" --context <file_or_folder> [--skill <file_or_folder>]
| Argument | Required | Description |
|---|---|---|
task_summary | Yes | What the work was supposed to accomplish |
--context <path> | Yes | File or folder containing the work to review. Can also include reference material, test output, or anything relevant. |
--skill <path> | No | SKILL.md or skill folder used for this task. The reviewer uses its requirements as a definition of done. |
Auto-included (no flag needed):
LESSONS.md — if it exists, always included so the reviewer checks for repeat mistakesAll paths accept both files and folders. Claude reads all file types natively (text, images, PDFs, code).
When instructed to review your work:
review-work with the task summary, --context pointing to your output, and --skill if a skill was usedreview-work after fixing (up to 3 cycles)Review a single file:
review-work "Write a Python email validator" --context /tmp/email.py
Review with skill context (reviewer verifies against skill requirements):
review-work "Write an SEO blog about class action lawsuits" --context /tmp/blog.md --skill ~/.openclaw/workspace/skills/seo-content-writer/SKILL.md
Review an entire project folder:
review-work "Build a todo app with React" --context /tmp/todo-app/ --skill ~/skills/fullstack/SKILL.md
Review with extra context (reference articles, test output, etc.):
# Put your output + reference material in one folder
review-work "Write a blog matching MoneyPilot tone" --context /tmp/blog-project/
--skill--skill when a skill was involved in the taskFailed reviews are auto-logged to LESSONS.md (default: ~/.openclaw/workspace/LESSONS.md). Override the path with the LESSONS_FILE environment variable.
This file is also auto-read on every review, so the reviewer checks: "are any past mistakes being repeated?"