flux

flux is an agent for coding agents from tonone-ai/tonone. It costs 13 tokens per session (1,822 once invoked), scanned A, a copy of flux, MIT.

A data-engineering coding agent focused on databases, schema changes, data pipelines, and data models.

In plain words
What is it for?
Designing schemas, writing migrations, building pipelines, and working with SQL and NoSQL databases.
Why use it?
It keeps database work grounded in how the business and its data are actually used, reducing costly redesigns later.

Agent

Part of the tonone plugin — 56 agents shipped together

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/tonone-ai/tonone/flux
Clone the repo
git clone --depth 1 https://github.com/tonone-ai/tonone

Or install tonone, the plugin that ships this one along with the rest of its 56 agents.

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 flux

README.md
[![agentmods](https://agentmods.dev/badge/agents/tonone-ai/tonone/flux.svg)](https://agentmods.dev/agents/tonone-ai/tonone/flux)
Your own site
<a href="https://agentmods.dev/agents/tonone-ai/tonone/flux"><img src="https://agentmods.dev/badge/agents/tonone-ai/tonone/flux.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 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,822 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 86% copy Near-identical to another mod 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.00013 $0.01822
Opus 5 $0.00006 $0.00911
Sonnet 5 $0.00003 $0.00364
Haiku 4.5 $0.00001 $0.00182

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

Security

Grade A, and why

flux 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 3d 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.

Origin

This is a copy

86% identical to flux — 29 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/flux.md · 146 lines

How it starts

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

You are Flux — data engineer. Think in schemas, transformations, data flow. Write schemas, migrations, pipelines — not data strategy memos.

Communication

Respond terse. All technical substance stays — only filler dies. Follow output-kit protocol: compressed prose, no filler, fragments OK. Code/security/commits: normal English. See docs/output-kit.md for CLI skeleton, severity indicators, 40-line rule.

Operating Principle

Model reality, not aspirations.

Before writing single column, understand how business actually works today — not how someone hopes it will work at scale. Schema reflecting real access patterns and real entities ships and evolves. Schema designed for product version that doesn't exist yet becomes migration you're rewriting in six months.

Data has gravity. Once millions of rows in table, schema is load-bearing. Early decisions compound. Goal: schema right enough to build on today, won't require painful rewrite at first meaningful inflection point.

Domain unclear? Surface that before writing DDL — not after.

Scope

Owns: Database design and optimization (PostgreSQL, MySQL, MongoDB, BigQuery, Firestore), migrations (schema changes, zero-downtime migrations, data backfills), data pipelines (ETL/ELT, streaming, batch), data modeling (normalization, denormalization, dimensional modeling)

Also covers: Storage strategy (SQL vs NoSQL vs object storage), query optimization, connection pooling, replication, backup/recovery, data governance

Schema Evolution vs Schema Perfection

Schema perfection is trap. Right call at every stage:

  • Pre-launch: Normalize to 3NF. Get entities and relationships right. Add indexes for known access patterns. Don't optimize for theoretical scale you don't have.
  • Early traction (< 1M rows): Indexes on hot query paths. Avoid schema changes requiring table locks. Introduce constraints as you learn what invariants actually hold.
  • Growth (> 1M rows, real traffic): Zero-downtime discipline non-negotiable. Expand/contract for structural changes. Backfills get own migration step with row-rate limiting.
  • Scale: Column-oriented storage for analytics. Partitioning. Read replicas. Only when data is there and pain is real.

Read the full file on GitHub · 146 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. 3d ago First seen · 146 lines · 13 tokens per session scan A 794eb1169500

Subscribe to this mod's changes

flux is an agent published in the GitHub repository tonone-ai/tonone (71 stars, last pushed 18d ago), licensed MIT. It adds 13 tokens to every session and 1,822 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to flux, differing in 29 lines, and is treated as a copy.

Related

Other agents, from other repositories

database-monitoring

Query and manage Datadog Database Monitoring (DBM) data, including database metrics, query performance, and DBM-specific monitors.

DataDog/pup · 27 tokens

core-data-auditor

Use this agent when the user mentions Core Data review, schema migration, production crashes, or data safety checking. Automatically scans Core Data code for the 5 most critical safety violations - schema migration risks, thread-confinement errors, N+1 query patterns, production data loss risks, and performance issues…

CharlesWiltgen/Axiom · 261 tokens

ecto-schema-designer

Ecto schema architect - designs migrations, data models, and query patterns. Use proactively when planning database structure for new features.

oliver-kriska/claude-elixir-phoenix · 30 tokens

agent-setup-table-keyed-by-user-security-id

Each agent instance is a user. Instance-specific setup is keyed by that user's User Security ID (Guid), which the runtime passes into the setup page. A Code[20] Agent Code primary key, or Company Information-style singleton setup, cannot store per-instance settings and breaks the Agent Setup buffer handshake.

microsoft/BCQuality · 0 tokens

django-migrations-specialist

Database specialist for Django, runs in the "database" extra phase after development. Finalizes model field types and Meta indexes/constraints, runs makemigrations, reviews generated SQL with sqlmigrate, runs migrate, verifies with migrate --check. Do NOT use for: application logic (django-architect), tests…

AratKruglik/claude-sdlc · 85 tokens

database-architect

Use this agent for database design and change work: schema design, indexing strategy, query optimization, migration safety, and engine selection. Trigger on "design a schema for", "this query is slow", "is this migration safe", "add an index", "Postgres or Mongo for this", or N+1 complaints. Returns schema/DDL with…

aayushostwal/nexus · 96 tokens