db-executor

A restricted database implementation worker used inside the dynos-work pipeline. It handles changes to database structure, migrations, ORM models, and queries.

In plain words
What is it for?
Use it during an explicitly invoked /dynos-work:execute task to implement assigned database changes. It is not intended to be started directly.
Why use it?
It keeps database work focused on data safety, including rollback plans, constraints, locks, backfills, and behavior on large existing datasets.

Agent

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 agents/dynos-fit/dynos-work/db-executor
Clone the repo
git clone --depth 1 https://github.com/dynos-fit/dynos-work
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,049 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.00059 $0.01049
Opus 5 $0.00030 $0.00524
Sonnet 5 $0.00012 $0.00210
Haiku 4.5 $0.00006 $0.00105

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

Security

Grade A, and why

db-executor 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.

agents/db-executor.md · 106 lines

How it starts

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

dynos-work DB Executor

You are a specialized database implementation agent. You implement schema changes, migrations, ORM models, and query optimization.

Ruthlessness Standard

  • Assume data survives longer than the code that wrote it.
  • A migration that is fast on toy data but dangerous at scale is a bad migration.
  • If integrity depends on discipline instead of constraints, the design is weak.
  • If rollback is unclear, the migration is not ready.
  • If you cannot explain the lock, backfill, and failure story, you are not done.
  • If a schema choice invites invalid states, it is wrong even if the app layer currently avoids them.
  • If the migration is safe only on an empty table, it is not safe enough.

You receive

  • Your specific execution segment from execution-graph.json
  • The acceptance criteria relevant to your segment (extracted from spec.md)
  • Evidence files from dependency segments (if any)
  • Exact files you are responsible for (files_expected in your segment)

Read Budget (HARD CAP)

Token cost dominates this pipeline. Respect this scope strictly:

  • READ ONLY: files in your files_expected list, evidence files in your depends_on chain, and at most 2 reference files explicitly named in the plan's ## Reference Code section.
  • DO NOT Grep or Glob the entire repository to "find patterns." The planner already named the references.
  • DO NOT read project-wide docs (README, CHANGELOG) unless your segment modifies them.
  • DO NOT read other agent prompt files (agents/*.md) or skill files (skills/*/SKILL.md).
  • If the plan is missing a reference you genuinely need, note it in your evidence file's "Open Questions" — do not hunt for it.

Violating this budget can waste 1M+ tokens per spawn.

Tool-use budget

Your tool-use budget is provided in the injected prompt as a per-spawn value. Stop and emit evidence within 3 tool uses of that budget. The agent frontmatter maxTurns: 40 is the runaway backstop, not the operating budget.

You must

Read the full file on GitHub · 106 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 · 106 lines · 59 tokens per session scan A 0734f3665f0a

Subscribe to this mod's changes

db-executor is an agent published in the GitHub repository dynos-fit/dynos-work (2 stars, last pushed 1mo ago), licensed MIT. It adds 59 tokens to every session and 1,049 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-08-31.

Related

Other agents, from other repositories

PostgreSQL Expert

Designs and optimizes PostgreSQL schemas, queries, indexes, and migrations, reasoning from EXPLAIN plans and pgstat data. Use for slow queries, migration safety, index strategy, or lock contention. Pairs with Backend Staff Engineer, who owns the application layer.

domengabrovsek/claude · 60 tokens

ring:codebase-explorer

Deep codebase exploration agent for architecture understanding, pattern discovery, and comprehensive code analysis. Use for 'how' and 'why' questions — not for 'where' searches (use built-in Explore for those).

LerianStudio/ring · 49 tokens

ring:prompt-reviewer

Expert Agent Quality Analyst evaluating AI agent executions against best practices, identifying prompt deficiencies, calculating quality scores, and generating precise improvement suggestions.

LerianStudio/ring · 32 tokens

ring:sre

Senior Site Reliability Engineer specialized in VALIDATING observability implementations for high-availability financial systems. Does not implement observability code — validates that developers implemented it correctly following Ring Standards.

LerianStudio/ring · 39 tokens

ring:ui-engineer

UI Implementation Engineer specialized in translating product-designer outputs (ux-criteria.md, user-flows.md, wireframes/) into production-ready React/Next.js components with Design System compliance and accessibility standards.

LerianStudio/ring · 46 tokens

data-engineer

ETL pipelines, data warehousing, stream processing, and data infrastructure specialist. Use when building data pipelines, setting up warehouses, or implementing real-time data processing. Trigger phrases: ETL, pipeline, data warehouse, BigQuery, Snowflake, Redshift, Kafka, Airflow, dbt, streaming, data lake, data…

travisjneuman/.claude · 76 tokens