Borrowing it
Nothing to install: this file belongs to J0hnG4lt/metabase-flightsql-driver. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/J0hnG4lt/metabase-flightsql-driver/main/.claude/skills/metabase-api/SKILL.mdgit clone --depth 1 https://github.com/J0hnG4lt/metabase-flightsql-driverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/j0hng4lt/metabase-flightsql-driver/metabase-api)<a href="https://agentmods.dev/skills/j0hng4lt/metabase-flightsql-driver/metabase-api"><img src="https://agentmods.dev/badge/skills/j0hng4lt/metabase-flightsql-driver/metabase-api/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/j0hng4lt/metabase-flightsql-driver/metabase-api"><img src="https://agentmods.dev/badge/skills/j0hng4lt/metabase-flightsql-driver/metabase-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.00741 |
| Opus 5 | $0.00032 | $0.00370 |
| Sonnet 5 | $0.00013 | $0.00148 |
| Haiku 4.5 | $0.00006 | $0.00074 |
Grade B, and why
metabase-api scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads MCP configurationmediumAgent snooping
mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.
Prefer MCP when available: `.mcp.json` runs `@imlewc/metabase-server` against `METABASE_URL=http://localhost:3000` with that key (tools: list/execute cards, dashboards, SQL). Export `METABASE_API_KEY` from `.env` before Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl http://localhost:3000/api/health How it starts
The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Metabase API Cookbook (compose stack)
Auth: python scripts/metabase_setup.py creates the admin user and writes METABASE_API_KEY to .env. All calls: -H "x-api-key: $KEY".
Prefer MCP when available: .mcp.json runs @imlewc/metabase-server against METABASE_URL=http://localhost:3000 with that key (tools: list/execute cards, dashboards, SQL). Export METABASE_API_KEY from .env before starting Claude Code. The compose Metabase (≥ v0.60) also ships the official MCP server at /api/metabase-mcp (Admin > AI > MCP; OAuth browser flow — interactive use only).
Endpoints
curl http://localhost:3000/api/health
curl -H "x-api-key: $KEY" http://localhost:3000/api/database
curl -H "x-api-key: $KEY" http://localhost:3000/api/database/{id}/metadata
curl -H "x-api-key: $KEY" http://localhost:3000/api/card/{id}
curl -H "x-api-key: $KEY" http://localhost:3000/api/dashboard/{id}
# run a card with parameters:
curl -X POST -H "x-api-key: $KEY" -H "Content-Type: application/json" \
http://localhost:3000/api/card/{id}/query \
-d '{"parameters":[{"type":"string/=","value":["Delivered"],"target":["dimension",["template-tag","status"]]}]}'
Connection details note: when creating databases via POST /api/database, plain token works, but the UI stores secret-typed fields as token-value — test both shapes when touching auth code.
Field filters
Single table: SELECT * FROM orders [[WHERE {{status}}]]
With JOINs the template tag must carry the table alias:
{"status": {"id": "status", "name": "status", "display-name": "Order Status",
"type": "dimension", "dimension": ["field", <field_id>, null],
"widget-type": "category", "alias": "o.status"}}
SELECT * FROM orders o JOIN customers c ON o.customer_id = c.customer_id
WHERE 1=1 [[AND {{status}}]] [[AND {{country}}]]
Dashboard parameters
"parameters": [
{"id": "status", "name": "Order Status", "slug": "status", "type": "string/=", "sectionId": "string"},
{"id": "date_range", "name": "Date Range", "slug": "date_range", "type": "date/all-options", "sectionId": "date"}
]
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 62 lines · 63 tokens per session scan B 9a407d24dcfa
metabase-api is a skill published in the GitHub repository J0hnG4lt/metabase-flightsql-driver (11 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 63 tokens to every session and 741 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 2 findings (reads mcp configuration, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
wendao
Internal guardian skill for creating and editing Wendao DocOS documentation.
agenda-management
High-fidelity scheduling and cognitive alignment via the Triangular Synaptic Flow.
forge-evolution
Autonomous persona evolution pipeline for failure-driven capability growth.
paper-banana
Academic diagram and workflow aesthetic evolution engine.
research
Core research and analysis primitives.
omnigraph
Operate OmniGraph graphs and deployments. Use for .pg schemas, .gq queries, OmniGraph CLI commands, file:///s3:///az:// graph URIs, cluster.yaml, operator config, bearer-authenticated servers, graph-backed knowledge or memory, Blob values, embeddings, branches, commits, and change feeds. Apply especially before schema…