task-verification-checkpoints
What it does
This skill gives the AI agent three checks to run before it finishes a task. It is for people who want the deliverable to match the request in format, files and purpose.
When to use it
- ✓When the task asks for a specific file format such as PDF, PPTX or DOCX.
- ✓When several reference files were provided and each one must be used.
- ✓When there is a risk the agent drifted from the original task while working.
Skill link
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/task-verification-checkpoints/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Before you finish, check that the output is a PDF, that you used all three attached files, and that it still answers my original question.”
5 new skills a week. 1 minute to read.
How it works
The agent re-reads the task for format requirements and confirms each output file's extension and type. It lists the reference files and confirms each was processed, and it compares the final output with the original goal.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Task Verification Checkpoints
Before declaring a task as <COMPLETE>, perform these verification checks to ensure the deliverable matches requirements and prevents wrong-task completion.
Overview
This skill prevents common failures where agents:
- Create outputs in wrong formats (PDF vs PPTX vs DOCX)
- Skip processing some reference files
- Drift from the actual task requirements
Three Critical Checkpoints
Checkpoint 1: Output Format Verification
Question: Does the output file format match task requirements?
Actions:
- Re-read the task prompt for explicit format requirements
- Check file extensions of all output files
- Verify the actual file type matches the extension
- Confirm against any format specifications (e.g., "revised PDF report")
Example validation:
def verify_output_format(task_prompt, output_files):
"""Check if output format matches task requirements."""
required_format = extract_format_requirement(task_prompt) # e.g., 'pdf', 'pptx'
for f in output_files:
actual_ext = f.split('.')[-1].lower()
if actual_ext != required_format:
return False, f"Expected .{required_format}, got .{actual_ext}"
return True, "Format verified"
Checkpoint 2: Reference File Coverage
Question: Were ALL reference/input files processed?
Actions:
- List all files mentioned in the task as inputs
- Confirm each was read/analyzed/used (check file access logs)
- Document which content from each file contributed to output
- Flag any unprocessed reference files
Example validation:
def verify_reference_coverage(task_files, accessed_files):
"""Ensure all reference files were actually processed."""
missing = set(task_files) - set(accessed_files)
if missing:
return False, f"Unprocessed files: {missing}"
return True, "All references processed"
Checkpoint 3: Task Alignment Verification
Question: Does the deliverable address the ACTUAL task prompt?
Actions:
- Re-read the original task description verbatim
- Compare output purpose against stated task goal
- Check for scope creep or task drift
- Verify the output solves the stated problem (not a different one)
Example validation:
def verify_task_alignment(task_prompt, output_description):
"""Confirm output addresses the actual task."""
task_verbs = extract_action_verbs(task_prompt) # e.g., 'review', 'revise', 'create'
output_verbs = extract_action_verbs(output_description)
if not set(task_verbs).issubset(set(output_verbs)):
return False, "Output actions don't match task requirements"
return True, "Task alignment verified"
Pre-Completion Checklist
Execute this checklist before marking ANY task complete:
def pre_completion_verification(task_prompt, output_files, reference_files):
"""
Complete verification before declaring task done.
Returns (success, message) tuple.
"""
checks = []
# Check 1: Format
format_ok, format_msg = verify_output_format(task_prompt, output_files)
checks.append(('Format', format_ok, format_msg))
# Check 2: Coverage
coverage_ok, coverage_msg = verify_reference_coverage(reference_files, get_accessed_files())
checks.append(('Coverage', coverage_ok, coverage_msg))
# Check 3: Alignment
alignment_ok, alignment_msg = verify_task_alignment(task_prompt, get_output_summary())
checks.append(('Alignment', alignment_ok, alignment_msg))
# Report results
all_passed = all(ok for _, ok, _ in checks)
if not all_passed:
print("❌ VERIFICATION FAILED - Do not mark complete")
for name, ok, msg in checks:
status = "✓" if ok else "✗"
print(f" {status} {name}: {msg}")
return False, "Verification failed"
print("✓ All verification checkpoints passed")
return True, "Ready for completion"
When to Apply
Use this skill whenever:
- Creating deliverables from input/reference files
- Task specifies output format requirements
- Multiple files must be processed/analyzed
- Task involves transformation, revision, or synthesis
- Always before any
<COMPLETE>declaration
Common Failure Modes to Catch
| Failure Type | Example | Prevention |
|---|---|---|
| Format mismatch | Created PPTX when PDF requested | Checkpoint 1 |
| Incomplete coverage | Skipped Photographs.zi |
FAQ
What is the format check?
It compares the file type of each output with the format the task asked for.
How are reference files checked?
The agent lists every file mentioned in the task and confirms each was processed.
What is the third checkpoint?
It checks that the work still matches the original task, so it is not off-topic.
Details
Original description by the author
Verify output format, file coverage, and task alignment before completing
repo: HKUDS/AgentPilot
Popularity
- GitHub stars
- 7.8k
- Ranking position
- #13023
- License
- MIT
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
agentpilot
7.8kHelps your agent improve a project step by step by preparing a task and running the AgentPilot loop that proposes, tests and scores changes.
openspace
7.8kHelps your agent set up OpenSpace, a tool that stores and fetches agent skills, and connect it to your AI app through MCP.
rsi-arena
7.8kHelps your agent set up and run standard AI benchmark tests, such as AIME and Terminal-Bench, to compare different improvement methods.
experiment-guide
7.8kHelps your agent plan small experiments, read their results and record findings while it investigates how to improve a program.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.