unified-deliverables-flow
What it does
This skill sets out a phased way to create several kinds of files in one task, with a fixed budget for each phase. It is for people who need Excel, image and PDF outputs without any one of them being left out.
When to use it
- ✓When one task asks for an Excel file, an image and a PDF together.
- ✓When I want a checkpoint confirming each file exists before the next one begins.
- ✓When tool failures are likely and each file needs retries.
Skill link
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/pdf-checklist-workflow-enhanced/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
“Please make an Excel sheet, a diagram image and a PDF report, and check each file before starting the next one.”
5 new skills a week. 1 minute to read.
How it works
The AI works in phases: it prepares the workspace, makes the spreadsheet and checks it, makes the diagram and checks its size, then makes the PDF and confirms its output path.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Unified Multi-Deliverable Generation Workflow
This skill provides a structured, phased approach for creating multiple deliverable types (spreadsheets, diagrams, PDF reports) in a single cohesive workflow with explicit iteration budgeting to prevent premature exhaustion.
Overview
Use this workflow when you need to:
- Generate multiple deliverable types (Excel, images, PDFs) in one task
- Ensure balanced iteration allocation across all deliverables
- Handle tool failures gracefully with retries and fallbacks
- Produce downloadable artifacts with verified paths
Critical: Iteration Budget Allocation
Allocate iterations BEFORE starting work:
| Phase | Deliverable | Budget | Checkpoint |
|---|---|---|---|
| Phase 1 | Spreadsheet | 8 iterations | File exists + readable |
| Phase 2 | Diagram | 8 iterations | File exists + >1KB |
| Phase 3 | PDF Report | 8 iterations | File exists + ARTIFACT_PATH output |
| Buffer | Error recovery | 6 iterations | Remaining for retries |
| Total | All deliverables | 30 iterations | All verified |
Rules:
- Complete each phase before moving to the next
- If a phase exceeds budget, use fallback strategy (see below)
- Never spend >10 iterations on a single deliverable without checkpoint
- Verify each deliverable before proceeding
Step-by-Step Instructions
Phase 0: Pre-Work Setup (1 iteration max)
Define all deliverables explicitly:
Deliverable 1: hardware_selection_table.xlsx (Excel with comparison data) Deliverable 2: cnc_workcell_layout.png (PNG diagram of layout) Deliverable 3: final_report.pdf (PDF summary report)Verify workspace is accessible:
run_shell command: ls -la /workspace/ && mkdir -p /workspace/artifactsSet path variables for consistency:
- All files go to
/workspace/or/workspace/artifacts/ - Use absolute paths in all code
- Never use relative paths like
./output.xlsx
- All files go to
Phase 1: Spreadsheet Generation (Budget: 8 iterations)
Step 1.1: Choose approach
| Method | Tool | Best For |
|---|---|---|
| Direct Python | execute_code_sandbox |
Quick generation, simple tables |
| Shell agent | shell_agent |
Complex logic, error recovery |
Step 1.2: Create spreadsheet code
from openpyxl import Workbook
from openpyxl.styles import Font, Alignment, Border, Side
def create_hardware_table():
wb = Workbook()
ws = wb.active
ws.title = "Hardware Selection"
# Headers with styling
headers = ["Component", "Option A", "Option B", "Option C", "Recommendation"]
for col, header in enumerate(headers, 1):
cell = ws.cell(row=1, column=col, value=header)
cell.font = Font(bold=True)
cell.alignment = Alignment(horizontal='center')
# Data rows
data = [
["Controller", "PLC-X100 ($500)", "PLC-Y200 ($650)", "PLC-Z300 ($800)", "PLC-Y200"],
["Motor", "Servo-500W ($300)", "Servo-750W ($400)", "Stepper-1kW ($250)", "Servo-750W"],
["Sensor", "Proximity-S1 ($50)", "Vision-V2 ($200)", "Laser-L3 ($150)", "Vision-V2"]
]
for row_idx, row_data in enumerate(data, 2):
for col_idx, value in enumerate(row_data, 1):
ws.cell(row=row_idx, column=col_idx, value=value)
# Auto-adjust column widths
for col in ws.columns:
max_length = max(len(str(cell.value)) for cell in col if cell.value)
ws.column_dimensions[col[0].column_letter].width = min(max_length + 2, 25)
output_path = '/workspace/hardware_selection_table.xlsx'
wb.save(output_path)
print(f'SUCCESS: Spreadsheet created at {output_path}')
print(f'ARTIFACT_PATH:{output_path}')
return output_path
create_hardware_table()
Step 1.3: Execute with verification
execute_code_sandbox
code: <spreadsheet code from Step 1.2>
language: python
Step 1.4: Verify (REQUIRED before proceeding)
run_shell
command: ls -lh /workspace/*.xlsx && python3 -c "import openpyxl; openpyxl.load_workbook('/workspace/hardware_selection_table.xlsx')"
Checkpoint criteria:
- ✓ File exists
- ✓ Size > 1KB
- ✓ No errors opening file
- ✗ If failed, retry once with shell_agent, then proceed to Phase 2 with note
Phase 2: Diagram Generation (Budget: 8 iterations)
Step 2.1: Choose diagram type and tool
| Diagram Type | Tool | Library |
|---|---|---|
| Flowchart/Bl |
FAQ
What is checked for the diagram?
The guide checks that the image file exists and is larger than a minimal size.
What is checked for the PDF?
The guide checks that the file exists and that the output path was printed.
What happens if a phase runs over?
The guide says to use the fallback strategy for that phase.
Details
Original description by the author
Generate spreadsheets, diagrams, and PDF reports in a phased workflow with explicit iteration budgets and error recovery
repo: HKUDS/AgentPilot
Popularity
- GitHub stars
- 7.8k
- Ranking position
- #12912
- 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
knowledge-capture
394kTeaches your agent to save decisions, preferences, and key facts to your Knowledge vault as short notes with source attribution.
knowledge-claim-consolidation
394kHelps your agent tidy a Knowledge vault by merging duplicate claims, moving them to the right subject pages, and retiring outdated ones.
knowledge-correct
394kLets your agent fix or withdraw a specific saved Knowledge claim or page at your request, keeping a record of what changed.