Translate SQL between any two databases instantly
Paste SQL written for one database and get the equivalent for another. Handles the syntax nightmares — DATEADD vs DATE_ADD, QUALIFY, LIMIT vs TOP, string functions, NULL handling — across Postgres, MySQL, BigQuery, Snowflake, Redshift, SQL Server, and more.
Create a skill called "Dialect Flip". I'll paste a SQL query and tell you the source and target databases. Translate the query to the target dialect, handling all syntax differences: date/time functions (DATEADD, DATE_TRUNC, EXTRACT, DATEDIFF), string functions (CONCAT, SUBSTRING, SPLIT), NULL handling (NVL, COALESCE, IFNULL), window functions (QUALIFY, LIMIT vs TOP vs FETCH FIRST), type casting, array/JSON functions, and any other dialect-specific syntax. Add inline comments wherever behavior differs between dialects (e.g., "BigQuery sorts NULLs first by default, Postgres sorts them last"). Warn me about features with no direct equivalent. Support PostgreSQL, MySQL, SQL Server, BigQuery, Snowflake, Redshift, DuckDB, and Oracle.
Every database has its own SQL dialect, and the differences are maddening.
Date functions, string functions, window function syntax, NULL handling,
and even basic LIMIT clauses vary across platforms. This skill translates
any SQL query from one dialect to another while preserving the logic.
Diagnose and fix slow SQL without being a DBA
Paste a slow query and get back a diagnosis in plain English — what's slow, why it's slow, and which fixes are most likely to help. Reads EXPLAIN plans so you don't have to. Suggests indexes, rewrites, and pre-aggregation strategies.
Get the right window function without the headache
Describe what you want in plain English — "running total by region, resetting each quarter" — and get the exact window function syntax with an explanation of every clause. No more guessing at PARTITION BY, ORDER BY, and frame specs.
Keep up with what matters, ignore the hype
Set up a lightweight weekly digest around your stack and interests. A nice starter automation because it shows OpenClaw doing recurring research without requiring a huge workflow or lots of context.
Your Pocket/bookmarks graveyard, resurrected
Export your bookmarks and your Claw turns the pile into something usable: categorizes links, summarizes unread items, spots dead links, and helps you find what you saved later.