Logo di Integrated Report Bundle

Integrated Report Bundle

OrganizzazionePopolare
HKUDS
integrated-report-bundle

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

Panoramica

AutoreHKUDS
RepositoryOpenSpace
Nome della skillintegrated-report-bundle
Stelle
7.8K
Fork
923
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da HKUDS su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Integrated Report Bundle in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/pdf-checklist-workflow-enhanced-a53b26
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HKUDS/OpenSpace.git /tmp/OpenSpace
mkdir -p .claude/skills
cp -r /tmp/OpenSpace/benchmarks/gdpval/skills/pdf-checklist-workflow-enhanced-a53b26 .claude/skills/integrated-report-bundle
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Integrated Report Bundle in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Integrated Report Bundle non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Integrated Report Bundle non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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:

DeliverableRecommended BudgetPurpose
Spreadsheet8-10 iterationsData gathering, table creation, validation
Diagram8-10 iterationsVisual generation, layout refinement
PDF Report8-10 iterationsReport assembly, formatting, final output
Buffer2-4 iterationsError 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:

bash
# 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
ModeToolUse When
Aexecute_code_sandbox with openpyxl/pandasProgrammatic table generation
Bshell_agent with Python scriptComplex data processing
Ccreate_file (CSV/XLSX)Simple tabular data
Step 1.2: Generate Spreadsheet Code

Example using openpyxl:

python
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):

bash
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
TypeToolBest For
Flowchartgraphviz + pydotProcess flows, decision trees
Layoutmatplotlib + patchesPhysical layouts, workcells
Architecturediagrams librarySystem architecture
Simple shapesPIL/PillowBasic diagrams
Step 2.2: Generate Diagram Code

Example using matplotlib for layout diagram:

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

fig, ax = plt.subplots(figsize=(12, 8))
ax.set_xlim(0, 100)
ax.set_ylim(0, 80)
ax.set_aspect('equal')
ax.axis('off')

# Title
ax.text(50, 75, 'CNC Workcell Layout', fontsize=16, ha='center', 
        fontweight='bold', bbox=dict(boxstyle='round', facecolor='wheat'))

# CNC Machine
cnc = patches.Rectangle((10, 30), 25, 20, linewidth=2, 
                        edgecolor='darkblue', facecolor='lightblue',
                        label='CNC Machine')
ax.add_patch(cnc)
ax.text(22.5, 40, 'CNC\nMachine', ha='center', va='center', fontsize=10)

# Robot Arm
robot = patches.Circle((50, 40), 8, linewidth=2,
                       edgecolor='darkgreen', facecolor='lightgreen',
                       label='Robot')
ax.add_patch(robot)
ax.text(50, 40, 'Robot', ha='center', va='center', fontsize=10)

# Material Storage
storage = patches.Rectangle((70, 30), 20, 20, linewidth=2,
                           edgecolor='darkred', facecolor='lightcoral',
                           label='Storage')
ax.add_patch(storage)
ax.text(80, 40, 'Material\nStorage', ha='center', va='center', fontsize=9)

# Arrows showing flow
ax.annotate('', xy=(35, 40), xytext=(42, 40),
           arrowprops=dict(arrowstyle='->', color='gray', lw=2))
ax.annotate('', xy=(58, 40), xytext=(65, 40),
           arrowprops=dict(arrowstyle='->', color='gray', lw=2))

# Legend
ax.legend(loc='upper right', bbox_to_anchor=(0.98, 0.98))

# Save
output_path = '/workspace/deliverables/cnc_workcell_layout.png'
plt.savefig(output_path, dpi=150, bbox_inches='tight')
print(f'ARTIFACT_PATH:{output_path}')
print('Diagram created successfully')
Step 2.3: Execute and Verify
execute_code_sandbox
  code: <diagram generation code>
  language: python

Verification:

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

If execute_code_sandbox fails:

  1. First retry: Simplify the diagram (remove complex elements)
  2. Second retry: Use shell_agent with explicit matplotlib installation
  3. Third retry: Create ASCII/text-based diagram as fallback
  4. Document and proceed (diagram is often optional compared to PDF)

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

