← back to The Ai Factory
output/run-5/sql-tldr-summarizer/SKILL.md
40 lines
---
name: sql-tldr-summarizer
description: Generates a 3-bullet executive summary from SQL query results when triggered by pasted SQL output and a "TLDR" request. Triggers include "TLDR", "summarize this", "executive summary", or "3 bullet points".
---
# SQL TLDR Summarizer
## When to use
- Paste SQL output and request a summary
- Ask for "executive summary" with SQL data
- Demand "3 bullet points" from SQL results
## How to summarize
1. Parse the SQL result table or output
2. Identify:
- (1) Headline number/finding (e.g., "Total sales: $1.2M")
- (2) Notable trend or comparison (e.g., "Q2 revenue up 18% YoY")
- (3) Outlier or caveat (e.g., "30% of regions below target")
3. Format as 3 bullets, each ≤20 words, leading with the metric
## Example
**Input:**
```
| Region | Sales |
|--------|--------|
| North | 450000 |
| South | 750000 |
| East | 250000 |
```
**Output:**
- Total sales: $1.4M across regions
- South region leads with 750k sales (54% of total)
- East region underperforms with 250k sales (18% of total)
## Out of scope
- Execute SQL queries
- Modify original data
- Handle non-SQL content