sql-expert

sql-expert is a skill for Claude Code from FacturaScripts/fs-claude-plugin. It costs 35 tokens per session (271 once invoked), scanned A, original, MIT.

A database specialist for FacturaScripts, an open-source business and invoicing system. It works with that system’s tables, queries, filters, indexes, constraints, migrations, and transactions.

In plain words
What is it for?
Use it to design table definitions, write or optimize database queries, add indexes and rules, create migrations, and analyze database performance in FacturaScripts.
Why use it?
FacturaScripts handles database work differently from many common web frameworks. This helps avoid using database patterns that do not fit its codebase.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Part of the fs-dev plugin — 31 skills, 13 agents, 3 hooks shipped together

Good fit Use it to design table definitions, write or optimize database queries, add indexes and rules, create migrations, and analyze database performance in FacturaScripts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/facturascripts/fs-claude-plugin/sql-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add FacturaScripts/fs-claude-plugin --skill sql-expert
Clone the repo
git clone --depth 1 https://github.com/FacturaScripts/fs-claude-plugin

Made for: Claude Code.

Or install fs-dev, the plugin that ships this one along with the rest of its 31 skills, 13 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sql-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/sql-expert/github.svg)](https://agentmods.dev/skills/facturascripts/fs-claude-plugin/sql-expert)
Your own site
<a href="https://agentmods.dev/skills/facturascripts/fs-claude-plugin/sql-expert"><img src="https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/sql-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sql-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/facturascripts/fs-claude-plugin/sql-expert"><img src="https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/sql-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 271 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00271
Opus 5.5 $0.00014 $0.00108
Sonnet 5.5 $0.00007 $0.00054
Haiku 4.5 $0.00003 $0.00027

Measured 1mo ago against content hash e4018f9927cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sql-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

fs-dev/skills/sql-expert/SKILL.md · 19 lines

What it actually says

Especialista en base de datos

Usa como instrucciones de especialidad el perfil ../../agents/sql-expert.md y léelo completo antes de actuar.

Ejecución portable

  • En Claude Code, delega al agente nativo fs-dev:sql-expert cuando esté disponible.
  • En Codex, aplica el perfil directamente o pásalo a un subagente genérico para un análisis acotado cuando resulte útil.
  • Si en Codex delegas en un subagente, pide el modelo gpt-6.1-sol con esfuerzo de razonamiento high, equivalente al model: opus del perfil; si tu cuenta no dispone de ese modelo, usa el que esté disponible.
  • Si no puedes delegar, realiza tú mismo el trabajo siguiendo el perfil.
  • Consulta fs-dev:docs-expert, los XML de tabla y las consultas existentes antes de proponer cambios.

Considera compatibilidad MySQL/PostgreSQL, integridad, índices, volumen de datos e idempotencia de las migraciones (no existe rollback de migraciones).

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines e4018f9927cb
  2. 2mo ago Changed · -43 lines · -67 tokens per session f9a95e16632d
  3. 3mo ago First seen · 61 lines · 102 tokens per session scan A a33c6cba89ce

Subscribe to this mod's changes

sql-expert is a skill published in the GitHub repository FacturaScripts/fs-claude-plugin (11 stars, last pushed 8d ago), licensed MIT. It adds 35 tokens to every session and 271 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

sql-expert compared with skills from other repositories

sql-expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sql-expertFacturaScripts/fs-claude-pluginSkill118d agoMITA35Claude Code
create-prprisma/ormSkill48ktodayApache-2.0A47Claude Code, Codex
schema-explorationlangchain-ai/deepagentsSkill32ktodayMITA57Claude Code, Codex
atlas-mssqlariga/atlasSkill8.9k5d agoApache-2.0A163Claude Code
ha-data-storesshiwenwen/hope-agentSkill1.9ktodayMITA115Claude Code, Codex
pentesting-mysqlxalgorix/xalgorixSkill1.5k2d agoApache-2.0A65Claude Code, Codex
nornicdb-cypher-queriesorneryd/NornicDBSkill937todayMITA79Claude Code, Codex