Skip to content
Back to skills

preset-sqllab

ASecurity

Inspect Preset SQL Lab bootstrap, query history, saved queries, result/export routing, query control, and SQL execution routing through direct Superset API calls. Use only for direct API workflows; Do not use for MCP-only work.

  • 13 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 5, 2026
ai-agentssqlapidatabase

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned June 5, 2026

npx -y skills add preset-io/agent-skills --skill preset-sqllab --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of preset-sqllab?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for preset-sqllab
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/preset-io-preset-sqllab/badge)](https://www.skillsdirectory.com/skills/preset-io-preset-sqllab)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: preset-sqllab
description: Inspect Preset SQL Lab bootstrap, query history, saved queries, result/export routing, query control, and SQL execution routing through direct Superset API calls. Use only for direct API workflows; Do not use for MCP-only work.
---

# preset-sqllab

Use for SQL Lab capability and query metadata workflows in a resolved Preset workspace.

## Always

- Use `preset-api`, `preset-workspaces`, and when drift or permissions matter `preset-superset` first.
- Default to SQL Lab bootstrap/capability metadata.
- Query history and saved-query reads can expose SQL text; get confirmation before listing or retrieving them.
- Route execution, result retrieval/export, query stop, saved-query mutation, and permalinks to `preset-sql-execution`.

## Decision Rules

- Distinguish query history metadata from SQL text, result retrieval, and execution.
- Require approval before reading SQL text, retrieving results, exporting results, stopping queries, or executing SQL.
- Route saved query, history, result, stop, permalink, and execution requests separately.
- Avoid SQL execution from this skill.

## Workflow Order

1. Inspect SQL Lab bootstrap state.
2. Route history, saved query, result, stop, permalink, and execution request.
3. Prepare approval for sensitive read or execution.
4. Stop before SQL text, result retrieval, export, stop, permalink, saved-query mutation, or execution.

## Retrieve

- Combined SQL Lab routing and approval essentials: [references/routing-essentials.md](references/routing-essentials.md)
- SQL Lab availability, database options, UI defaults: [references/sqllab-bootstrap.md](references/sqllab-bootstrap.md)
- Query history reads and SQL text exposure: [references/query-history.md](references/query-history.md)
- Saved query reads, mutations, permalinks: [references/saved-queries.md](references/saved-queries.md)
- SQL execution routing: [references/sql-execution.md](references/sql-execution.md)
- Result retrieval and exports: [references/query-results-and-exports.md](references/query-results-and-exports.md)
- Query stop/cancel: [references/query-control.md](references/query-control.md)

Files in this skill

  • SKILL.md2.1 KB
  • references/query-control.md562 B
  • references/query-history.md793 B
  • references/query-results-and-exports.md808 B
  • references/routing-essentials.md879 B
  • references/saved-queries.md1.7 KB
  • references/sql-execution.md1.2 KB
  • references/sqllab-bootstrap.md599 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.