task-verification-checkpoints
できること
このスキルは、AIエージェントが作業を終える前に行う3つの確認を示します。成果物が形式、ファイル、目的の面で依頼に合っていてほしい人向けです。
使う場面
- ✓PDF、PPTX、DOCXなど、特定のファイル形式が求められているとき。
- ✓複数の参照ファイルが渡され、それぞれを使う必要があるとき。
- ✓作業中にエージェントが元のタスクから外れたおそれがあるとき。
スキルのリンク
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/task-verification-checkpoints/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“終える前に、出力がPDFであること、添付の3つのファイルすべてを使ったこと、そして元の質問に今も答えていることを確認してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、タスクの形式の要件を読み直し、各出力ファイルの拡張子と種類を確認します。参照ファイルを一覧にして、それぞれが処理されたかを確かめ、最終的な出力を元の目的と比べます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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 |
よくある質問
形式の確認とは何ですか?
各出力の種類を、タスクが求める形式と比べて確認します。
参照ファイルはどのように確認されますか?
エージェントは、タスクに記載されたすべてのファイルを一覧にし、それぞれが処理されたかを確認します。
3つ目の確認は何ですか?
作業が元の目的と一致しているか、話題から外れていないかを確認します。
詳細
作者による元の説明
Verify output format, file coverage, and task alignment before completing
repo: HKUDS/AgentPilot
人気
- GitHubのスター
- 7.8k
- ランキング
- #13023
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
agentpilot
7.8kエージェントが、作業を準備し、変更案を提案してテストし、評価するAgentPilotのループを実行することで、プロジェクトを段階的に改善できるよう支援します。
openspace
7.8kエージェントが、スキルを保存し取り出すツールであるOpenSpaceをセットアップし、MCPを通じてAIアプリに接続できるよう支援します。
rsi-arena
7.8kエージェントが、AIMEやTerminal-Benchなどの標準的なAIベンチマークテストをセットアップして実行し、異なる改善方法を比較できるよう支援します。
experiment-guide
7.8kエージェントが、プログラムを改善する方法を調べる間に、小さな実験を計画し、その結果を読み、発見を記録できるよう支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。