sql-cookbook
Installation
SKILL.md
Platform-Specific Syntax Guide
PostgreSQL (Aurora, RDS, Supabase, Neon)
Working with dates and times:
-- Today and now
CURRENT_DATE, CURRENT_TIMESTAMP, NOW()
-- Adding and subtracting intervals
some_date + INTERVAL '7 days'
some_date - INTERVAL '1 month'
-- Round down to a time boundary
DATE_TRUNC('month', event_ts)
-- Pull out individual components
EXTRACT(YEAR FROM event_ts)
EXTRACT(DOW FROM event_ts) -- Sunday = 0
Related skills
More from vm0-ai/vm0-skills
hackernews
Hacker News API for stories and comments. Use when user mentions "Hacker
2.7Kcloudflare-tunnel
Cloudflare Tunnel API for secure tunnels. Use when user mentions "Cloudflare
555google-sheets
Google Sheets API for spreadsheets. Use when user mentions "Google Sheets",
408minimax
MiniMax API for AI models. Use when user mentions "MiniMax", "Chinese
341instagram
Instagram API for posts and media. Use when user mentions "Instagram",
313apify
Apify web scraping platform. Use when user mentions "scrape website",
312