Flux
Designs schemas, writes migrations, and builds data pipelines that model reality and evolve without pain. Use when designing a database schema, planning a zero-downtime migration, or building ETL/ELT pipelines. Trigger with \"design database schema\", \"write zero-downtime migration\".
- Type
- Subagent
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- plugins/ai-agency/tonone/agents/flux.md
- Model
- sonnet
- Version
- 1.0.0
- Author
- Jeremy Longshore <[email protected]>
What Flux is
Flux is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Flux and get back a compact result.
How to install Flux
Claude Code
- Download flux.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/ai-agency/tonone/agents/flux.md, shared under the repository's MIT license. Read the full file 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.
Question is never "what's perfect schema?" — it's "what schema ships today, and what migration is straightforward from here?"
Platform Fluency
- Relational: PostgreSQL (default), MySQL/MariaDB, SQLite, CockroachDB
- Cloud-managed: Cloud SQL, RDS/Aurora, Planetscale, Neon, Supabase, Turso, Cloudflare D1
- NoSQL: MongoDB (Atlas), Firestore, DynamoDB, Redis, Cloudflare KV
- Data warehouses: BigQuery, Redshift, Snowflake, ClickHouse, DuckDB
- Pipelines: Apache Airflow, Dagster, Prefect, dbt, Fivetran, Cloud Dataflow, AWS Glue
- Streaming: Kafka, Pub/Sub, Kinesis, Redis Streams, Cloudflare Queues
- ORMs/query builders: Prisma, Drizzle, SQLAlchemy, TypeORM, GORM, Diesel
- Migration tools: Prisma Migrate, Alembic, Flyway, golang-migrate, dbmate
Default choice: PostgreSQL. Handles OLTP, JSONB when schema flexibility matters, full-text search, row-level security, extensions. Boring in best way. Only deviate when clear, specific reason — not because something newer looks interesting.
Always detect project's data stack first. Check ORM configs, connection strings, migration directories.
Mindset
Best data model reflects reality today and evolves without pain tomorrow. Normalize until it hurts, denormalize until it works. Data has gravity — moving it expensive, put it in right place first. Schema you ship today is migration you maintain forever.
What you skip: 6-month data warehouse projects before you have data worth warehousing, event sourcing before audit requirements, CQRS before read/write contention, dimensional modeling before you have analysts, sharding before hitting Postgres ceiling.
What you never skip: created_at and updated_at on every table. Indexes on foreign keys. Constraints enforcing what application already assumes. Rollback migration for every forward migration. Backups that are actually tested.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Flux?
Flux is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Designs schemas, writes migrations, and builds data pipelines that model reality and evolve without pain. Use when designing a database schema, planning a zero-downtime migration, or building ETL/ELT pipelines. Trigger with \"design database schema\", \"write zero-downtime migration\".
How do I install Flux in Claude Code?
Download flux.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Flux in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Flux safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Maintainx Pack Claude Code skill pack for MaintainX CMMS (24 skills) Plugin · jeremylongshore/tons-of-skills-marketplace
- Make Builder Design Make.com scenarios with AI assistance Slash Command · jeremylongshore/tons-of-skills-marketplace
- Make Scenario Builder Create Make.com (Integromat) scenarios with AI assistance - visual automation design Plugin · jeremylongshore/tons-of-skills-marketplace
- Make Expert Design and document Make.com (Integromat) visual automation scenarios with modules, routers, error handling, and cost estimates. Use when building or architecting a Make.com integration workflow. Trigger with "design a Make scenario", "build a Make workflow". Subagent · jeremylongshore/tons-of-skills-marketplace
- Folk Designs orgs, writes job descriptions, builds comp frameworks, and produces onboarding playbooks and migration plans that ship to the team. Use when designing headcount structure, writing a JD with comp bands, or planning human-to-agent role migration. Trigger with \"design org structure\", \"build hiring pipeline\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Flashloan Agent Simulate flash loan strategies across Aave, dYdX, and Balancer — model DEX arbitrage, liquidation, and collateral-swap transactions with full fee, gas, and slippage breakdowns. Use when evaluating flash loan profitability before execution or researching MEV arbitrage vectors. Trigger with \"simulate flash loan\", \"flash loan arbitrage\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Forge Builds the infrastructure everything runs on — writes IaC, makes cloud provider and sizing decisions, and ships right-sized architecture for today's scale. Use when provisioning cloud resources, writing Terraform configs, or choosing compute/database architecture. Trigger with \"provision infrastructure\", \"write Terraform for this\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Fit Selects algorithms, tunes hyperparameters, and builds reproducible training pipelines from baseline to production. Use when choosing a model architecture, designing a tuning strategy, or auditing training code for leakage and reproducibility. Trigger with \"design training pipeline\", \"tune model hyperparameters\". Subagent · jeremylongshore/tons-of-skills-marketplace