affaan-m avatar

Flox Environments

This one teaches Claude to set up Flox environments, which are declarative, Nix-based dev environments that work identically across macOS and Linux without containers. It's pitched at the "works on my machine" problem and agent coding scenarios where you need project-scoped system packages without sudo. The guide covers manifest.toml structure, package installation patterns including version pinning and conflict resolution, and language-specific recipes for Python with uv, Node, Rust, Go, and C++. Useful context on $FLOX_ENV vs $FLOX_ENV_CACHE for package paths versus persistent storage like venvs. If your project needs reproducible toolchains with databases, compilers, and native libs all declared in one file, this covers the patterns.

skills.sh installs
5.4K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Backend & APIs, AI & Agent Building, Databases
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1affaan-m avatartinystruct-patternsaffaan-m/eccExpert guidance for developing with the tinystruct Java framework. Use when working on the tinystruct codebase or any project built on tinystruct — including cr5.3Kskills.sh installs
2grafana avatark6grafana/skillsGenerate, validate, and review k6 test scripts — load, stress, spike, soak, smoke, breakpoint, functional, and protocol. Covers HTTP, WebSocket, gRPC, browser, 5.3Kskills.sh installs
3samber avatarchrome-extensionsamber/cc-skillsComprehensive guide for building Chrome extensions with Manifest V3. Use this skill whenever the user mentions Chrome extension, browser extension, manifest.jso5.3Kskills.sh installs
4affaan-m avatarprediction-market-risk-reviewaffaan-m/eccReview prediction-market, basket, oracle, and trading-agent workflows for compliance, safety, data-quality, privacy, and execution risk. Use before any workflow5.3Kskills.sh installs
5forcedotcom avatarexperience-ui-bundle-deployforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory and the task involves deploying, pushing to an org, or post-deploy org setup. Use this skil5.3Kskills.sh installs
6forcedotcom avatarexperience-ui-bundle-salesforce-data-accessforcedotcom/sf-skillsMUST activate when a uiBundles/*/src/ project does ANY Salesforce record operation — reading, creating, updating, deleting, or caching/refreshing query results.5.3Kskills.sh installs