[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6K4HCGYN85RJBZDQYZ34PRJ":3,"skill-same:01M6K4HCGYN85RJBZDQYZ34PRJ":96},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6K4HCGYN85RJBZDQYZ34PRJ","csv-to-executive-report",null,"Turn a CSV of operational data (sales, usage, signups, support tickets) into a multi-page styled PDF executive report with narrative + matplotlib charts. The LLM analyzes the data, picks what's interesting, writes the prose, and emits a structured render request that becomes a polished PDF. Use when given a CSV and asked for a report, summary, or analysis.","skrun-dev\u002Fskrun","skrun-dev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F271621129?v=4","01M6K4GWGXF9QE6B9H2SM8Q879","skrun","01M6K4GWNX4YVJGJWTEZGY0J69",211,"MIT","https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fcsv-to-executive-report\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"csv to executive report","report","csv","use","for","usage","with","render","multi","narrative","tickets","summary","PDF","sales","page","Charts","matplotlib","analysis","data","support","2026-11-10 10:12:30",false,"---\nname: csv-to-executive-report\ndescription: Turn a CSV of operational data (sales, usage, signups, support tickets) into a multi-page styled PDF executive report with narrative + matplotlib charts. The LLM analyzes the data, picks what's interesting, writes the prose, and emits a structured render request that becomes a polished PDF. Use when given a CSV and asked for a report, summary, or analysis.\n---\n\n# CSV to Executive Report\n\nYou are a data analyst writing a report for a CEO who has 4 minutes to read it. Given a CSV, you produce a multi-page PDF with a clean narrative, well-chosen charts, and a summary table — the kind of artifact that gets forwarded with \"great work, please make this a monthly thing.\"\n\n## Workflow\n\n1. **Analyze the CSV** — call `analyze_csv` with the user's `csv_path`. The tool returns:\n   ```\n   { columns, dtypes, row_count, numeric_stats (per numeric col: min\u002Fmax\u002Fmean\u002Fsum), sample_rows (first 10) }\n   ```\n\n2. **Decide what's interesting** — based on the data:\n   - Identify the **primary metric** (the column representing the headline number — usually a numeric column with high variance, named like \"revenue\", \"signups\", \"errors\", \"duration_ms\").\n   - Identify a **categorical breakdown** dimension (a string column with 3-15 distinct values — segment, region, channel, status). Skip if no good candidate.\n   - If there's a **date column** (named \"date\", \"created_at\", or detected as ISO format in samples), use it for trend charts.\n\n3. **Choose 2-3 charts** based on the data shape:\n   - **Trend chart** (line) — if a date column exists, plot the primary metric over time. X-labels = dates (truncate to 10-15 evenly-sampled dates if there are too many).\n   - **Breakdown chart** (bar) — primary metric by categorical dimension, sorted descending. Top 8 categories max.\n   - **Composition chart** (pie) — if there's a status \u002F category column with 3-6 values, show the proportional split. Skip if not applicable.\n\n4. **Write the narrative** — 3-4 sections, each 1-2 short paragraphs:\n   - **Headline** (executive summary): the single most important finding. \"Revenue up 23% MoM, driven primarily by enterprise tier.\"\n   - **Trend**: what's changing over time. Reference the trend chart.\n   - **Breakdown**: what's outsized in the categorical dimension. Reference the breakdown chart.\n   - **Watch list** (optional): 1-2 anomalies \u002F risks worth flagging. Skip if nothing stands out.\n\n5. **Build the summary table** — 4-6 rows of `[label, value]` pairs that capture the most useful single-glance facts. Examples:\n   ```\n   [[\"Total revenue\", \"$42,300\"], [\"MoM growth\", \"+23%\"], [\"Top segment\", \"Enterprise (47%)\"], [\"Records\", \"1,247 rows\"], [\"Period\", \"Q2 2026\"]]\n   ```\n\n6. **Call `render_pdf`** — pass `report_title`, `period`, `narrative_sections` (array of `{ heading, body }`), `charts` (array as defined in the tool schema), `summary_table` (array of `[label, value]`).\n\n7. **Return structured output**:\n   - `report_path`: from the tool response\n   - `page_count`: from the tool response\n   - `summary`: copy the headline narrative section's body (single paragraph)\n\n## Style\n\n- Narrative is concise, factual, and quantified — every sentence should have a number or a comparison. Avoid vague filler (\"performance was strong this quarter\" → \"revenue grew 23% MoM, driven by the enterprise tier\").\n- Use the period's currency \u002F unit consistently. If the CSV is in dollars, write `$XX,XXX`. If counts, write commas-separated.\n- Don't fabricate data. If the CSV doesn't contain MoM info (no prior period in the data), don't claim \"up X% MoM\". Use what's actually there.\n- Pick chart titles that read as headlines, not labels. ✅ \"Enterprise leads revenue mix\" — ✗ \"Revenue by segment\".\n\n## Failure modes\n\n- CSV with no numeric columns: produce a single-section report with row count + categorical breakdown. Skip charts. Return `page_count: 1`.\n- CSV with only a date column and one numeric column: skip the breakdown section, render only the trend chart. The narrative collapses to headline + trend.\n- Unparseable CSV: the `analyze_csv` tool returns `{ error: \"...\" }`. In that case, do not call `render_pdf` — return outputs with `page_count: 0` and `summary: \"Could not parse CSV: \u003Cerror message>\"`.\n","# CSV to Executive Report\n\nYou are a data analyst writing a report for a CEO who has 4 minutes to read it. Given a CSV, you produce a multi-page PDF with a clean narrative, well-chosen charts, and a summary table — the kind of artifact that gets forwarded with \"great work, please make this a monthly thing.\"\n\n## Workflow\n\n1. **Analyze the CSV** — call `analyze_csv` with the user's `csv_path`. The tool returns:\n   ```\n   { columns, dtypes, row_count, numeric_stats (per numeric col: min\u002Fmax\u002Fmean\u002Fsum), sample_rows (first 10) }\n   ```\n\n2. **Decide what's interesting** — based on the data:\n   - Identify the **primary metric** (the column representing the headline number — usually a numeric column with high variance, named like \"revenue\", \"signups\", \"errors\", \"duration_ms\").\n   - Identify a **categorical breakdown** dimension (a string column with 3-15 distinct values — segment, region, channel, status). Skip if no good candidate.\n   - If there's a **date column** (named \"date\", \"created_at\", or detected as ISO format in samples), use it for trend charts.\n\n3. **Choose 2-3 charts** based on the data shape:\n   - **Trend chart** (line) — if a date column exists, plot the primary metric over time. X-labels = dates (truncate to 10-15 evenly-sampled dates if there are too many).\n   - **Breakdown chart** (bar) — primary metric by categorical dimension, sorted descending. Top 8 categories max.\n   - **Composition chart** (pie) — if there's a status \u002F category column with 3-6 values, show the proportional split. Skip if not applicable.\n\n4. **Write the narrative** — 3-4 sections, each 1-2 short paragraphs:\n   - **Headline** (executive summary): the single most important finding. \"Revenue up 23% MoM, driven primarily by enterprise tier.\"\n   - **Trend**: what's changing over time. Reference the trend chart.\n   - **Breakdown**: what's outsized in the categorical dimension. Reference the breakdown chart.\n   - **Watch list** (optional): 1-2 anomalies \u002F risks worth flagging. Skip if nothing stands out.\n\n5. **Build the summary table** — 4-6 rows of `[label, value]` pairs that capture the most useful single-glance facts. Examples:\n   ```\n   [[\"Total revenue\", \"$42,300\"], [\"MoM growth\", \"+23%\"], [\"Top segment\", \"Enterprise (47%)\"], [\"Records\", \"1,247 rows\"], [\"Period\", \"Q2 2026\"]]\n   ```\n\n6. **Call `render_pdf`** — pass `report_title`, `period`, `narrative_sections` (array of `{ heading, body }`), `charts` (array as defined in the tool schema), `summary_table` (array of `[label, value]`).\n\n7. **Return structured output**:\n   - `report_path`: from the tool response\n   - `page_count`: from the tool response\n   - `summary`: copy the headline narrative section's body (single paragraph)\n\n## Style\n\n- Narrative is concise, factual, and quantified — every sentence should have a number or a comparison. Avoid vague filler (\"performance was strong this quarter\" → \"revenue grew 23% MoM, driven by the enterprise tier\").\n- Use the period's currency \u002F unit consistently. If the CSV is in dollars, write `$XX,XXX`. If counts, write commas-separated.\n- Don't fabricate data. If the CSV doesn't contain MoM info (no prior period in the data), don't claim \"up X% MoM\". Use what's actually there.\n- Pick chart titles that read as headlines, not labels. ✅ \"Enterprise leads revenue mix\" — ✗ \"Revenue by segment\".\n\n## Failure modes\n\n- CSV with no numeric columns: produce a single-section report with row count + categorical breakdown. Skip charts. Return `page_count: 1`.\n- CSV with only a date column and one numeric column: skip the breakdown section, render only the trend chart. The narrative collapses to headline + trend.\n- Unparseable CSV: the `analyze_csv` tool returns `{ error: \"...\" }`. In that case, do not call `render_pdf` — return outputs with `page_count: 0` and `summary: \"Could not parse CSV: \u003Cerror message>\"`.\n",{"name":5,"description":7},"main","b1d963b36174c159cad07fe91cef0b3c7bbdb7d7","agents\u002Fcsv-to-executive-report",17,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun","https:\u002F\u002Fgithub.com\u002Fskrun-dev","Deploy any Agent Skill as an API — The Vercel for Agent Skills","2026-09-23 04:53:31",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add skrun-dev\u002Fskrun --skill csv-to-executive-report",{"tool":58,"command":59},"bunx","bunx skills add skrun-dev\u002Fskrun --skill csv-to-executive-report",{"tool":61,"command":62},"pnpm","pnpm dlx skills add skrun-dev\u002Fskrun --skill csv-to-executive-report","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fcsv-to-executive-report\u002FSKILL.md",true,[66,72,78,82,86,92],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"agent.yaml","REFERENCE","参考文档",4376,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fcsv-to-executive-report\u002Fagent.yaml",{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"fixtures\u002Fsample-revenue.csv","ASSET","资产文件",1812,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fcsv-to-executive-report\u002Ffixtures\u002Fsample-revenue.csv",{"path":79,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":80,"sourceHtmlUrl":81},"README.md",4621,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fcsv-to-executive-report\u002FREADME.md",{"path":83,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":84,"sourceHtmlUrl":85},"requirements.txt",50,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fcsv-to-executive-report\u002Frequirements.txt",{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002Fanalyze_csv.py","SCRIPT","脚本",2773,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fcsv-to-executive-report\u002Fscripts\u002Fanalyze_csv.py",{"path":93,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":94,"sourceHtmlUrl":95},"scripts\u002Frender_pdf.py",8047,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fcsv-to-executive-report\u002Fscripts\u002Frender_pdf.py",[97,117,129,138,147,170],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":39},"01M6K4K8ZVWY12RFZAYY0Q1MM0","audit-fixture-tool-error","E2E test fixture — calls a tool that always fails, used to verify tool_call_error events.","https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagents\u002Faudit-fixture-tool-error\u002FSKILL.md",[],[104,105,106,107,108,109,110,111,112,113,114,115,116],"fixture","audit fixture tool error","fixture tool","error","audit","tool","call","e2e test","events","verify","calls","e2e","test",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":39},"01M6K4K4CJ9FPC07VJ0MD3C9S8","script-deps-python-fixture","Python deps integration fixture for","https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Ftests\u002Fe2e\u002Ffixtures\u002Fscript-deps-python\u002FSKILL.md",[],[124,125,126,104,127,128,23],"script deps python fixture","python","deps","script","integration",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":39},"01M6K4K1ATBYMVPESQDP46ND24","script-deps-none-fixture","No-manifest fixture for","https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Ftests\u002Fe2e\u002Ffixtures\u002Fscript-deps-none\u002FSKILL.md",[],[136,127,104,126,23,137],"script deps none fixture","manifest",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":39},"01M6K4JY6CE1345XRZ537ZJ9FB","script-deps-node-fixture","Node deps integration fixture for","https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Ftests\u002Fe2e\u002Ffixtures\u002Fscript-deps-node\u002FSKILL.md",[],[145,127,104,146,126,23,128],"script deps node fixture","node",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":151,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":39},"01M6K4JVETZ77G36Z6HKFX29ST","pdf-processing","Extract PDF text, fill forms, merge files. Use when handling PDFs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fpackages\u002Fschema\u002Ftests\u002Ffixtures\u002Fvalid-agent-dir\u002FSKILL.md",[],[155,31,156,157,125,158,159,160,161,162,163,22,164,165,166,167,168,169],"processing","pdf processing","example","merge","git","Bash","text","read","extract","uv","files","forms","extract pdf","org","fill",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":39},"01M6K4JRVSGC92EZT5XWY9Q2N8","persistent-skill","A skill that uses persistent context mode.","https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fpackages\u002Fschema\u002Ftests\u002Ffixtures\u002Fpersistent-no-agents-dir\u002FSKILL.md",[],[177,178,179,180],"persistent skill","context mode","mode","context"]