sql-expert SKILL.md skillA

sql-expert from ssameer20/data-analyst-toolkit is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ssameer20/data-analyst-toolkit/sql-expert@git:20261103.646dff1

Pins git:20261103.646dff1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
ssameer20/data-analyst-toolkit
Path
skills/sql-expert/SKILL.md
Versions recorded
2
Latest version
git:20261103.646dff1, committed Nov 3, 2026
First version recorded
Nov 3, 2026
Size
2,587 bytes
Repository stars
2
License
MIT

Use when writing, explaining, optimizing, or debugging SQL, especially Oracle SQL queries, analytic functions, dates, joins, and aggregations.

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

# SQL Expert

Write clear, correct SQL that matches the user's database dialect. Use Oracle SQL by default unless the user specifies another dialect.

## Workflow
1. Identify the desired result, tables and columns actually supplied, row grain, join keys, and relevant business rules. Do not invent schema.
2. Provide the query first for SQL requests, followed by assumptions and a concise explanation.
3. Use explicit joins and aliases, qualify ambiguous columns, and avoid `SELECT *` in production-oriented queries.
4. Make assumptions about join cardinality, aggregation grain, null handling, ties, and date boundaries explicit when they affect correctness.
5. For performance guidance, consider filters, join keys, indexes, aggregation grain, and execution plans. Do not promise performance without testing.
6. For errors, identify the dialect mismatch or likely cause and provide a corrected query with a brief explanation.

## Oracle conventions
- Prefer Oracle types and functions such as `VARCHAR2`, `NUMBER`, `DATE`, `TIMESTAMP`, `NVL`, `COALESCE`, `NULLIF`, `CASE`, `TO_DATE`, `TO_CHAR`, `ADD_MONTHS`, `TRUNC`, and `INTERVAL` as appropriate.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ssameer20/data-analyst-toolkit/sql-expert@sha256:cf42c9ec836ed7ec

The line at the top of this page pins the label git:20261103.646dff1, 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_5kcvbuqmotmwn6ys.svg)](https://markdownregistry.com/a/art_5kcvbuqmotmwn6ys)

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

Versions

The registry has recorded 2 versions of this file, all committed on Nov 3, 2026.

versioncommittedcommitsizeaudit
git:20261103.646dff1 latest2026-11-03 646dff1 2,587 BA view · diff
git:20261103.1f68b762026-11-03 1f68b76 2,095 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 (2587 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

ssameer20/data-analyst-toolkit · 2 stars · license MIT · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_5kcvbuqmotmwn6ys
GET https://markdownregistry.com/api/v1/resolve?ref=ssameer20/data-analyst-toolkit/sql-expert
GET https://markdownregistry.com/api/v1/blob/cf42c9ec836ed7ecdae31ae22039f470536e2f1d4156df60376f7f11a0876dad

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 ssameer20/data-analyst-toolkit

bi-expert SKILL.md skill
ssameer20/data-analyst-toolkit · skills/bi-expert/SKILL.md · Use for business intelligence and analytics reporting across Tableau, Power BI, Looker, Qlik, Excel, Google Sheets, and…
git:20261103.1d1c5e0 · audit A · 2 stars
data-analyst-workflow SKILL.md skill
ssameer20/data-analyst-toolkit · skills/data-analyst-workflow/SKILL.md · Use when coordinating an end-to-end data analysis workflow, or when a request spans data cleaning, data quality…
git:20261103.1d1c5e0 · audit A · 2 stars
data-cleaning SKILL.md skill
ssameer20/data-analyst-toolkit · skills/data-cleaning/SKILL.md · Use when profiling, cleaning, transforming, standardizing, deduplicating, or validating data with Excel, Google Sheets…
git:20261103.e47dce4 · audit A · 2 stars
data-quality SKILL.md skill
ssameer20/data-analyst-toolkit · skills/data-quality/SKILL.md · Use when auditing data quality, defining validation rules, measuring defects, prioritizing data issues, or recommending…
git:20261103.646dff1 · audit A · 2 stars
feature-engineering SKILL.md skill
ssameer20/data-analyst-toolkit · skills/feature-engineering/SKILL.md · Use when designing, creating, transforming, selecting, or validating analytical or machine-learning features from raw…
git:20261103.646dff1 · audit A · 2 stars

Every file in ssameer20/data-analyst-toolkit

Other files named sql-expert

sql-expert SKILL.md skill
cntwdev/hushclaw · hushclaw/skills/builtins/sql-expert/SKILL.md · Write, optimize, and debug SQL queries for any database dialect
git:20260315.71f5f5b · audit A · 34 stars

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