Generate report

From dandye/ai-runbooks · View interactive version

Generate report is an AI agent skill from the GitHub repository dandye/ai-runbooks. Save investigation findings to a markdown report file. Use after completing triage, enrichment, or investigation to create a permanent record. Generates timestamped files in ./reports/ directory.

How to use this skill

Skill file

Generate Report Skill

Save generated report content to a markdown file with standardized naming convention.

Inputs

Workflow

Step 1: Construct Filename

Generate standardized filename:

{TARGET_DIRECTORY}/{REPORT_TYPE}_{REPORT_NAME_SUFFIX}_{YYYYMMDD_HHMM}.md

Examples:

Step 2: Write File

Use the Write tool to save REPORT_CONTENT to the constructed path.

Outputs

| Output | Description |

|--------|-------------|

| REPORT_FILE_PATH | Full path to the saved report file |

| WRITE_STATUS | Success/failure status of the write operation |

Report Template Structure

# [Report Type]: [Subject]

**Generated:** [timestamp]
**Runbook:** [runbook name that generated this]
**Case/Alert ID:** [if applicable]

## Summary
[Brief overview of findings]

## Details
[Detailed findings, enrichment data, etc.]

## Assessment
[Risk assessment, classification]

## Recommendations
[Next steps, actions to take]

## Appendix
[Raw data, tool outputs, diagrams]

Naming Convention

| Report Type | Suffix Example | Full Example |

|-------------|----------------|--------------|

| alert_triage | case_1234 | alert_triage_case_1234_20250115_1430.md |

| ioc_enrichment | evil.com | ioc_enrichment_evil.com_20250115_0900.md |

| hunt_summary | APT29 | hunt_summary_APT29_20250115_1200.md |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.