Phase 3: PDF Report Generation (8-10 iterations max)

Step 3.1: Choose PDF Library
LibraryBest ForInstallation
fpdf2Simple reports, quick setup!pip install fpdf2
reportlabProfessional reports, tables!pip install reportlab
matplotlibChart-heavy reportsBuilt-in
Step 3.2: Generate PDF Code

Example using fpdf2 (simplest, most reliable):

python
from fpdf import FPDF

class ReportPDF(FPDF):
    def header(self):
        self.set_font('Arial', 'B', 14)
        self.cell(0, 10, 'Project Assessment Report', 0, 1, 'C')
        self.line(10, 20, 200, 20)
        self.ln(10)
    
    def footer(self):
        self.set_y(-15)
        self.set_font('Arial', 'I', 8)
        self.cell(0, 10, f'Page {self.page_no()}', 0, 0, 'C')
    
    def section(self, title):
        self.set_font('Arial', 'B', 12)
        self.set_fill_color(200, 220, 255)
        self.cell(0, 8, title, 0, 1, 'L', 1)
        self.ln(3)
    
    def add_table_row(self, col1, col2, col3):
        self.set_font('Arial', '', 10)
        self.cell(60, 8, col1, 1)
        self.cell(80, 8, col2, 1)
        self.cell(40, 8, col3, 1)
        self.ln()

pdf = ReportPDF()
pdf.add_page()
pdf.set_auto_page_break(auto=True, margin=15)

# Executive Summary
pdf.section('Executive Summary')
pdf.set_font('Arial', '', 11)
pdf.multi_cell(0, 7, 'This report provides a comprehensive assessment of the CNC workcell implementation project, including hardware selection, layout design, and cost analysis.')
pdf.ln(5)

# Hardware Selection Summary
pdf.section('Hardware Selection')
pdf.add_table_row('Component', 'Model', 'Cost')
pdf.add_table_row('CNC Controller', 'Fanuc 0i-MF', '$2,500')
pdf.add_table_row('Servo Motors', 'SGM7G-09A (x4)', '$1,800')
pdf.add_table_row('HMI Panel', 'GT2110-WTBD', '$380')
pdf.ln(5)

# Assessment Scores
pdf.section('Assessment Scores')
pdf.add_table_row('Criteria', 'Description', 'Score')
pdf.add_table_row('Completeness', 'All requirements addressed', '8/10')
pdf.add_table_row('Feasibility', 'Technical implementation possible', '9/10')
pdf.add_table_row('Cost Efficiency', 'Within budget constraints', '7/10')
pdf.ln(5)

# Conclusion
pdf.section('Conclusion')
pdf.multi_cell(0, 7, 'The proposed CNC workcell meets all critical requirements with a recommended implementation approach. Total estimated cost: $4,680.')

# Save
output_path = '/workspace/deliverables/assessment_report.pdf'
pdf.output(output_path)
print(f'ARTIFACT_PATH:{output_path}')
print('PDF report created successfully')
Step 3.3: Execute and Verify
execute_code_sandbox
  code: <PDF generation code>
  language: python

Verification (critical - use read_file):

read_file
  filetype: pdf
  file_path: /workspace/deliverables/assessment_report.pdf

Alternative verification:

