ggsql
Writes, modifies, explains, validates, and runs ggsql grammar-of-graphics visualization queries.
Skill by George Stagg (@georgestagg)
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/edmundmiller-ggsql
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ggsql
What's inside
- Skill name
ggsql- Description
- Writes, modifies, explains, validates, and runs ggsql grammar-of-graphics visualization queries.
- License
- MIT
- Metadata
- author: George Stagg (@georgestagg) · upstream: https://github.com/posit-dev/skills/blob/main/ggsql/ggsql/SKILL.md
- Instructions
- 59 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- syntax.md · references/
SKILL.md (first lines)
# ggsql Query Writer Write valid ggsql visualization queries from natural-language requests. ggsql combines SQL data shaping with a declarative grammar of graphics. ## Use this skill when - Creating or modifying a ggsql query. - Converting a chart request into ggsql. - Explaining, validating, or running ggsql. - Choosing ggsql layers, mappings, scales, facets, projections, or labels. Do not trigger for ordinary SQL work that has no visualization component. ## Required reference Read [references/syntax.md](references/syntax.md) before writing or changing a query. It is the complete upstream language reference and defines the allowed clauses, aesthetics, layers, settings, palettes, and CLI commands. Never invent ggsql syntax. If the reference does not document a requested feature, say so and offer the closest documented form. ## Workflow 1. Identify the data source, columns, desired visual encodings, grouping, and output. 2. Shape data with SQL or CTEs before `VISUALISE` when necessary. 3. Choose the simplest documented `DRAW` layer and mappings. 4. Add `SCALE`, `FACET`, `PROJECT`, or `LABEL` only when the request needs them. 5. If `ggsql` is available, validate with `ggsql validate`. Render with `ggsql exec ... -v` only when output is requested. 6. Return the complete query, then briefly explain consequential choices. ## Minimal pattern ```ggsql SELECT category, SUM(value) AS total FROM 'data.parquet' GROUP BY category VISUALISE category AS x, total AS y DRAW bar LABEL title => 'Total by category', x => 'Category', y => 'Total' ``` Alternatively, let `VISUALISE` name the source: ```ggsql VISUALISE bill_len AS x, bill_dep AS y, species AS color FROM ggsql:penguins DRAW point ``` ## Guardrails - Use only documented clauses, settings, aesthetics, layers, transforms, and palettes. - Preserve the user's source names and column names. - Prefer `ggsql:penguins` or `ggsql:airquality` only when example data is needed. - Do not claim validation or rendering unless the command actually ran. - Keep SQL portable unless the selected backend requires a documented dialect feature.
From edmundmiller/dotfiles, MIT.
More from edmundmiller/dotfiles
- 0.673score
build-audit-logs
edmundmiller
Build or review audit trails in TypeScript/JavaScript apps using evlog (pipelines, typed actions, denials, retention, compliance-style reviews).
SkillAFreshness: A★ 80Claude Code +9 - 0.671score
analyze-logs
HugoRCD
Analyze application logs from the .evlog/logs/ directory.
SkillAFreshness: A★ 80Claude Code +9 - 0.671score
excalidraw-cli
edmundmiller
Create, inspect, update, and locally render Excalidraw scenes with the Excalidraw CLI.
SkillAFreshness: A★ 80Claude Code +9 - 0.668score
code-search
edmundmiller
Compares semantic, text, and structural search strategies.
SkillAFreshness: A★ 80Claude Code +9 - 0.665score
verify
edmundmiller
Verify dotfiles changes at runtime without switching the system.
SkillAFreshness: A★ 80Claude Code +9 - 0.636score
auditing-decision-data
edmundmiller
Checks whether observations support a consequential decision.
SkillBFreshness: B★ 80Claude Code +9 - 0.636score
challenging-expert-assumptions
edmundmiller
Examines the assumptions and evidence behind categorical technical claims.
SkillBFreshness: B★ 80Claude Code +9 - 0.633score
derive-web-api-client
edmundmiller
Derives a task-focused API client from authorized HAR/browser traffic.
SkillBFreshness: B★ 80Claude Code +9 - 0.633score
hass-config-flow
edmundmiller
Uses Home Assistant APIs on NixOS for integration config flows, entity/device inspection, and token setup.
SkillBFreshness: B★ 80Claude Code +9 - 0.633score
done
edmundmiller
Close an explicit repository task by shaping, landing, publishing, proving, and cleaning it up; also handles narrower commit, publish, and…
SkillBFreshness: B★ 80Claude Code +9 - 0.633score
honcho-integration
edmundmiller
Integrates Honcho memory into Python or TypeScript agents.
SkillBFreshness: B★ 80Claude Code +9 - 0.633score
home-assistant-best-practices
edmundmiller
Selects Home Assistant automation, helper, device-control, and dashboard patterns.
SkillBFreshness: B★ 80Claude Code +9
Signals
- Stars
- 80
- Forks
- 6
- Open issues
- 4
- Last commit (this folder)
- Aug 1, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/edmundmiller/dotfiles
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from George Stagg (@georgestagg)
Cite this page
ggsql skill. Agent Mart. https://agentmart.dev/skills/edmundmiller-ggsql (last updated 2026-10-24)