unified-deliverable-workflow
What it does
This skill is a plan for producing several related files together, with a set number of tries for each one. It is for people who need a matching spreadsheet, diagram and report.
When to use it
- ✓When one task asks for an Excel file, a diagram and a PDF report together.
- ✓When I want the work split so that no single file uses up all the available steps.
- ✓When I need the sandbox failures to be handled without losing the whole job.
Skill link
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/pdf-checklist-workflow-enhanced-780c5d/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
“Make an Excel data sheet, a process diagram and a PDF summary report for our quarterly review. Plan the steps so all three get finished.”
5 new skills a week. 1 minute to read.
How it works
The AI checks the workspace and tools first, then works through the spreadsheet, diagram and PDF in turn, with a set number of attempts for each and a small reserve for recovery.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Unified Multi-Deliverable Workflow
This skill provides a structured pattern for creating multiple document artifacts (spreadsheets, diagrams, PDF reports) in a single workflow with explicit iteration budgeting and robust error handling.
Overview
Use this workflow when you need to:
- Generate multiple related deliverables (Excel, PNG diagrams, PDF reports)
- Manage iteration budget across different artifact types
- Handle execute_code_sandbox failures gracefully
- Ensure all deliverables are completed before budget exhaustion
- Create cohesive documentation packages with cross-referenced content
Iteration Budget Template
Default Allocation (adjust based on task complexity):
| Phase | Deliverable | Iterations | Validation |
|---|---|---|---|
| 1 | Spreadsheet (.xlsx) | 8-10 | File exists, readable, correct structure |
| 2 | Diagram (.png) | 8-10 | File exists, viewable, correct dimensions |
| 3 | PDF Report (.pdf) | 8-10 | File exists, downloadable, proper formatting |
| Buffer | Error recovery | 4-6 | Retry failed phases |
Total recommended budget: 30-36 iterations
Pre-Flight Checks (Iteration 1-2)
Before generating any deliverables:
- Verify workspace path: Always use
/workspace/as base directory - Test execute_code_sandbox: Run a simple print statement to confirm tool works
- Check required libraries: Plan to install via
!pip installif needed - Standardize filenames: Use consistent naming pattern (e.g.,
projectname_deliverable.ext)
# Quick sandbox test
print("SANDBOX_OK")
print(f"WORKSPACE_PATH:/workspace")
If this fails, use run_shell as fallback for file operations.
Phase 1: Spreadsheet Creation (Iterations 3-12)
Step 1.1: Plan Structure
Define your spreadsheet structure before coding:
- Sheet names
- Column headers
- Data types
- Any formulas or formatting
Step 1.2: Write Generation Code
Using openpyxl (recommended for .xlsx):
# Install if needed
# !pip install openpyxl
from openpyxl import Workbook
from openpyxl.styles import Font, PatternFill, Alignment
wb = Workbook()
ws = wb.active
ws.title = "Data"
# Header row with styling
headers = ["Item", "Description", "Value", "Status"]
for col, header in enumerate(headers, 1):
cell = ws.cell(row=1, column=col, value=header)
cell.font = Font(bold=True)
cell.fill = PatternFill(start_color="CCCCCC", end_color="CCCCCC", fill_type="solid")
cell.alignment = Alignment(horizontal="center")
# Data rows
data = [
["Item 1", "Description 1", 100, "Complete"],
["Item 2", "Description 2", 200, "Pending"],
]
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 column in ws.columns:
max_length = 0
column_letter = column[0].column_letter
for cell in column:
try:
if len(str(cell.value)) > max_length:
max_length = len(str(cell.value))
except:
pass
adjusted_width = min(max_length + 2, 50)
ws.column_dimensions[column_letter].width = adjusted_width
# Save with standard path
output_path = "/workspace/hardware_selection_table.xlsx"
wb.save(output_path)
print(f"ARTIFACT_PATH:{output_path}")
print("SPREADSHEET_GENERATED")
Step 1.3: Execute and Validate
execute_code_sandbox
code: <your spreadsheet code>
language: python
Validation checklist:
- ARTIFACT_PATH output present
- File exists:
run_shell command: ls -lh /workspace/*.xlsx - File size > 1KB
- No error messages in output
Step 1.4: Error Recovery
| Error | Recovery Action |
|---|---|
| Library not found | Add !pip install openpyxl at code start |
| '[ERROR] unknown error' | Retry once, then try simpler code structure |
| File not created | Check path is /workspace/ not ./ or /tmp/ |
| Permission denied | Ensure no file lock from previous execution |
If 2 consecutive failures: Skip to Phase 2 and return later with reduced scope.
Phase 2: Diagram Generation (Iterations 13-22)
Step 2.1: Choose Diagram Type
| Type | Library | Best For |
|---|---|---|
| Flowchart | graphviz or matplotlib |
Process flows, decision trees |
| Layout/Diagram | matplotlib |
Physical layouts, workcell designs |
| Network/Topology | networkx + matplotlib |
System architecture |
| Simp |
FAQ
How many steps does each file get?
The guide suggests about eight to ten attempts for each file, with a few kept in reserve.
What is checked for each file?
Each file is checked to confirm it exists and is readable or viewable.
What if a file runs over its budget?
The guide says to switch to a fallback approach for that file.
Details
Original description by the author
Generate spreadsheets, diagrams, and PDF reports with iteration budgeting and error recovery
repo: HKUDS/AgentPilot
Popularity
- GitHub stars
- 7.8k
- Ranking position
- #12910
- 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.