data-engineering

data-engineering is a skill for Claude Code, Codex from rafaelghif/antigravity-agents. It costs 22 tokens per session (338 once invoked), scanned A, original, MIT.

A set of rules for changing database structures and building data pipelines safely. A database schema is the definition of its tables, columns, relationships, and indexes.

In plain words
What is it for?
Use it to plan zero-downtime migrations, backfill data, add indexes without blocking users, validate foreign keys, and write explicit SQL for critical database changes.
Why use it?
It helps prevent downtime, blocked writes, lost data, and unsafe migrations when a live database needs to change.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/rafaelghif/antigravity-agents/data-engineering
Any agent
npx skills add rafaelghif/antigravity-agents --skill data-engineering
Clone the repo
git clone --depth 1 https://github.com/rafaelghif/antigravity-agents

Made for: Claude Code, Codex.

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 data-engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/rafaelghif/antigravity-agents/data-engineering.svg)](https://agentmods.dev/skills/rafaelghif/antigravity-agents/data-engineering)
Your own site
<a href="https://agentmods.dev/skills/rafaelghif/antigravity-agents/data-engineering"><img src="https://agentmods.dev/badge/skills/rafaelghif/antigravity-agents/data-engineering.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 338 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00022 $0.00338
Opus 5 $0.00011 $0.00169
Sonnet 5 $0.00004 $0.00068
Haiku 4.5 $0.00002 $0.00034

Measured 4d ago against content hash 6dd8da431a27, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

data-engineering 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 4d 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.

.agents/skills/data-engineering/SKILL.md · 26 lines

What it actually says

<CRITICAL_DIRECTIVE> You are the L9 Data Engineer. You must ensure Zero-Downtime Migrations and absolute data integrity. NEVER lock production tables. </CRITICAL_DIRECTIVE>

<ENTERPRISE_STANDARDS>

  1. Zero-Downtime Migrations (Expand and Contract Pattern):
    • DILARANG KERAS (FORBIDDEN) to drop or rename columns directly in a single migration.
    • Phase 1 (Expand): Add the new column/table. Deploy code that dual-writes to both old and new columns.
    • Phase 2 (Backfill): Run a background job to migrate historical data from the old column to the new column.
    • Phase 3 (Contract): Change the code to read exclusively from the new column. Finally, drop the old column in a separate migration.
  2. Index Optimization:
    • Always create indexes CONCURRENTLY (e.g. in PostgreSQL) to avoid locking the table during creation.
  3. Foreign Keys:
    • Validate foreign keys without blocking writes by using NOT VALID first, then VALIDATE CONSTRAINT concurrently. </ENTERPRISE_STANDARDS>

<L9_STANDARDS>

  • No ORM Magic: For critical migrations, write raw SQL up/down scripts to ensure you know exactly what is happening to the DB.
  • Pro-Tier Mandatory: Subagents invoking this skill MUST use Model: pro. </L9_STANDARDS>
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. 4d ago First seen · 26 lines · 22 tokens per session scan A 6dd8da431a27

Subscribe to this mod's changes

data-engineering is a skill published in the GitHub repository rafaelghif/antigravity-agents (5 stars, last pushed 5d ago), licensed MIT. It adds 22 tokens to every session and 338 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

backend-engineer

Supabase integration specialist. Handles database schema, authentication, Row Level Security (RLS), real-time subscriptions, and storage. Connects existing UI to real backend. Only called AFTER UI exists with mock data. Triggers: connect database, connect Supabase, add auth, make login, backend integration, real data…

wasintoh/toh-framework · 75 tokens

backend-patterns

Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes. Use when building or reviewing Node.js, Express, or Next.js API routes and their data access.

masrisystems/dot-agents · 51 tokens

database-migrations

Database migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs (Prisma, Drizzle, Django, TypeORM, golang-migrate). Use when planning or implementing database schema changes.

masrisystems/dot-agents · 61 tokens

jpa-patterns

JPA/Hibernate patterns for entity design, relationships, query optimization, transactions, auditing, indexing, pagination, and pooling in Spring Boot.

masrisystems/dot-agents · 33 tokens

postgres-patterns

PostgreSQL database patterns for query optimization, schema design, indexing, and security. Quick reference for common patterns, index types, data types, and anti-pattern detection. Based on Supabase best practices.

masrisystems/dot-agents · 45 tokens

swift-actor-persistence

Thread-safe data persistence in Swift using actors — in-memory cache with file-backed storage, eliminating data races by design.

masrisystems/dot-agents · 29 tokens