verify-all-deliverables
它能做什么
这项技能让智能体在开始工作前列出所有交付物,并在结束后逐一检查。适合需要多个文件的任务,例如一份表格加一份文档。
适用场景
- ✓当任务需要多个输出文件,例如表格和报告的时候。
- ✓当报告加摘要,或数据文件加图表都必须交付的时候。
- ✓当智能体有可能在所有文件生成之前就标记任务完成的风险时。
技能链接
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/verify-all-deliverables/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我需要一份表格、一份摘要文档和一张图表图片。请先列出它们,然后逐一制作,并在完成前确认每个文件都已存在且有内容。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体在任何工作开始之前,先写出所需文件的清单。它依次创建每个文件,并用列表命令检查每个文件是否存在且大小不为零。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Verify All Deliverables Before Completion
Purpose
This skill prevents premature task completion in multi-deliverable workflows by ensuring every required output file is created, verified to exist with non-zero size, and confirmed before declaring <COMPLETE>.
When to Use
Use this skill when a task requires creating multiple output files (e.g., spreadsheet + document, report + summary, data file + visualization).
Instructions
Step 1: Identify All Deliverables Upfront
CRITICAL CHECKPOINT: Do not proceed to Step 2 until this step produces visible output.
Before starting any file creation, you MUST output a complete deliverable list in this exact format:
REQUIRED DELIVERABLES CHECKLIST:
☐ [filename1.extension] - [brief description]
☐ [filename2.extension] - [brief description]
☐ [filename3.extension] - [brief description]
This checklist must appear as visible text in your output before executing any file creation commands. Track completion by updating checkboxes (☐ → ☑) as each file is created.
Step 2: Create Each Deliverable in Sequence
Execute the creation of each file one at a time. Do not proceed to the next step until the current file creation command has completed.
Step 3: Verify Each File After Creation
After creating each file, immediately verify it exists and has non-zero size:
ls -la [filename.extension]
Expected output should show file size > 0 bytes. If size is 0 or file is missing, troubleshoot before proceeding.
Step 4: Final Verification Before Completion
Before declaring <COMPLETE>, run a final verification of ALL deliverables:
ls -la file1.ext file2.ext file3.ext
Or use a loop for many files:
for file in file1.ext file2.ext file3.ext; do
if [ -s "$file" ]; then
echo "✓ $file exists ($(stat -c%s "$file") bytes)"
else
echo "✗ $file missing or empty"
exit 1
fi
done
Step 5: Only Then Declare Complete
Only output <COMPLETE> after all files have been verified with non-zero size.
Common Pitfalls
| Pitfall | Prevention |
|---|---|
| Creating only some deliverables | List all deliverables upfront and track completion |
| Not verifying file sizes | Always run ls -la after each file creation |
| Declaring complete too early | Final verification step is mandatory |
| Assuming success without checking | Explicitly check each file before proceeding |
Example Workflow
Task: Create tracking spreadsheet and email template document
1. Identify deliverables:
- June_2025_Declined_Payments_Outreach.xlsx
- Email_Template.docx
2. Create spreadsheet → verify with ls -la → confirm size > 0
3. Create Word document → verify with ls -la → confirm size > 0
4. Final check: ls -la *.xlsx *.docx → confirm both files present
5. Only then: <COMPLETE>
常见问题
清单是什么样的?
它列出每个所需文件名和简短说明,每个文件制作完成后打勾。
每个文件如何验证?
智能体列出文件,确认其存在且大小大于零。
智能体会并行制作文件吗?
不会,技能要求依次制作每个交付物,并在进入下一个之前先进行验证。
详情
作者的原始描述
Ensure all required output files are created and verified before marking a task complete
repo: HKUDS/AgentPilot
热度
- GitHub 星标
- 7.8k
- 排名
- #13025
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
agentpilot
7.8k帮你的智能体准备任务并运行 AgentPilot 循环,逐步改进项目:循环会提出修改、测试修改并为其打分。
openspace
7.8k帮你的智能体设置 OpenSpace,这是一个用于存储和获取智能体技能的工具,并通过 MCP 将其连接到你的 AI 应用。
rsi-arena
7.8k帮你的智能体设置并运行标准 AI 基准测试,例如 AIME 和 Terminal-Bench,用来比较不同的改进方法。
experiment-guide
7.8k帮你的智能体规划小型实验、阅读实验结果并记录发现,同时研究如何改进一个程序。