community-automations/sql-visualizer

DevOps & Code

PublicClaude subagent

SQL Query Visualizer

A SQL agent can answer a question, but a wall of result rows is hard to read and harder to share in a standup. This tool draws the answer instead.

sonnet3 daysPostgreSQLOpenAIQuickChartSlack
ClaudeClaude
ROI for
README.md

Why this subagent

A SQL agent can answer a question, but a wall of result rows is hard to read and harder to share in a standup. This tool draws the answer instead.

It runs the query, picks a chart type that fits the data, and renders a labeled QuickChart image you can drop into Slack. You get the picture and the underlying SQL together, so the result is both glanceable and auditable.

How it runs

    • Read

      Used at step 01 to kick off the pipeline.

    • Write

      Used at step 01 to kick off the pipeline.

    • WebFetch

      Used at step 01 to kick off the pipeline.

    • WebSearch

      Used at step 01 to kick off the pipeline.

Sample output

json
// Sample output
// (generated when the pipeline finishes)

Given a question and the query results, choose an appropriate chart type and return a complete QuickChart config with title, labeled axes, and series, plus the SQL that generated the data.

Unlock the rest

The full agent definition, install snippet, and starter task are gated for community members.

Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.