Skip to content
Skillpedia
Tasks & projects7.8k · #12911

integrated-report-bundle

What it does

This skill describes a repeatable way to make a complete report package from three related files. It is for people who need data, a visual and a summary delivered together.

When to use it

  • ✓When a task needs a data spreadsheet, a visual diagram and a summary PDF for the same topic.
  • ✓When I want the files to match each other as one package.
  • ✓When the work might run into sandbox errors and needs a recovery buffer.

Skill link

https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/pdf-checklist-workflow-enhanced-a53b26/SKILL.md

Copy 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

Use this skill to help me: https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/pdf-checklist-workflow-enhanced-a53b26/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Please create a data table, a visual layout diagram and a summary PDF for our project scoring, all as one package.”

5 new skills a week. 1 minute to read.

How it works

The AI prepares the workspace, then builds the spreadsheet, diagram and PDF in phases, leaving a few attempts in reserve to fix any errors.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Integrated Report Bundle Workflow

This skill provides a reusable pattern for creating a complete report package consisting of three interconnected deliverables: a spreadsheet (data table), a diagram (visual layout), and a PDF report (summary document). Designed for resilience with explicit iteration budgeting and workspace management.

Overview

Use this workflow when you need to:

  • Generate multiple interconnected deliverables in a single task
  • Create data spreadsheets with structured tables
  • Produce visual diagrams (PNG/SVG) for layouts or workflows
  • Generate summary PDF reports with scoring or assessments
  • Manage iteration budgets across multiple components
  • Handle sandbox execution failures gracefully

Critical: Iteration Budget Allocation

Total budget must be divided across deliverables:

Deliverable Recommended Budget Purpose
Spreadsheet 8-10 iterations Data gathering, table creation, validation
Diagram 8-10 iterations Visual generation, layout refinement
PDF Report 8-10 iterations Report assembly, formatting, final output
Buffer 2-4 iterations Error recovery, verification, fixes

Never spend entire budget on one deliverable. Track iterations explicitly.

Step-by-Step Instructions

Phase 0: Workspace Preparation (1 iteration)

Before generating any deliverables, establish clean workspace state:

# Check current workspace state
ls -la /workspace/

# Create dedicated output directory
mkdir -p /workspace/deliverables

# Verify write permissions
touch /workspace/deliverables/test.tmp && rm /workspace/deliverables/test.tmp

Why: Prevents workspace path confusion that caused previous failures.

Phase 1: Spreadsheet Creation (8-10 iterations max)

Step 1.1: Choose Approach

Mode Tool Use When
A execute_code_sandbox with openpyxl/pandas Programmatic table generation
B shell_agent with Python script Complex data processing
C create_file (CSV/XLSX) Simple tabular data

Step 1.2: Generate Spreadsheet Code

Example using openpyxl:

from openpyxl import Workbook
from openpyxl.styles import Font, PatternFill, Alignment

wb = Workbook()
ws = wb.active
ws.title = "Hardware Selection"

# Headers with styling
headers = ["Component", "Model", "Qty", "Unit Price", "Total"]
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="4472C4", fill_type="solid")
    cell.font = Font(color="FFFFFF", bold=True)

# Data rows
data = [
    ["CNC Controller", "Fanuc 0i-MF", 1, 2500, 2500],
    ["Servo Motor", "SGM7G-09A", 4, 450, 1800],
    ["HMI Panel", "GT2110-WTBD", 1, 380, 380]
]

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)

# Total row
ws.cell(row=len(data)+2, column=4, value="TOTAL:")
ws.cell(row=len(data)+2, column=5, value=f"=E2:E{len(data)+1}")

# Save
output_path = '/workspace/deliverables/hardware_selection_table.xlsx'
wb.save(output_path)
print(f'ARTIFACT_PATH:{output_path}')
print('Spreadsheet created successfully')

Step 1.3: Execute and Verify

execute_code_sandbox
  code: <spreadsheet generation code>
  language: python

Verification (use 1 iteration):

run_shell
  command: ls -lh /workspace/deliverables/*.xlsx && file /workspace/deliverables/*.xlsx

If execute_code_sandbox fails with '[ERROR] unknown error':

  1. Retry once with shell_agent instead
  2. If still failing, fall back to create_file with CSV format
  3. Document the failure and proceed to next deliverable

Iteration checkpoint: After 8 iterations on spreadsheet, move to diagram regardless of completion status.

Phase 2: Diagram Generation (8-10 iterations max)

Step 2.1: Choose Diagram Type

Type Tool Best For
Flowchart graphviz + pydot Process flows, decision trees
Layout matplotlib + patches Physical layouts, workcells
Architecture diagrams library System architecture
Simple shapes PIL/Pillow Basic diagrams

Step 2.2: Generate Diagram Code

Example using matplotlib for layout diagram:

import matplotlib.pyplot as plt
import matplotlib.patches as patches

fig, ax = plt.subplots(fi
FAQ

Why reserve a few attempts?

The guide keeps a small buffer for recovery, verification and fixes.

What does the diagram phase cover?

It covers generating the visual and refining the layout.

Where are the files kept?

The workspace is prepared first so all three outputs are saved in one place.

Details

Original description by the author

Generate spreadsheet, diagram, and PDF report as a cohesive deliverable set with iteration budgeting per component

repo: HKUDS/AgentPilot

Popularity

GitHub stars
7.8k
Ranking position
#12911
License
MIT
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills