Skip to content
AI & Agents
Skill

/sql-explainer

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

BOOST
From plugin
awesome-openclaw-agents
4k16 skills1 agent
Install
$ npx -y skills add mergisi/awesome-openclaw-agents --skill sql-explainer --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/sql-explainer

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

sql-explainer.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
Ships withawesome-openclaw-agents

A curated collection of 205 production-ready AI agent templates for the OpenClaw ecosystem. Every template is a copy-paste ready SOUL.md file.

Get the whole plugin

Other skills on awesome-openclaw-agents.