bash
run_shell
  command: ls -lh /workspace/deliverables/*.pdf && pdftk /workspace/deliverables/*.pdf dump_data 2>/dev/null | head -20

Phase 4: Final Bundle Verification (2-4 iterations)

Verify all deliverables exist and are valid:

bash
run_shell
  command: |
    echo "=== Deliverable Bundle Verification ==="
    echo ""
    echo "Spreadsheet:"
    ls -lh /workspace/deliverables/*.xlsx 2>/dev/null || echo "  NOT FOUND"
    echo ""
    echo "Diagram:"
    ls -lh /workspace/deliverables/*.png 2>/dev/null || echo "  NOT FOUND"
    echo ""
    echo "PDF Report:"
    ls -lh /workspace/deliverables/*.pdf 2>/dev/null || echo "  NOT FOUND"
    echo ""
    echo "=== Bundle Complete ==="

Checklist:

  • At least 2 of 3 deliverables created
  • All files > 1KB (not empty)
  • ARTIFACT_PATH outputs visible in execution logs
  • No unresolved execute_code_sandbox errors

Error Handling Matrix

Error TypeDetectionRecovery ActionMax Retries
[ERROR] unknown error (execute_code_sandbox)Error in tool outputSwitch to shell_agent or simplify code2
File not foundVerification step failsCheck path, re-run generation1
Library not installedImportError in outputAdd !pip install at code start1
Empty file (0 bytes)ls -lh shows 0 sizeRegenerate with error handling1
Iteration budget exceededIteration count reachedDocument partial completion, proceedN/A

Workspace Path Convention

Always use: /workspace/deliverables/filename.extension

Never use:

  • /workspace/filename.extension (root clutter)
  • ./filename.extension (ambiguous)
  • filename.extension (missing path)

Template: Quick Start All Three Deliverables

Use this template structure to generate all three deliverables efficiently:

python
# DELIVERABLE 1: Spreadsheet
import openpyxl
wb = openpyxl.Workbook()
ws = wb.active
ws['A1'] = 'Header'
wb.save('/workspace/deliverables/data.xlsx')
print('ARTIFACT_PATH:/workspace/deliverables/data.xlsx')

# DELIVERABLE 2: Diagram  
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.text(0.5, 0.5, 'Diagram')
plt.savefig('/workspace/deliverables/diagram.png')
print('ARTIFACT_PATH:/workspace/deliverables/diagram.png')

# DELIVERABLE 3: PDF
from fpdf import FPDF
pdf = FPDF()
pdf.add_page()
pdf.set_font('Arial', '', 12)
pdf.cell(0, 10, 'Report')
pdf.output('/workspace/deliverables/report.pdf')
print('ARTIFACT_PATH:/workspace/deliverables/report.pdf')

Iteration Tracking Template

Track your iteration usage explicitly:

Iteration Log:
- Iteration 1-2: Workspace preparation
- Iteration 3-10: Spreadsheet creation (8 used)
- Iteration 11-18: Diagram generation (8 used)
- Iteration 19-26: PDF report (8 used)
- Iteration 27-30: Bundle verification (4 buffer)
Total: 30 iterations

Best Practices

  1. Budget discipline - Never exceed 10 iterations on any single deliverable
  2. Early verification - Verify each deliverable before moving to next phase
  3. Graceful degradation - If one deliverable fails, complete the others
  4. Consistent paths - Always use /workspace/deliverables/ prefix
  5. ARTIFACT_PATH output - Essential for download capability
  6. Error logging - Document failures and recovery actions taken
  7. Fallback strategies - Have alternative approaches ready for each deliverable type

Related Tools

  • execute_code_sandbox - Primary tool for all code generation
  • shell_agent - Fallback when execute_code_sandbox fails repeatedly
  • read_file - Verify PDF content (filetype: pdf, xlsx, png)
  • run_shell - Check file existence, sizes, and workspace state
  • create_file - Fallback for simple data files
  • list_dir - Verify deliverables directory contents

Anti-Patterns to Avoid

  1. Don't spend all iterations on one deliverable
  2. Don't ignore execute_code_sandbox errors - address immediately
  3. Don't use inconsistent paths across deliverables
  4. Don't skip verification steps
  5. Don't assume a deliverable succeeded without checking

Success Criteria

A successful execution produces:

  • Minimum 2 of 3 deliverables (spreadsheet, diagram, PDF)
  • All deliverables in /workspace/deliverables/
  • Valid, non-empty files (>1KB each)
  • Clear ARTIFACT_PATH outputs in execution logs
  • Iteration budget not exceeded

*** End Files

Domande frequenti

Cosa fa la skill IA Integrated Report Bundle?

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

Perché usare Integrated Report Bundle su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Integrated Report Bundle è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Integrated Report Bundle in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/pdf-checklist-workflow-enhanced-a53b26. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Integrated Report Bundle?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Integrated Report Bundle?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Integrated Report Bundle: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Integrated Report Bundle è gratuita?

Sì. È pubblicata su GitHub da HKUDS con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