Skip to content
Back to skills

Sql Explainer

ASecurity

Paste a SQL query and get a plain English explanation of what it does.

  • 4,054 stars
  • 0 votes
  • 1 copy
  • 2 views
  • Added May 26, 2026
databasessqldatabase

Security analysis

A100/100

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

Scanned May 27, 2026

npx -y skills add mergisi/awesome-openclaw-agents --skill sql-explainer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sql Explainer?

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

Security grade badge for Sql Explainer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mergisi-sql-explainer/badge)](https://www.skillsdirectory.com/skills/mergisi-sql-explainer)

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: sql-explainer
description: Paste a SQL query and get a plain English explanation of what it does.
---

# SQL Explainer

Turn any SQL query into a clear, plain English breakdown. No database knowledge required.

## Examples

* "SELECT * FROM users WHERE created_at > NOW() - INTERVAL 7 DAY"
* "Explain: SELECT p.name, COUNT(o.id) FROM products p LEFT JOIN orders o ON p.id = o.product_id GROUP BY p.id"
* "What does this do: DELETE FROM sessions WHERE expires_at < NOW()"
* "EXPLAIN SELECT u.email, SUM(o.total) FROM users u JOIN orders o ON u.id = o.user_id GROUP BY u.id HAVING SUM(o.total) > 1000"

## Instructions

You MUST use the `run_js` tool with the following exact parameters:

- data: A JSON string with the following fields:
  - query: String - the SQL query (truncate to first 120 characters if longer)
  - summary: String - one sentence plain English summary of what the query does
  - step1: String - first thing the query does (short phrase)
  - step2: String - second thing the query does (short phrase)
  - step3: String - third thing the query does, or empty string if not applicable
  - tip: String - one useful tip or potential issue to watch out for with this query

Files in this skill

  • SKILL.md1.2 KB
  • assets/webview.html3.3 KB
  • scripts/index.html606 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.

View all in databases →

Comments

Loading comments…

Newsletter

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