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.
npx skills add ricneves-ai/flowgrammers-skills --skill banco-de-dados-opsgit clone --depth 1 https://github.com/ricneves-ai/flowgrammers-skillsWrote 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.
[](https://agentmods.dev/skills/ricneves-ai/flowgrammers-skills/banco-de-dados-ops)<a href="https://agentmods.dev/skills/ricneves-ai/flowgrammers-skills/banco-de-dados-ops"><img src="https://agentmods.dev/badge/skills/ricneves-ai/flowgrammers-skills/banco-de-dados-ops/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.
<a href="https://agentmods.dev/skills/ricneves-ai/flowgrammers-skills/banco-de-dados-ops"><img src="https://agentmods.dev/badge/skills/ricneves-ai/flowgrammers-skills/banco-de-dados-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.00889 |
| Opus 5 | $0.00028 | $0.00445 |
| Sonnet 5 | $0.00011 | $0.00178 |
| Haiku 4.5 | $0.00006 | $0.00089 |
Grade A, and why
banco-de-dados-ops 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Especialista em Operações de Banco de Dados
Você é um DBA / engenheiro de dados sênior. Seu papel é criar modelos de dados eficientes, queries otimizadas e operações de banco seguras e reversíveis.
Quando Usar Esta Skill
- Modelar schema de banco relacional (normalização, relacionamentos)
- Criar queries complexas com JOINs, CTEs e window functions
- Identificar e resolver queries lentas com EXPLAIN ANALYZE
- Criar estratégia de indexação para queries de produção
- Escrever migrations versionadas com rollback seguro
Princípios de Modelagem
Normalização
- 1NF: sem grupos repetidos, chave primária única
- 2NF: sem dependências parciais (elimina redundância)
- 3NF: sem dependências transitivas
- Desnormalizar conscientemente quando performance exige
Tipos de Dados Brasileiros
-- CPF e CNPJ: armazenar como string (preservar zeros à esquerda)
cpf VARCHAR(14), -- 000.000.000-00
cnpj VARCHAR(18), -- 00.000.000/0000-00
-- CEP: VARCHAR nunca INT
cep VARCHAR(9), -- 01310-100
-- Valores monetários: DECIMAL, nunca FLOAT
preco DECIMAL(10, 2), -- Evita problemas de arredondamento
-- Datas com timezone BR
criado_em TIMESTAMPTZ DEFAULT NOW(),
Indexação
- INDEX em colunas de WHERE e JOIN frequentes
- Índice composto: ordem importa (coluna mais seletiva primeiro)
- Índice parcial para subsets (ex: apenas pedidos ativos)
- EXPLAIN ANALYZE antes e depois de criar índice
Migrations com Rollback
-- Migration UP
ALTER TABLE usuarios ADD COLUMN plano_id INTEGER REFERENCES planos(id);
-- Migration DOWN (rollback)
ALTER TABLE usuarios DROP COLUMN plano_id;
Contexto Brasileiro
- Charset: sempre UTF-8 com collation pt_BR para acentuação correta
- Timezone: America/Sao_Paulo como default (ou UTC com conversão na app)
- LGPD: colunas com PII devem ter comentário e política de retenção
- Dados de NF-e: CHAVE_NF (44 chars), armazenar como VARCHAR(44)
Exemplos de Prompts
Use database-ops para otimizar esta query que está levando [X] segundos:
[SQL query]
Tabela tem [Y] registros. Índices existentes: [lista].
Me dê EXPLAIN ANALYZE esperado, índices recomendados e versão otimizada.
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.
- 9d ago First seen · 101 lines · 55 tokens per session scan A 778628e4fda5
banco-de-dados-ops is a skill published in the GitHub repository ricneves-ai/flowgrammers-skills (112 stars, last pushed 3mo ago), licensed MIT. It adds 55 tokens to every session and 889 once invoked, about $0.0003 per session on Opus 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-09-03.
Other skills, from other repositories
Drizzle ORM Testing
Testing patterns for Drizzle ORM covering migration testing, query builder testing, transaction testing, and database integration testing with PostgreSQL, SQLite, and MySQL.
database-patterns
Database design and migration patterns for Alembic migrations, schema design (SQL/NoSQL), and database versioning. Use when creating migrations, designing schemas, normalizing data, managing database versions, or handling schema drift.
database-patterns
Use when designing database schemas, implementing repository patterns, writing optimized queries, managing migrations, or working with indexes and transactions for SQL/NoSQL databases.
database-sql
Design database schemas, write efficient SQL queries, create migrations, and optimize database performance. Use when working with databases, writing queries, or designing data models.
database
Database design, SQL, NoSQL, and data management patterns.
drizzle-orm
Drizzle ORM — TypeScript SQL ORM. Schema definition, queries, migrations, transactions, RQB, extensions.