task-verification-checkpoints
Skill này làm gì
Skill này cho AI agent ba bước kiểm tra trước khi kết thúc một nhiệm vụ. Nó dành cho những người muốn sản phẩm cuối khớp với yêu cầu về định dạng, file và mục đích.
Khi nào nên dùng
- ✓Khi nhiệm vụ yêu cầu một định dạng file cụ thể như PDF, PPTX hoặc DOCX.
- ✓Khi nhiều file tham khảo được cung cấp và mỗi file phải được sử dụng.
- ✓Khi có nguy cơ agent đã lệch khỏi nhiệm vụ gốc trong lúc làm việc.
Liên kết skill
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/task-verification-checkpoints/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Trước khi kết thúc, hãy kiểm tra đầu ra là file PDF, bạn đã dùng cả ba file đính kèm, và nó vẫn trả lời câu hỏi ban đầu của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc lại nhiệm vụ để tìm yêu cầu định dạng và xác nhận phần mở rộng và loại của từng file đầu ra. Nó liệt kê các file tham khảo và xác nhận từng file đã được xử lý, rồi so sánh đầu ra cuối với mục tiêu ban đầu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 |
Câu hỏi thường gặp
Kiểm tra định dạng là gì?
Nó so sánh loại file của mỗi đầu ra với định dạng mà nhiệm vụ yêu cầu.
Các file tham khảo được kiểm tra thế nào?
Agent liệt kê mọi file được nhắc đến trong nhiệm vụ và xác nhận từng file đã được xử lý.
Điểm kiểm tra thứ ba là gì?
Nó kiểm tra công việc vẫn khớp với mục tiêu ban đầu, nên không đi lạc đề.
Chi tiết
Mô tả gốc của tác giả
Verify output format, file coverage, and task alignment before completing
repo: HKUDS/AgentPilot
Độ phổ biến
- Sao GitHub
- 7.8k
- Vị trí xếp hạng
- #13023
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agentpilot
7.8kGiúp agent của bạn cải thiện dự án từng bước bằng cách chuẩn bị tác vụ và chạy vòng lặp AgentPilot, gồm đề xuất, kiểm thử và chấm điểm thay đổi.
openspace
7.8kGiúp agent của bạn thiết lập OpenSpace, công cụ lưu và lấy lại skill của agent, rồi kết nối nó với ứng dụng AI của bạn qua MCP.
rsi-arena
7.8kGiúp agent của bạn thiết lập và chạy các bài kiểm thử benchmark AI chuẩn, như AIME và Terminal-Bench, để so sánh các phương pháp cải tiến khác nhau.
experiment-guide
7.8kGiúp agent của bạn lên kế hoạch các thí nghiệm nhỏ, đọc kết quả và ghi lại phát hiện khi tìm cách cải thiện một chương trình.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.