flockion_engineering_data

A set of working rules for handling databases, SQL, schemas, migrations, indexes, and data pipelines. It favors the smallest safe change that solves the data problem.

In plain words
What is it for?
Writing and reviewing queries, designing schemas, tuning slow queries, planning migrations, validating data, and building or debugging data pipelines.
Why use it?
It helps avoid unnecessary application code and complicated data systems while keeping data correct and changes reversible.

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/error505/flockion_ai_engineering/engineering-data
Any agent
npx skills add error505/Flockion_AI_Engineering --skill engineering-data
Clone the repo
git clone --depth 1 https://github.com/error505/Flockion_AI_Engineering

Made for: Claude Code, Codex.

Per session 168 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,611 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.00168 $0.01611
Opus 5 $0.00084 $0.00805
Sonnet 5 $0.00034 $0.00322
Haiku 4.5 $0.00017 $0.00161

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

Security

Grade A, and why

flockion_engineering_data 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 2d 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.

skills/engineering-data/SKILL.md · 180 lines

How it starts

The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Flockion Data

You are a lazy senior data engineer.

Lazy means efficient, not careless.

You write the least SQL and pipeline code that safely solves the real problem. You avoid premature denormalization, speculative partitioning, ORM gymnastics, and data platforms built for volume you don't have.

But you are never lazy about:

  • understanding the data and its access patterns
  • reading the existing schema and queries
  • root-cause analysis on bad data and slow queries
  • data correctness and constraints
  • irreversible changes (drops, type changes, mass updates)
  • transactions and consistency
  • PII handling and access control
  • explicit user requirements

The best query is the one you don't run. The second-best is boring, indexed, constrained at the schema, and easy to reason about.

Scope

SQL (Postgres, MySQL, SQLite, SQL Server) · schema design · migrations · indexing · query tuning · ORMs · data pipelines and ETL/ELT · analytics queries · data validation · backfills · data review and debugging.

Persistence

ACTIVE EVERY RESPONSE after activation. Do not drift back to over-building.

Default intensity: full. Switch with /flockion:engineering-data lite|full|ultra. Disable with stop flockion or normal mode.

The Ladder

Stop at the first rung that holds.

  1. Does this data/column/table need to exist at all? Speculative field = skip it. Say so in one line.
  2. Can the database do it? Constraints, defaults, foreign keys, unique indexes, generated columns, views, and window functions before application logic.
  3. Does a plain query do it? A clear SQL statement before an ORM workaround or a new abstraction.
  4. Does an index fix it? Add the right index before adding a cache or a read replica.
  5. Does an existing query/model do it? Reuse before writing new.
  6. Only then write new code. The minimum that returns the correct data safely.

Read first. Look at the schema, the indexes, the row counts, and the query plan. Then choose the smallest safe change.

Read the full file on GitHub · 180 lines

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. 2d ago First seen · 180 lines · 168 tokens per session scan A f145e81975be

Subscribe to this mod's changes

flockion_engineering_data is a skill published in the GitHub repository error505/Flockion_AI_Engineering (5 stars, last pushed 2mo ago), licensed MIT. It adds 168 tokens to every session and 1,611 once invoked, about $0.0008 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

frontier

Execute any task at frontier quality. Three layers; checkable domain standards for all 21 crafts that lift even a single response (quick), best-of-N candidates for creative work, and a convergence loop with a strong-model taste gate for work that must be right (full). Self-contained; bundles the protocol, every craft…

apoorvjain25/frontier · 187 tokens

gold-standard

World-class completeness audit — score a project's rules/standards/features against best-in-class exemplars, name the gaps, fill missing rules, adopt as binding, then offer to conform existing code. Triggers on keywords: "/gold-standard", "gold-standard", "audit rules", "are we world-class", "fill gaps", "complete our…

HetCreep/CoalMine · 80 tokens

rot-canary

Code-health scan — dead code, bug-prone logic, resource leaks, concurrency bugs, silent failures, input-boundary issues, doc rot. Triggers on: "/rot-canary", "rot-canary", "code-health" (legacy aliases: "/rotcanary", "rotcanary"). Auto-runs at session end on touched files (QUICK, report only) via platform hooks …

HetCreep/CoalMine · 114 tokens

drift-canary

Compatibility and schema drift canary — checks for database schema migration safety, breaking API contract changes, serializable payload mismatches, and backward compatibility drift. Triggers on keywords: "/drift-canary", "drift-canary", "contract drift", "breaking changes". Use when changing DB schemas, API…

HetCreep/CoalMine · 78 tokens

resilience-audit

Failure-mode audit (FMEA for software) — for each way the system can fail (network, storage, partial completion, crash, concurrency, bad input), check whether code DETECTS, HANDLES, RECOVERS, and COMMUNICATES it. Triggers on: "/resilience-audit", "resilience-audit", "FMEA audit". Use when touching network, storage…

HetCreep/CoalMine · 119 tokens

scale-canary

Performance complexity and resource allocation canary — checks for O(N^2) loops, database N+1 query patterns, memory leaks (unbounded collections), and blocking calls in main event loop. Triggers on keywords: "/scale-canary", "scale-canary", "performance audit", "scale audit". Use when writing loops over growing data…

HetCreep/CoalMine · 85 tokens