Flox Agent Stacks
Your AI agent is a software stack.
A model, an agent like Claude Code, plugins, and the dependencies they need. Flox locks every layer, so you can audit the stack, share it, and run it the same way on every machine.
Pick every layer. Lock every layer.
An agent stack is a model, an agent, plugins, and the dependencies they need. Swap any layer. Flox pins the rest, so the stack runs the same way on every machine.
Ad hoc agents are hard to secure, and hard to compare.
01 The security problem
26.1%
of 31,132 community skills had at least one vulnerability.
Skills with scripts were 2.12× more likely to be vulnerable.
You cannot secure what you cannot identify.
89.6%
of leaked credentials were immediately exploitable.
76.3% of leaks only showed up when instructions and code were read together.
How Your Credentials Are Leaked by LLM Agent Skills · Apr 2026
02 The agent problem
Up to40×
difference in tokens per solved task, from the agent alone.
Same model. Pass rates moved by 8 points at most.
You cannot compare what you cannot reproduce.
- Tools
- 17 → 2
- Success
- 80% → 100%
- 3.5× faster
- 37% fewer tokens
- 42% fewer steps
More tools do not make a better agent. A tested one does.
When AI is the variable, everything else must be the constant.
Make your agent stack reproducible.
Nix locks every layer. Flox makes the whole stack easy to build, audit, share, and run with the agent you choose.
Build a trusted skill.
Import and pin
flox agent import obra/superpowersBuild
git add .floxflox build agent-plugin-superpowersAudit
flox install agent-stacks/skillspectorflox agent audit ./result-agent-plugin-superpowersPublish
flox publish agent-plugin-superpowers
Use it with any agent.
Search
flox search superpowersInstall and activate
flox install agent-stacks/agent-plugin-superpowersflox activateLaunch an agent
flox agent launch claude
Pin sources and dependencies.
A skill is more than instructions. Record its source revision with the libraries and command-line tools it needs.
Reproduce what you audited.
Tie the review to one artifact and its dependencies. Pinning keeps that version. It does not make unsafe code safe.
Compare agents fairly.
Hold skills and tools fixed. Test each agent on the same tasks. Measure success, cost, and time.
Share the complete environment.
Give the team the same locked packages and dependencies. Nobody rebuilds the setup by hand.
Build a trusted stack. Find the effective agent.
Five steps to your first Agent Stack. Want Codex, OpenCode, or Pi? Install it, then change one word.
Install Flox
Get Flox 1.14.1 or later for macOS or Linux.
Turn on extensions
This adds the
flox agentcommand.flox config --set features.beta trueCreate a stack
flox initflox install flox/flox-agentflox install agent-stacks/claude-codeflox install agent-stacks/agent-plugin-superpowersLaunch it
flox activate -- flox agent launch claude


