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 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.
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.
- 1mo ago Changed 74b79afd537e
- 1mo ago Changed 4f517909143a
- 3mo ago First seen · 66 lines · 29 tokens per session scan A c75cf4937703
Data Engineer is an agent published in the GitHub repository monkilabs/opencastle (82 stars, last pushed 10d ago), 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.
Data Engineer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Data Engineermonkilabs/opencastle | Agent | 82 | 10d ago | MIT | A | 29 | Claude Code |
| database-architectspacehendrix/clauder | Agent | 59 | 1mo ago | Apache-2.0 | A | 91 | Claude Code |
| analytics-engineerspacehendrix/clauder | Agent | 59 | 1mo ago | Apache-2.0 | A | 120 | Claude Code |
| database-architectDDS-Solutions/AI-TadPole-OS | Agent | 9 | 4d ago | MIT | A | 21 | Claude Code |
| dbanelson820125/iforgeai | Agent | 14 | 2mo ago | MIT | A | 42 | Claude Code |
| db-architectfiratcand/forge | Agent | 14 | 4mo ago | MIT | A | 42 | Claude Code |
| abstractionJhonatanRian/gemini-simplify-extension | Agent | 1 | 7mo ago | MIT | B | 20 | Claude Code |