SQL Writing Guide
AI skill · Executive · Read only, changes nothing
Background skill that helps the AI assistant write correct, fast, readable SQL across databases (PostgreSQL, Snowflake, BigQuery, Redshift, Databricks): dialect syntax, analytical query patterns and debugging – read queries only, it never changes data.
- Internal


- Antigravity
- Hermes
What you get
SQL in your database's syntax, with performance notes when relevant.
Works with the data you have
Your database and the table and column names (or a warehouse connection already in your AI app).; The query to write, optimise or translate.
Read only, changes nothing
The skill only reads and summarises; it never writes, sends or changes anything in your systems.



Solution interface with illustrative data
Overview
Make sure data questions are answered with accurate, fast queries that others can read.
- Dialect-specific syntax: Date/time, string, JSON and array functions for PostgreSQL, Snowflake, BigQuery, Redshift and Databricks SQL.
- Performance tips per dialect: Indexes, clustering keys, date partition filters, EXPLAIN to inspect query plans.
- Analytical query patterns: Window functions, CTEs for readability, cohort retention, funnel analysis, de-duplication.
- Query debugging: Guidance on common errors: column names, data types, row-multiplying joins, NULL values.
- Translates between dialects: Converts a query from one database to another using equivalent functions.
Read only, changes nothing. The skill only reads and summarises; it never writes, sends or changes anything in your systems.
The problem
“SQL Writing Guide” is usually done by hand: data gathered from several places, slow, easy to miss things and done differently each time.
Who it is for
CEOs, leadership teams and business owners.
See the demo
Preview the screens and the results the solution delivers, shown with sample data.
Write SQL for monthly revenue on BigQuery
Using the dtaski-sql-queries skill. 1. Identify the dialect 2. Apply patterns and rules 3. Check performance and errors The assistant asks for your database if you did not say, then gives SQL in the right syntax with readable CTEs and notes on performance or likely errors.
Illustrative sample data
Key features
Dialect-specific syntax
Date/time, string, JSON and array functions for PostgreSQL, Snowflake, BigQuery, Redshift and Databricks SQL.
Performance tips per dialect
Indexes, clustering keys, date partition filters, EXPLAIN to inspect query plans.
Analytical query patterns
Window functions, CTEs for readability, cohort retention, funnel analysis, de-duplication.
Query debugging
Guidance on common errors: column names, data types, row-multiplying joins, NULL values.
Translates between dialects
Converts a query from one database to another using equivalent functions.
How it works
1Identify the dialect
Know the database to use the right functions and syntax.
2Apply patterns and rules
Pick the matching pattern and write clearly with CTEs.
3Check performance and errors
Filter early, avoid row-multiplying joins, handle NULLs.
What you get
- Skill package dtaski-sql-queries 1.0.0 for the AI platform you choose (Agent Skills folder with SKILL.md) plus the dtaski-router, dtaski-g14-ceo coordinators
- Vietnamese install guides for Claude Code, Claude Cowork/Desktop, Antigravity, Hermes, Codex, ChatGPT
- Safe Python installer: preview, backup on update, never overwrites existing skills
- Example prompts and expected results
Requirements
- An AI app with Skills: Claude Code, Claude Cowork/Desktop, Google Antigravity, Hermes Agent
- Uses a warehouse connection already in your AI app if any; otherwise the assistant writes queries for you to run.
Ask your AI assistant
- “Write SQL for monthly revenue on BigQuery”
- “This query is slow, help me optimise it”
- “Convert this PostgreSQL query to Snowflake”
What you receive per platform
Each platform has its own package. Only the platforms you buy are delivered to your account.
| Platform | Package | Includes |
|---|---|---|
| Claude Code | dtaski-sql-queries-1.0.0-claude-code.zip55 KB · SHA-256 aaec132560b4… | MCP server, install and configuration helper, README, install guide, troubleshooting, changelog, terms of use, checksums |
| Google Antigravity | dtaski-sql-queries-1.0.0-antigravity.zip55 KB · SHA-256 2f581d452eea… | MCP server, install and configuration helper, README, install guide, troubleshooting, changelog, terms of use, checksums |
| Claude Desktop | dtaski-sql-queries-1.0.0-claude-desktop.zip55 KB · SHA-256 11b69e07bfcb… | MCP server, install and configuration helper, README, install guide, troubleshooting, changelog, terms of use, checksums |
| Hermes Agent | dtaski-sql-queries-1.0.0-hermes.zip55 KB · SHA-256 0111b4001dd7… | MCP server, install and configuration helper, README, install guide, troubleshooting, changelog, terms of use, checksums |
| OpenAI Codex | dtaski-sql-queries-1.0.0-codex.zip55 KB · SHA-256 5760a3d68543… | MCP server, install and configuration helper, README, install guide, troubleshooting, changelog, terms of use, checksums |
Checksums are shown again in your account before download. Packages are delivered through expiring, account-checked links.
Installation by platform
Claude Code
Install on Claude Code
Format: agent-skill · Status: LIVE_VERIFIED
Standard Agent Skills folder; the plugin set built from the same source passes claude plugin validate (Claude Code 2.1.330).
Requirements
- Runtime: none
- Claude Code, Claude Cowork/Desktop, Google Antigravity, Hermes Agent, OpenAI Codex hoặc ChatGPT có tính năng Skills
- Python 3.8+ (chỉ khi dùng bộ cài tự động)
Steps
- Download the package for the AI platform you bought (each purchase: 1 computer, 1 AI agent platform) and unzip it. It contains README.md (that platform's guide) and
dtaski-sql-queries/,dtaski-router/,dtaski-g14-ceo/– each folder is one skill (SKILL.md at its root). - Quick way: run
python dtaski-sql-queries/installer/install_skill.py --platform <claude-code|antigravity|hermes|codex>to preview, add--applyto install (never overwrites existing skills, backs up before updating). - Manual way: copy the skill folders into the AI app’s skills directory (see HUONG-DAN-CAI-DAT.md, per-platform section).
- Claude Cowork/Desktop and ChatGPT: run the installer with
--make-upload-zipto create one upload ZIP per skill, then upload it in the app’s Skills settings. - Open a new session of the AI app and type a trigger sentence from README.md to check.
Entrypoints
claude-code/dtaski-sql-queries/SKILL.md(agent-skill)
Uninstall
- Run
python dtaski-sql-queries/installer/install_skill.py --platform <platform> --uninstall --apply(removes only the main skill it installed, if not edited; add--with-routersto also remove the shared coordinators), or delete the dtaski-sql-queries folder from the AI app’s skills directory. Claude Cowork/Desktop, ChatGPT: delete the skill in Skills settings.
Google Antigravity
Install on Google Antigravity
Format: agent-skill · Status: SPEC_VERIFIED
Skill folder in ~/.gemini/config/skills (Antigravity 2.0) or the workspace.agents/skills – same format as skills already installed there.
Requirements
- Runtime: none
- Claude Code, Claude Cowork/Desktop, Google Antigravity, Hermes Agent, OpenAI Codex hoặc ChatGPT có tính năng Skills
- Python 3.8+ (chỉ khi dùng bộ cài tự động)
Steps
- Download the package for the AI platform you bought (each purchase: 1 computer, 1 AI agent platform) and unzip it. It contains README.md (that platform's guide) and
dtaski-sql-queries/,dtaski-router/,dtaski-g14-ceo/– each folder is one skill (SKILL.md at its root). - Quick way: run
python dtaski-sql-queries/installer/install_skill.py --platform <claude-code|antigravity|hermes|codex>to preview, add--applyto install (never overwrites existing skills, backs up before updating). - Manual way: copy the skill folders into the AI app’s skills directory (see HUONG-DAN-CAI-DAT.md, per-platform section).
- Claude Cowork/Desktop and ChatGPT: run the installer with
--make-upload-zipto create one upload ZIP per skill, then upload it in the app’s Skills settings. - Open a new session of the AI app and type a trigger sentence from README.md to check.
Entrypoints
antigravity/dtaski-sql-queries/SKILL.md(agent-skill)
Uninstall
- Run
python dtaski-sql-queries/installer/install_skill.py --platform <platform> --uninstall --apply(removes only the main skill it installed, if not edited; add--with-routersto also remove the shared coordinators), or delete the dtaski-sql-queries folder from the AI app’s skills directory. Claude Cowork/Desktop, ChatGPT: delete the skill in Skills settings.
Claude Desktop
Install on Claude Desktop
Format: agent-skill · Status: SPEC_VERIFIED
Uploaded as a ZIP of one skill folder (the installer creates the upload ZIP).
Requirements
- Runtime: none
- Claude Code, Claude Cowork/Desktop, Google Antigravity, Hermes Agent, OpenAI Codex hoặc ChatGPT có tính năng Skills
- Python 3.8+ (chỉ khi dùng bộ cài tự động)
Steps
- Download the package for the AI platform you bought (each purchase: 1 computer, 1 AI agent platform) and unzip it. It contains README.md (that platform's guide) and
dtaski-sql-queries/,dtaski-router/,dtaski-g14-ceo/– each folder is one skill (SKILL.md at its root). - Quick way: run
python dtaski-sql-queries/installer/install_skill.py --platform <claude-code|antigravity|hermes|codex>to preview, add--applyto install (never overwrites existing skills, backs up before updating). - Manual way: copy the skill folders into the AI app’s skills directory (see HUONG-DAN-CAI-DAT.md, per-platform section).
- Claude Cowork/Desktop and ChatGPT: run the installer with
--make-upload-zipto create one upload ZIP per skill, then upload it in the app’s Skills settings. - Open a new session of the AI app and type a trigger sentence from README.md to check.
Entrypoints
claude-desktop/dtaski-sql-queries/SKILL.md(agent-skill)
Uninstall
- Run
python dtaski-sql-queries/installer/install_skill.py --platform <platform> --uninstall --apply(removes only the main skill it installed, if not edited; add--with-routersto also remove the shared coordinators), or delete the dtaski-sql-queries folder from the AI app’s skills directory. Claude Cowork/Desktop, ChatGPT: delete the skill in Skills settings.
Hermes Agent
Install on Hermes Agent
Format: agent-skill · Status: SPEC_VERIFIED
Skill folder in $HERMES_HOME/skills/dtaski/ – Hermes 0.21.5 loads it and runs it correctly when the skill is named; if a same-topic skill is installed, name the Dtaski skill.
Requirements
- Runtime: none
- Claude Code, Claude Cowork/Desktop, Google Antigravity, Hermes Agent, OpenAI Codex hoặc ChatGPT có tính năng Skills
- Python 3.8+ (chỉ khi dùng bộ cài tự động)
Steps
- Download the package for the AI platform you bought (each purchase: 1 computer, 1 AI agent platform) and unzip it. It contains README.md (that platform's guide) and
dtaski-sql-queries/,dtaski-router/,dtaski-g14-ceo/– each folder is one skill (SKILL.md at its root). - Quick way: run
python dtaski-sql-queries/installer/install_skill.py --platform <claude-code|antigravity|hermes|codex>to preview, add--applyto install (never overwrites existing skills, backs up before updating). - Manual way: copy the skill folders into the AI app’s skills directory (see HUONG-DAN-CAI-DAT.md, per-platform section).
- Claude Cowork/Desktop and ChatGPT: run the installer with
--make-upload-zipto create one upload ZIP per skill, then upload it in the app’s Skills settings. - Open a new session of the AI app and type a trigger sentence from README.md to check.
Entrypoints
hermes/dtaski-sql-queries/SKILL.md(agent-skill)
Uninstall
- Run
python dtaski-sql-queries/installer/install_skill.py --platform <platform> --uninstall --apply(removes only the main skill it installed, if not edited; add--with-routersto also remove the shared coordinators), or delete the dtaski-sql-queries folder from the AI app’s skills directory. Claude Cowork/Desktop, ChatGPT: delete the skill in Skills settings.
OpenAI Codex
Install on OpenAI Codex (CLI / IDE / ChatGPT desktop app)
Format: agent-skill · Status: SPEC_VERIFIED
Project.agents/skills folder (run for real with Codex CLI 0.167); the user-level ~/.agents/skills folder depends on your Codex version.
Requirements
- Runtime: none
- Claude Code, Claude Cowork/Desktop, Google Antigravity, Hermes Agent, OpenAI Codex hoặc ChatGPT có tính năng Skills
- Python 3.8+ (chỉ khi dùng bộ cài tự động)
Steps
- Download the package for the AI platform you bought (each purchase: 1 computer, 1 AI agent platform) and unzip it. It contains README.md (that platform's guide) and
dtaski-sql-queries/,dtaski-router/,dtaski-g14-ceo/– each folder is one skill (SKILL.md at its root). - Quick way: run
python dtaski-sql-queries/installer/install_skill.py --platform <claude-code|antigravity|hermes|codex>to preview, add--applyto install (never overwrites existing skills, backs up before updating). - Manual way: copy the skill folders into the AI app’s skills directory (see HUONG-DAN-CAI-DAT.md, per-platform section).
- Claude Cowork/Desktop and ChatGPT: run the installer with
--make-upload-zipto create one upload ZIP per skill, then upload it in the app’s Skills settings. - Open a new session of the AI app and type a trigger sentence from README.md to check.
Entrypoints
codex/dtaski-sql-queries/SKILL.md(agent-skill)
Uninstall
- Run
python dtaski-sql-queries/installer/install_skill.py --platform <platform> --uninstall --apply(removes only the main skill it installed, if not edited; add--with-routersto also remove the shared coordinators), or delete the dtaski-sql-queries folder from the AI app’s skills directory. Claude Cowork/Desktop, ChatGPT: delete the skill in Skills settings.
License terms & device limits
One purchased seat permits one active registered device. Refunds and expired subscriptions revoke access.
Read the licensing termsVersion history
- v1.0.0CurrentNov 24, 2026
Version 1.0.0 – first release in Dtaski Skill Sync: one package per AI platform, Vietnamese install guides, safe installer.
FAQ
Does the skill write, send or post anything itself?
The skill only reads and summarises; it never writes, sends or changes anything in your systems.
What data do I need?
Your database and the table and column names (or a warehouse connection already in your AI app). · The query to write, optimise or translate.
Which AI apps can use it?
Claude Code, Claude Cowork/Desktop, Google Antigravity and Hermes Agent. Each purchase covers 1 computer with the 1 AI agent platform you choose at checkout; to use another platform, add that platform.