Agent skill

SQL Translator

by criptogus in criptogus/agent-evolve-network

Translates a plain-English question into a single, safe, read-only SQL query against a known schema, with assumptions made explicit.

CC-BY-SA-4.0Auto-check passedDatabases

Install SQL Translator

skills CLI
$ npx skills add criptogus/agent-evolve-network --skill sql-translator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install criptogus/agent-evolve-network sql-translator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/criptogus/agent-evolve-network.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/sql-translator .claude/skills/sql-translator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sql-translator
GitHub stars
288
Token cost
~735 tokens
SKILL.md length
229 words
Files
1
Skills in repo
107
Repo updated
First seen
Licence
CC-BY-SA-4.0

At a glance

Translates a plain-English question into a single, safe, read-only SQL query against a known schema, with assumptions made explicit.

  • The user asks for natural-language to sql work
  • SKILL.md covers Instructions, Always, Never and Examples, plus 1 more section
  • Calls npx
  • Tasks that involve SQL

What it does

SQL Translator is an agent skill from criptogus/agent-evolve-network. Translates a plain-English question into a single, safe, read-only SQL query against a known schema, with assumptions made explicit. Use when the user asks for natural-language to sql work, or mentions sql, translator.

Its SKILL.md is about 740 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases, covering SQL, Translation and Plain language and style rules. It works with SQL. The licence is CC-BY-SA-4.0.

When your agent uses it

  • The user asks for natural-language to sql work
  • Tasks that involve SQL
  • Tasks that involve Translation

Example prompts

  • “Use the sql-translator skill to translate a plain-English question into a single, safe, read-only SQL query against a known schema, with assumptions…”
  • “/sql-translator”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit d19b920. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • superagentskill.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

SQL Translator loads about 735 tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 229 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~735

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from criptogus/agent-evolve-network at commit d19b920, republished under its CC-BY-SA-4.0 licence (© criptogus). 229 words, ~735 tokens.

Download SKILL.mdSave it as .claude/skills/sql-translator/SKILL.md (or your agent's skills folder).
name
sql-translator
description
Translates a plain-English question into a single, safe, read-only SQL query against a known schema, with assumptions made explicit. Use when the user asks for natural-language to sql work, or mentions sql, translator.
version
0.1.0
license
CC-BY-SA-4.0
homepage
https://superagentskill.com/marketplace/sql-translator
source
Super Agent Skill (SAK)

Natural-language to SQL

Use this skill when a user asks a data question against a known schema and you want a safe SELECT they can run as-is. The skill emits exactly one SELECT, qualifies every column, and lists the assumptions it made (date ranges, NULL handling, dedup keys) so the user can audit them.

Instructions

You are a careful data analyst. You receive a plain-English question, a schema description (DDL or compact form), and a SQL dialect (default postgres). Produce exactly one SELECT statement — never INSERT, UPDATE, DELETE, or DDL. Qualify every column with its table or alias. Use SELECT * only when the intent is an explicit "preview". Then list every assumption made: date range interpretation, NULL handling, dedup key, timezone. Never invent columns that aren't in the schema.

Always

  • Emit exactly one SELECT statement.
  • Qualify every column with its table or alias.
  • List every assumption made.

Never

  • Use INSERT, UPDATE, DELETE, or any DDL.
  • Invent columns absent from the schema.

Examples

Top customers last quarter

Input:

question: "Top 5 customers by revenue last quarter"
schema: "orders(id, customer_id, amount_cents, paid_at)"
dialect: "postgres"

Expected output:

SELECT o.customer_id, SUM(o.amount_cents)/100.0 AS revenue
FROM orders o
WHERE o.paid_at >= date_trunc('quarter', now()) - interval '3 months'
  AND o.paid_at <  date_trunc('quarter', now())
GROUP BY o.customer_id
ORDER BY revenue DESC
LIMIT 5;
Assumptions: ["last quarter = previous calendar quarter", "amount_cents non-null", "timezone = server default"]
Daily signups

Input:

question: "How many signups per day in the last 30 days?"
schema: "users(id, created_at)"
dialect: "postgres"

Expected output:

SELECT date_trunc('day', u.created_at) AS day, COUNT(*) AS signups
FROM users u
WHERE u.created_at >= now() - interval '30 days'
GROUP BY 1
ORDER BY 1;
Assumptions: ["created_at is signup timestamp", "timezone = server default"]

Trust & telemetry

This skill is graded on the Super Agent Skill network: format, substance and adversarial (prompt-injection) testing produce a public Trust Score.

Reinstall or update with npx skills update, or pull the live graded version with npx super-agent install sql-translator.

© criptogus, CC-BY-SA-4.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/sql-translator of criptogus/agent-evolve-network.

Open the folder on GitHubat commit d19b920

Compare with similar skills

SQL Translator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

SQL Translator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
SQL Translator this skillcriptogus/agent-evolve-network288—~735Automated safety check: PassCC-BY-SA-4.0
SQL To Business Logicnimrodfisher/data-analytics-skills465—~636Automated safety check: PassMIT
Query Pipelinedotnet/efcore15k—~194Automated safety check: PassMIT
511 Frameworks Micronaut Jdbcjabrena/plinth446—~872Automated safety check: PassApache-2.0
SQL TranslationMicrock/ordinary-claude-skills403—~1.3kAutomated safety check: PassCustom licence
Forge Codegen Crudyaomindong1996/forge-admin125—~1.3kAutomated safety check: PassApache-2.0

Similar skills

  • SQL To Business Logic

    nimrodfisher/data-analytics-skills

    Translate SQL queries into plain language business logic. An agent skill from nimrodfisher/data-analytics-skills.

    465 GitHub stars~636 tokensUpdated 13 days ago
    DatabasesAuto-check passed
  • Query Pipeline

    dotnet/efcore

    Official

    Implementation details for EF Core LINQ query translation, SQL generation, and bulk operations (ExecuteUpdate/ExecuteDelete).

    15k GitHub stars~194 tokensUpdated today
    DatabasesAuto-check passed
  • A skill your agent uses when you need programmatic JDBC in Micronaut — pooled DataSource, parameterized SQL, io.micronaut.transaction.annotation.Transactional, batching, and domain exception…

    446 GitHub stars~872 tokensUpdated today
    DatabasesAuto-check passed
  • SQL Translation

    Microck/ordinary-claude-skills

    Guide for adding SQL function translations to dbplyr backends.

    403 GitHub stars~1.3k tokensUpdated 1 mo ago
    DatabasesAuto-check passed
  • Forge Codegen Crud

    yaomindong1996/forge-admin

    Generate or review Forge project code-generation output for CRUD modules.

    125 GitHub stars~1.3k tokensUpdated today
    Documents & OfficeAuto-check passed
  • SQL Explainer

    mergisi/awesome-openclaw-agents

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

    4k GitHub stars~300 tokensUpdated 11 days ago
    DatabasesAuto-check passed

More from criptogus/agent-evolve-network

All 107 skills in this repo
  • Brand Research

    criptogus/agent-evolve-network

    Kickoff research for a brand you haven't worked on before — web research, existing-ad analysis from the Meta Ad Library, editorial-grammar profiling, sourced + AI-generated brand assets, hook/CTA…

    288 GitHub stars~3.9k tokensUpdated 28 days ago
    Auto-check passed
  • Create Apple Notes Video Ad

    criptogus/agent-evolve-network

    Produce a 9:16 social-native ad recreating the iPhone Apple Notes typing experience — the note begins with 1–2 visible lines, then progressively types additional paragraphs character-by-character…

    288 GitHub stars~4.9k tokensUpdated 28 days ago
    Auto-check passed
  • Create Chatgpt Video Ad

    criptogus/agent-evolve-network

    Produce a 9:16 social-native ad that recreates a ChatGPT mobile chat — user types in the composer with the iOS keyboard visible, taps send, keyboard slides down, header right-cluster swaps…

    288 GitHub stars~5k tokensUpdated 28 days ago
    Auto-check passed
  • Create Imessage Video Ad

    criptogus/agent-evolve-network

    Produce a 9:16 social-native ad that recreates an iMessage conversation reveal — bubbles pop in over time, composer types char-by-char, real Apple iMessage SFX hit on every send/receive, music bed…

    288 GitHub stars~7.4k tokensUpdated 28 days ago
    Auto-check passed
  • Cloud Misconfig Auditor

    criptogus/agent-evolve-network

    Audits AWS, GCP and Azure environments (and matching IaC) for excessive permissions, public exposure, weak encryption defaults and missing logging.

    288 GitHub stars~965 tokensUpdated 28 days ago
    Auto-check passed
  • Cloudflare Workers Expert

    criptogus/agent-evolve-network

    Builds and debugs Cloudflare Workers, Durable Objects, KV, R2, D1, and Queues with edge-correct patterns.

    288 GitHub stars~619 tokensUpdated 28 days ago
    Auto-check passed

Works with

Questions about SQL Translator

What does SQL Translator do?

Translates a plain-English question into a single, safe, read-only SQL query against a known schema, with assumptions made explicit. SQL Translator is an agent skill from criptogus/agent-evolve-network. Translates a plain-English question into a single, safe, read-only SQL query against a known schema, with assumptions made explicit.

When should I use SQL Translator?

SQL Translator fits situations like: the user asks for natural-language to sql work; tasks that involve SQL; tasks that involve Translation.

How do I install SQL Translator in Claude Code?

Run `npx skills add criptogus/agent-evolve-network --skill sql-translator -a claude-code`. Or copy the skill folder (skills/sql-translator in criptogus/agent-evolve-network) into .claude/skills/sql-translator in your project. Claude Code loads it when a task matches its description.

How do I install SQL Translator in Codex?

Run `npx skills add criptogus/agent-evolve-network --skill sql-translator -a codex`. Or copy the skill folder (skills/sql-translator in criptogus/agent-evolve-network) into .agents/skills/sql-translator in your project. Codex loads it when a task matches its description.

Can I use SQL Translator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add criptogus/agent-evolve-network --skill sql-translator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sql-translator, .gemini/skills/sql-translator, .github/skills/sql-translator and .opencode/skills/sql-translator in your project.

What does SQL Translator need to run?

Going by SKILL.md and its folder, SQL Translator needs the command-line tools its instructions call (npx). Our summary lists: Node.js.

Does SQL Translator access the network?

SKILL.md names 1 domain. As links in the text: superagentskill.com. This is read from the text; nothing was executed.

Is SQL Translator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does SQL Translator use?

SQL Translator is published under the CC-BY-SA-4.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does SQL Translator use?

About 735 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to SQL Translator?

Skills that share tags, products or a category with SQL Translator: SQL To Business Logic (nimrodfisher/data-analytics-skills, 465 stars), Query Pipeline (dotnet/efcore, 15k stars), 511 Frameworks Micronaut Jdbc (jabrena/plinth, 446 stars) and SQL Translation (Microck/ordinary-claude-skills, 403 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains SQL Translator?

criptogus (a GitHub user) maintains it in criptogus/agent-evolve-network, which has 288 GitHub stars. The repository holds 107 skills in this directory. The repository was last updated on September 9, 2026.

Source: criptogus/agent-evolve-network on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.