preset-sqllab SKILL.md skillA

preset-sqllab from preset-io/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add preset-io/agent-skills/preset-sqllab@git:20260611.5ce06a3

Pins git:20260611.5ce06a3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
preset-io/agent-skills
Path
plugins/preset-api-skills/skills/preset-sqllab/SKILL.md
Versions recorded
5
Latest version
git:20260611.5ce06a3, committed Jun 11, 2026
First version recorded
May 20, 2026
Size
2,649 bytes
Repository stars
13
License
Apache-2.0

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.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# preset-sqllab

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

## Always

- Auth and conventions come from `preset-api` (JWT exchange, base URLs, Rison); resolve the workspace hostname through the Management API when it is not already known. Consult `preset-superset` only when permissions drift matters.
- Run SQL Lab bootstrap/capability metadata reads directly.
- Run the user's own query history and saved-query reads directly when they asked in their own message AND current-user/owner filtering is applied before SQL-bearing fields are fetched (default page 25 records, hard cap 100 without explicit confirmation). If an endpoint returns SQL text before ownership is proven, keep the read confirmation-gated as SQL-text disclosure.
- 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 to pick the right endpoint and filters.
- Other users' history or SQL text, and any history read where owner filtering cannot be applied first, require confirmation.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add preset-io/agent-skills/preset-sqllab@sha256:99208cd94d463cfa

The line at the top of this page pins the label git:20260611.5ce06a3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_i7lt36z4cbwp7ef5.svg)](https://markdownregistry.com/a/art_i7lt36z4cbwp7ef5)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between May 20, 2026 and Jun 11, 2026, about one every 6 days.

versioncommittedcommitsizeaudit
git:20260611.5ce06a3 latest2026-06-11 5ce06a3 2,649 BA view · diff
git:20260521.87e6e652026-05-21 87e6e65 2,159 BA view · diff
git:20260520.27f03b12026-05-20 27f03b1 2,175 BA view · diff
git:20260520.78e32bd2026-05-20 78e32bd 2,038 BA view · diff
git:20260520.ff621202026-05-20 ff62120 1,393 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2649 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

preset-io/agent-skills · 13 stars · license Apache-2.0 · pushed 2026-10-09 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_i7lt36z4cbwp7ef5
GET https://markdownregistry.com/api/v1/resolve?ref=preset-io/agent-skills/preset-sqllab
GET https://markdownregistry.com/api/v1/blob/99208cd94d463cfa6b1713afe1bdd47749dbacf710127039189d37be29c148bb

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from preset-io/agent-skills

CLAUDE.md CLAUDE.md file
preset-io/agent-skills · CLAUDE.md
git:20261003.d17fee2 · audit A · 13 stars
AGENTS.md@plugins/preset-api-skills AGENTS.md file
preset-io/agent-skills · plugins/preset-api-skills/AGENTS.md
git:20261003.d17fee2 · audit A · 13 stars
preset-admin SKILL.md skill
preset-io/agent-skills · plugins/preset-api-skills/skills/preset-admin/SKILL.md · Manage Preset teams, workspaces, memberships, invites, role identifiers, seat checks, and audit logs through direct…
git:20260611.5ce06a3 · audit A · 13 stars
preset-api SKILL.md skill
preset-io/agent-skills · plugins/preset-api-skills/skills/preset-api/SKILL.md · Prepare direct Preset API access: auth, JWT exchange, base URLs, pagination, Rison parameters, response handling, and…
git:20260622.8e041e7 · audit A · 13 stars
preset-dashboards SKILL.md skill
preset-io/agent-skills · plugins/preset-api-skills/skills/preset-dashboards/SKILL.md · Inspect Preset workspace dashboards, charts, dashboard composition, screenshots, thumbnails, chart data, and…
git:20260612.d2c0b91 · audit A · 13 stars
preset-database-connections SKILL.md skill
preset-io/agent-skills · plugins/preset-api-skills/skills/preset-database-connections/SKILL.md · Inspect or route Preset database connection configuration, validation, OAuth, upload, create, update, and delete…
git:20260611.5ce06a3 · audit A · 13 stars
preset-datasets SKILL.md skill
preset-io/agent-skills · plugins/preset-api-skills/skills/preset-datasets/SKILL.md · Inspect Preset workspace datasets, database metadata, schemas, tables, columns, metrics, and dataset/database workflow…
git:20260611.5ce06a3 · audit A · 13 stars
preset-destructive-imports SKILL.md skill
preset-io/agent-skills · plugins/preset-api-skills/skills/preset-destructive-imports/SKILL.md · Review destructive, overwrite-capable, sparse-update, all-assets restore, database import, and secret-bearing Preset…
git:20260611.5ce06a3 · audit A · 13 stars
preset-embedded-rls SKILL.md skill
preset-io/agent-skills · plugins/preset-api-skills/skills/preset-embedded-rls/SKILL.md · Review embedded analytics row-level security clauses, tenant filters, guest-token RLS rules, and external-viewer…
git:20260611.5ce06a3 · audit A · 13 stars
preset-embedding SKILL.md skill
preset-io/agent-skills · plugins/preset-api-skills/skills/preset-embedding/SKILL.md · Inspect embedded dashboard configuration, trusted domains, origins, guest-token routing, and embedded RLS routing…
git:20260611.5ce06a3 · audit A · 13 stars
preset-guest-tokens SKILL.md skill
preset-io/agent-skills · plugins/preset-api-skills/skills/preset-guest-tokens/SKILL.md · Prepare and create Preset embedded dashboard guest tokens, external-user claims, resource claims, RLS claims, and…
git:20260611.5ce06a3 · audit A · 13 stars
preset-import-export SKILL.md skill
preset-io/agent-skills · plugins/preset-api-skills/skills/preset-import-export/SKILL.md · Inspect and route direct Superset import/export workflows for dashboards, charts, datasets, databases, saved queries…
git:20260611.ad7851f · audit A · 13 stars

Every file in preset-io/agent-skills

Browse by kind, by grade A, or by owner.