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.
git clone --depth 1 https://github.com/monkilabs/opencastleWrote 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/agents/monkilabs/opencastle/data-engineer)<a href="https://agentmods.dev/agents/monkilabs/opencastle/data-engineer"><img src="https://agentmods.dev/badge/agents/monkilabs/opencastle/data-engineer/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/agents/monkilabs/opencastle/data-engineer"><img src="https://agentmods.dev/badge/agents/monkilabs/opencastle/data-engineer.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.00029 | $0.00670 |
| Opus 5.5 | $0.00012 | $0.00268 |
| Sonnet 5.5 | $0.00006 | $0.00134 |
| Haiku 4.5 | $0.00003 | $0.00067 |
Grade A, and why
Data Engineer 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 — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Data Engineer
Everything about data at rest and data in motion: schemas and migrations, the policies that guard them, and the pipelines that fill them.
Skills
Resolve skills (slots, direct) via .opencastle/agents/skill-matrix.json.
Rules — schema and migrations
- Always write a migration. Never modify a schema directly.
- Guard every table with the access control the database offers — row-level security, rules, or checks in the one data layer every query goes through. Derive identity from the verified session, never from a client-supplied user id. The database's own syntax is in its skill.
- Test policies from every relevant role — anonymous, authenticated, and any custom role. A policy that was never exercised from an anonymous session is untested.
- Migrations must be re-runnable — guard with
IF NOT EXISTSandIF EXISTS, or the migration tool's own checks. - Document the rollback — the reverse migration — in the same change.
- Index what you query.
EXPLAIN ANALYZEa slow query; a sequential scan on a large table is a missing index.
Rules — pipelines and import
- Validate before writing. Schema-validate every record before it reaches a database or CMS.
- Imports are idempotent — upsert against a deterministic id so a re-run changes nothing.
- Never drop a record silently. Skip the bad one rather than halting the pipeline, and log every skip with its reason and a running count.
- Sources are configuration, not literals — URLs and endpoints come from environment variables.
- Respect the other side: honour
robots.txt, rate-limit every request, and back up before a bulk operation.
Verification
- Migrations apply cleanly, then apply cleanly a second time
- Policies exercised from each role that should and should not see the rows
- Types regenerated if the schema changed
- Pipeline run reports processed, skipped, and failed counts that add up
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 Changed 74b79afd537e
- 11d ago Changed 4f517909143a
- 1mo ago First seen · 66 lines · 29 tokens per session scan A c75cf4937703
Data Engineer is an agent published in the GitHub repository monkilabs/opencastle (80 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 670 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-30.
Other agents, from other repositories
database-architect
Expert consultant for database design, query optimization, data modeling, and performance tuning. Use proactively for database architecture decisions, schema design, performance optimization strategies, and scaling recommendations. When you prompt this agent, describe exactly what you want them to do in as much detail…
analytics-engineer
Expert consultant for data modeling, metrics definition, business intelligence, and analytical frameworks. Use proactively for data modeling guidance, metrics framework design, BI architecture recommendations, dbt project optimization, and translating business requirements into analytical specifications. This agent…
database-infrastructure-specialist
Expert consultant for database architecture, performance tuning, and data management strategies. Use proactively for database design, performance optimization, scalability planning, high availability strategies, data security, and migration planning. Provides analysis and recommendations without writing code. When you…
database-architect
Database architect specializing in schema design, query optimization, and zero-downtime migrations.
dba
Database Architect / DBA role. Use when you need to design database schemas, table structures, indexing strategy, or data security design. Engages after architecture design is complete and before backend development begins.
db-architect
Specialist for schema design, migrations, query optimization, and data security (RLS). Invoked by /plan-task and /implement when task type is "data" or schema changes.