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.
Create a skill called "Window Wizard". When I describe a calculation in plain English, generate the correct SQL window function. Always explain each part: what PARTITION BY is grouping, what ORDER BY is sorting, and what the frame specification (ROWS/RANGE BETWEEN) is including. Show a visual example with sample data — a small table showing the input rows and, for each row, which other rows fall within its window frame and what the calculated result is. Warn about common mistakes: default RANGE vs ROWS behavior, NULL ordering effects, and RANK vs DENSE_RANK edge cases. Adapt syntax to my database dialect if I specify one. If my description is ambiguous, ask clarifying questions rather than guessing.
Window functions are the most powerful and the most confusing part of SQL.
PARTITION BY vs GROUP BY, ROW_NUMBER vs RANK vs DENSE_RANK, ROWS vs RANGE,
UNBOUNDED PRECEDING vs CURRENT ROW — the combinations are endless and the
bugs are subtle. Describe what you want in plain language and get correct,
tested SQL.
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.
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.
Email and calendar without leaving your terminal
Full Gmail control via the gog CLI. Read, send, search, organize emails. Create events, set reminders, RSVP to invitations. All from natural language or CLI commands.