flux

flux is an agent for Claude Code from tonone-ai/tonone. It costs 13 tokens per session (1,858 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 for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the tonone plugin — 41 skills, 100 agents, 8 plugins shipped together

Good fit Designing schemas, writing migrations, building pipelines, and working with SQL and NoSQL databases.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/tonone-ai/tonone/flux
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.

Clone the repo
git clone --depth 1 https://github.com/tonone-ai/tonone

Made for: Claude Code.

Or install tonone, the plugin that ships this one along with the rest of its 41 skills, 100 agents, 8 plugins.

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/github.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/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.

agentmods 80×15 button for flux

Your own site · 80×15
<a href="https://agentmods.dev/agents/tonone-ai/tonone/flux"><img src="https://agentmods.dev/badge/agents/tonone-ai/tonone/flux.svg" alt="Reviewed on agentmods" width="80" 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,858 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00013 $0.01858
Opus 5.5 $0.00005 $0.00743
Sonnet 5.5 $0.00003 $0.00372
Haiku 4.5 $0.00001 $0.00186

Measured 1mo ago against content hash 4637206446e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

Origin

This is a copy

86% identical to flux — 30 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 · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 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 · 147 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. 1mo ago Changed · +1 lines 4637206446e5
  2. 1mo 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 (76 stars, last pushed 6d ago), licensed MIT. It adds 13 tokens to every session and 1,858 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to flux, differing in 30 lines, and is treated as a copy.

Related

Other agents, from other repositories

event-sourcing-architect

Expert in event sourcing, CQRS, and event-driven architecture patterns. Masters event store design, projection building, saga orchestration, and eventual consistency patterns. Use PROACTIVELY for event-sourced systems, audit trail requirements, or complex domain modeling with temporal queries.

wshobson/agents · 60 tokens

backend-architect

Use this agent when designing APIs, building server-side logic, implementing databases, or architecting scalable backend systems. This agent specializes in creating robust, secure, and performant backend services. Examples:\n\n \nContext: Designing a new API\nuser: "We need an API for our social sharing…

composio-community/awesome-claude-plugins · 0 tokens

bun-architect

Bun + Elysia architecture specialist. Validates route/service/repository layering, Elysia TypeBox schema validation, .derive() guard patterns, ESM-only discipline, and typed context. Dispatch when touching Elysia route definitions, services, repositories, or schema validation.

onlygian/G-Forge · 61 tokens

django-architect

Django 4+ with DRF architecture specialist. Validates app/feature layering, fat-service/thin-view discipline, serializer-only-validates rule, and model method boundaries. Dispatch when touching views, serializers, services, or models.

onlygian/G-Forge · 52 tokens

laravel-architect

Laravel 10+ architecture specialist. Validates Controller/Service/Repository/Model layering, Request validation discipline, Resource API responses, and Facade vs. class injection. Dispatch when touching controllers, services, repositories, or models.

onlygian/G-Forge · 51 tokens

rust-architect

Rust + Axum + Tokio architecture specialist. Validates handler/service/repository layering, typed AppError with IntoResponse, State/Extension extraction, and async safety. Dispatch when touching route handlers, services, repositories, or error types.

onlygian/G-Forge · 51 tokens