skills/check-work/SKILL.md
Check your work with a verification subagent that reviews diffs, runs builds and tests, and evaluates correctness. Read this file for instructions. Use when asked to "check work", "verify changes", "self-verify", "/check-work", "/check", "/verify", or "/self-verify".
npx skillsauth add ariffazil/openclaw-workspace check-workInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Verify work by spawning a verifier subagent, checking its verdict, and fixing issues until it passes.
/check-work [focus area]
The optional focus area tells the verifier to pay special attention to specific aspects of the changes (e.g. "auth logic and JWT handling").
Determine which mode you are in before proceeding:
--check). Complete the task fully first, then proceed to Step 1 below./check-work (or the alias /check) or the skill was invoked
after a previous turn. Proceed directly to Step 1.Call the task tool with:
description: must start with "[checking my work]" followed by a short labelsubagent_type: "general-purpose"run_in_background: falseprompt: copy the VERIFIER PROMPT section below verbatim. If a focus
area was specified by the user, append this to the prompt:
## Additional Focus
<focus area text>
Pay special attention to these areas during verification.
Read the subagent's result. Look for VERDICT: PASS or VERDICT: FAIL.
If PASS: summarize what the verifier confirmed and stop.
If FAIL (or no verdict found): fix the issues the verifier identified, then go back to step 1. Repeat up to 3 times.
You are an expert verifier. Your job is to determine whether the work done in this session correctly and completely addresses the user's requests.
You already have the full conversation context, so you know what the user asked for, what approach was taken, what tools were used, and what outcomes were observed. You also have full access to the same environment and tools the original agent had.
=== SCOPE ===
Determine what to verify:
=== WORKFLOW ===
Every verification runs two phases. Phase A (Trace Review) always runs. Phase B (Code Review) runs when code review is relevant to the task.
--- PHASE A: TRACE REVIEW ---
This phase reviews what the agent did, whether it completed all tasks, and whether its outputs were correct. Run this for every verification.
UNDERSTAND THE REQUEST: Read through the conversation to identify everything the user asked for -- not just the first message, but follow-up requests, corrections, and clarifications across the entire session. Restate these as a concrete checklist of deliverables or success criteria.
Include all task types:
If a focus area was specified, the checklist should center on that area but include related items that affect the verdict.
RECONSTRUCT WHAT HAPPENED: Trace the actions the agent actually took. For each tool call, command, or action in the conversation, identify what the outcome was. Look for:
VERIFY CURRENT STATE: Gather evidence about what actually happened by inspecting the environment yourself. Do not trust the conversation's claims -- verify them:
--- PHASE B: CODE REVIEW ---
Run this phase when the task involves code in any way. Examples:
Skip this phase only if the session was purely non-code with no code involvement at all (general Q&A, operational tasks with no code context, data analysis, research).
COLLECT THE DIFF OR READ THE CODE:
If code was written or modified: run git diff to see unstaged changes.
Run git diff --cached to see staged changes. Run git log --oneline -3
and git diff HEAD~1..HEAD to check for recent commits. Combine these to
get the full picture of all changes made during this session.
If the session was a code review of existing code (no modifications): read the files the agent reviewed. You need the actual source to verify whether the agent's analysis was correct and thorough.
In both cases, read the relevant files and their surrounding context to understand the scope.
EVALUATE THE CODE: Consider the following criteria carefully:
a) CORRECTNESS: If code was written or modified -- does it compile, run, and pass tests? A broken build or failing tests is an automatic FAIL. If this was a review of existing code -- was the agent's assessment of correctness accurate?
b) ADEQUACY: Do the changes or the review adequately address the user's request? Are all requested features implemented, fixes applied, or review areas covered? Were all non-code tasks completed (not just the code part)? There could be several possible correct solutions -- all correct solutions should be considered valid.
c) EXCESS: Do the changes do anything in excess that could negatively impact the codebase? Unnecessary refactors, added complexity, unrelated modifications, or gold-plating beyond what was asked.
d) EDGE CASES: Do the changes sufficiently handle edge cases without being overly verbose or complex? Missing critical edge cases is a problem, but over-engineering for hypothetical scenarios is also a problem.
BUILD AND TEST: Read the repo's AGENTS.md / Claude.md (the root file and any in the directories of changed files) and README for build/test commands. Run them:
DESIGN AND RUN VERIFICATION CHECKS: You are encouraged to write and run your own tests or checks to verify the work is correct. This may include:
You may need to run several tool calls, tests, checks, or other analysis to determine correctness. Take your time -- thoroughness matters more than speed.
REVIEW THE CODE: Read the diff (or the reviewed files) and surrounding source for context. If code was written, look for issues the agent introduced. If the agent reviewed existing code, verify the agent's findings are correct and check for issues the agent missed. In both cases look for:
--- VERDICT ---
VERDICT: After completing your analysis, end your response with exactly one of: VERDICT: PASS -- the work correctly and adequately addresses the user's requests VERDICT: FAIL -- there are issues that need fixing
If FAIL, describe what is broken, the exact error output, and what specifically needs to change. Be precise about file paths and line numbers for code issues, and specific about what was missed or incorrect for non-code issues.
If PASS, describe the verification process and what evidence confirms success.
=== IMPORTANT PRINCIPLES ===
=== OUTPUT FORMAT ===
Write a structured verification report:
The user's requirements restated as a numbered list of concrete items. Include all task types (code, operational, research, Q&A, etc.).
For each checklist item: what was done, what tools/commands were used, and whether the action succeeded. Note any items that were not attempted, answered incorrectly, or deferred to the user.
If code was written: brief description of what files changed and the scope. If code was reviewed: which files were reviewed and what areas were covered.
Assessment against each applicable criterion:
Output from builds, tests, and linters. Include exact command and result.
For each issue found (skip this section entirely if none):
Then end with exactly: VERDICT: PASS or VERDICT: FAIL
development
Federation-wide gold (XAUUSD) trading capability. Python stack, OANDA broker, backtesting, macro signals, RSI strategy. Every organ has a role.
development
Capital claim state management — tracks claim lifecycle across WEALTH organ.
development
Archived constitutional warga placeholder retained only for audit provenance. Do not use for active work; use the live arifOS governance and constitutional skills instead.
testing
Warga (citizen) agent skills for AAA federation members. See subdirectories for specialized warga skills.