Agent skill

SQL Translation

by Microck in Microck/ordinary-claude-skills

Guide for adding SQL function translations to dbplyr backends.

Custom licenceAuto-check passedDatabases

Install SQL Translation

skills CLI
$ npx skills add Microck/ordinary-claude-skills --skill sql-translation -a claude-code

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

GitHub CLI
$ gh skill install Microck/ordinary-claude-skills sql-translation --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/Microck/ordinary-claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills_all/sql-translation .claude/skills/sql-translation && 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-translation
GitHub stars
403
Token cost
~1.3k tokens
SKILL.md length
366 words
Files
2
Skills in repo
91
Repo updated
First seen
Licence
Custom licence

At a glance

Guide for adding SQL function translations to dbplyr backends.

  • Works in 7 steps: Research SQL (CRITICAL - ALWAYS FIRST) → Identify the backend file → Add translation → …
  • Implementing new database-specific R-to-SQL translations for functions like string manipulation
  • SKILL.md covers Overview, Workflow, Key concepts and Resources, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

SQL Translation is an agent skill from Microck/ordinary-claude-skills. Guide for adding SQL function translations to dbplyr backends. Use when implementing new database-specific R-to-SQL translations for functions like string manipulation, date/time, aggregates, or window functions.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `metadata.json`).

It sits in Databases, covering Translation and SQL. It works with SQL and PostgreSQL. The repository describes itself as: An unappealing collection of Claude Skills and resources.

When your agent uses it

  • Implementing new database-specific R-to-SQL translations for functions like string manipulation
  • Window functions

Example prompts

  • “/sql-translation”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Research SQL (CRITICAL - ALWAYS FIRST)
  2. Identify the backend file
  3. Add translation
  4. Helper functions
  5. Test the translation
  6. Document the translation
  7. Format and check

What it can do on your machine

Read from SKILL.md and the folder at commit 1056d29. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are r and bash).

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

  • Network

    No URLs in SKILL.md.

    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 Translation loads about 1.3k tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 366 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 366 words (~1,325 tokens).

“Use this skill when adding new SQL function translations for a specific database backend.”

— opening of SKILL.md by Microck, Custom licence
name
sql-translation

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in skills_all/sql-translation of Microck/ordinary-claude-skills.

  • SKILL.md
  • metadata.json

Open the folder on GitHubat commit 1056d29

Compare with similar skills

SQL Translation 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 Translation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
SQL Translation this skillMicrock/ordinary-claude-skills403—~1.3kAutomated safety check: PassCustom licence
Efcore Query Performanceatherio-danp/cde-dotnetcc109—~1.1kAutomated safety check: NotesNone
Pure Lsp SQL E2Efinos/legend-engine112—~1.8kAutomated safety check: PassApache-2.0
Query Pipelinedotnet/efcore15k—~194Automated safety check: PassMIT
511 Frameworks Micronaut Jdbcjabrena/plinth446—~872Automated safety check: PassApache-2.0
SQL To Business Logicnimrodfisher/data-analytics-skills465—~636Automated safety check: PassMIT

Similar skills

  • Efcore Query Performance

    atherio-danp/cde-dotnetcc

    Optimize EF Core (Npgsql/PostgreSQL) queries in the .NET API — fix N+1, choose tracking modes, use compiled queries, split queries, and avoid translation traps.

    109 GitHub stars~1.1k tokensUpdated 2 mo ago
    DatabasesAuto-check: notes
  • Pure Lsp SQL E2E

    finos/legend-engine

    Runs cases from the legend-engine SQL e2e parity corpus (TestPostgresParity, ~2300 SQL cases compared against a real Postgres) through the warm interpreted Pure LSP with pure-sql-e2e, so edits to…

    112 GitHub stars~1.8k tokensUpdated today
    Testing & QAAuto-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 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
  • Safe SQL Execution

    supabase/supabase

    Official

    A skill your agent uses whenever code will build, return, fetch, or execute SQL that runs against a user's real Postgres database — even when the request reads like an ordinary feature or bug fix…

    111k GitHub stars~4.2k tokensUpdated today
    DatabasesAuto-check passed

More from Microck/ordinary-claude-skills

All 91 skills in this repo
  • Every Style Editor

    Microck/ordinary-claude-skills

    This skill should be used when reviewing or editing copy to ensure adherence to Every's style guide.

    403 GitHub starsUsed in 3 repos~1.2k tokens
    Auto-check passed
  • Gemini Imagegen

    Microck/ordinary-claude-skills

    Generate and edit images using the Gemini API (Nano Banana Pro).

    403 GitHub starsUsed in 3 repos~1.6k tokens
    Auto-check passed
  • Andrew Kane Gem Writer

    Microck/ordinary-claude-skills

    Write Ruby gems following Andrew Kane's proven patterns and philosophy.

    403 GitHub starsUsed in 2 repos~1.2k tokens
    Auto-check passed
  • Codex

    Microck/ordinary-claude-skills

    Execute Codex CLI for code analysis, refactoring, and automated code changes.

    403 GitHub starsUsed in 2 repos~2.8k tokens
    Auto-check passed
  • Docs Review

    Microck/ordinary-claude-skills

    Review documentation changes for compliance with the Metabase writing style guide.

    403 GitHub starsUsed in 2 repos~1.8k tokens
    Auto-check: notes
  • File Todos

    Microck/ordinary-claude-skills

    This skill should be used when managing the file-based todo tracking system in the todos/ directory.

    403 GitHub starsUsed in 2 repos~1.9k tokens
    Auto-check passed

Works with

Questions about SQL Translation

What does SQL Translation do?

Guide for adding SQL function translations to dbplyr backends. SQL Translation is an agent skill from Microck/ordinary-claude-skills. Guide for adding SQL function translations to dbplyr backends.

When should I use SQL Translation?

SQL Translation fits situations like: implementing new database-specific R-to-SQL translations for functions like string manipulation; window functions.

How do I install SQL Translation in Claude Code?

Run `npx skills add Microck/ordinary-claude-skills --skill sql-translation -a claude-code`. Or copy the skill folder (skills_all/sql-translation in Microck/ordinary-claude-skills) into .claude/skills/sql-translation in your project. Claude Code loads it when a task matches its description.

How do I install SQL Translation in Codex?

Run `npx skills add Microck/ordinary-claude-skills --skill sql-translation -a codex`. Or copy the skill folder (skills_all/sql-translation in Microck/ordinary-claude-skills) into .agents/skills/sql-translation in your project. Codex loads it when a task matches its description.

Can I use SQL Translation 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 Microck/ordinary-claude-skills --skill sql-translation -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-translation, .gemini/skills/sql-translation, .github/skills/sql-translation and .opencode/skills/sql-translation in your project.

What does SQL Translation need to run?

SKILL.md names no scripts, command-line tools or credentials: SQL Translation is instructions for the agent only.

Does SQL Translation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is SQL Translation 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 Translation use?

SQL Translation has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does SQL Translation use?

About 1.3k tokens (SKILL.md is roughly 5.3k 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 Translation?

Skills that share tags, products or a category with SQL Translation: Efcore Query Performance (atherio-danp/cde-dotnetcc, 109 stars), Pure Lsp SQL E2E (finos/legend-engine, 112 stars), Query Pipeline (dotnet/efcore, 15k stars) and 511 Frameworks Micronaut Jdbc (jabrena/plinth, 446 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains SQL Translation?

Microck (a GitHub user) maintains it in Microck/ordinary-claude-skills, which has 403 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on September 6, 2026.

Source: Microck/ordinary-claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.