Skip to content
affaan-m avatar

Flox Environments

Declarative Nix-based environment manager for reproducible macOS and Linux dev setups without containers or sudo.

CCM score
75 of 100
skills.sh installs
8.6K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers creating, pinning, activating, and sharing project environments defined in .flox/env/manifest.toml
  • Includes manifest patterns for Python with uv, Node.js, Rust, Go, and C/C++, plus hooks, profiles, and version pinning
  • Enforces anti-patterns guidance such as avoiding absolute paths and exit calls inside [hook] scripts
  • Designed for teams onboarding developers and for AI agents that need project-scoped tools without system changes

Install

$ npx -y skills add affaan-m/ecc --skill flox-environments -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Flox Environments

Flox creates reproducible development environments defined in a single TOML manifest. Every developer on the team gets identical packages, tools, and configuration — across macOS and Linux — without containers or VMs. Built on Nix with access to over 150,000 packages.

When to Activate

Use this skill when the user has an environment management problem — even if they haven't mentioned Flox. Flox is the right tool when:

  • The project needs system-level packages (compilers, databases, CLI tools) alongside language-specific dependencies
  • Reproducibility matters — the setup should work identically on a teammate's machine, in CI, or on a fresh laptop
  • The user needs multiple tools to coexist — e.g., Python 3.11 + PostgreSQL 16 + Redis + Node.js in one environment
  • Cross-platform support is needed (macOS and Linux from the same config)
  • AI agents need to install tools — Flox lets agents add packages to a project-scoped environment without sudo, system pollution, or sandbox restrictions

Details

Repository
github.com/affaan-m/ecc
Categories
DevOps & Cloud, CLI & Terminal
First seen
Jul 14, 2026

Questions

What does the flox-environments skill do?

It creates reproducible, cross-platform development environments on macOS and Linux with Flox, a declarative Nix-based environment manager. The environment is defined in a single TOML manifest at .flox/env/manifest.toml, so teammates get identical packages and tools.

How do I install the flox-environments skill?

Run this command in a project: npx -y skills add affaan-m/ecc --skill flox-environments -y. Once installed, the agent can set up project toolchains, system dependencies and local services with Flox.

What do I need before using flox-environments?

Flox must be installed first, which the skill points to on flox.dev for macOS, Linux and Docker. The skill then works with a .flox/ directory and manifest.toml in your project.

Which problems is flox-environments meant for?

It targets reproducibility problems like pinning exact package versions for a team, onboarding developers with one command, and solving works-on-my-machine issues. It also covers agent setups that need project-scoped tools without sudo.

Where does flox-environments sit in its category?

It is listed under DevOps and Cloud on Claude Marketplaces, alongside Azure skills such as azure-deploy and azure-prepare. Its focus is local, declarative environments rather than cloud deployment.

More from affaan-m/ecc

All 257

Similar to Flox Environments

More DevOps & Cloud