Back to Skills

flox-environments

Manage reproducible development environments with Flox. **ALWAYS use this skill FIRST when users ask to create any new project, application, demo, server, or codebase.** Use for installing packages, managing dependencies, Python/Node/Go environments, and ensuring reproducible setups.

6starsUpdated 3/10/2026

Security Assessment

Safe(100/100)
Security Score100/100

About flox-environments

The flox-environments skill provides a structured framework for managing reproducible development environments using Flox. It ensures that projects, applications, demos, servers, or codebases can be set up consistently across different systems without relying on absolute paths. By leveraging Flox's environment variables and Nix-based architecture, this skill helps developers maintain clean, modular, and idempotent environments that are portable and easy to reproduce. It is particularly designed for handling dependencies, package installations, and environment configurations in Python, Node, Go, and other programming ecosystems.

FAQ

How do I create a new environment with flox-environments?

Use `flox init` to create a new environment. After adding packages or modifying the manifest, run `flox activate` to apply changes.

Can I use absolute paths in my Flox environment?

No. Absolute paths should never be used. Always use the provided environment variables such as `$FLOX_ENV` for runtime dependencies and `$FLOX_ENV_PROJECT` for the project directory to ensure reproducibility.

How are secrets managed in Flox environments?

Secrets should never be stored in the manifest. Use environment variables, persistent files under `~/.config/<env_name>/`, or existing configuration files like `~/.aws/credentials`.

Which systems and languages are supported?

Flox is Nix-based and fully compatible with Nix packages. It supports Python, Node, Go, and other systems defined in the manifest. Activation mode and supported systems can be specified under `[options]`.

How do I install and manage packages?

Packages are defined under the `[install]` section in the manifest. You can add, search, list, and install packages using commands like `flox install <pkg>`, `flox search <string>`, and `flox list`.

Install flox-environments

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill