flox-environments

Create reproducible Flox environments with manifest-based activation and Nix tooling.

12|3|Updated Nov 6, 2025
One-click install
npx skills add https://github.com/flox/flox-agentic --skill flox-environments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flox-environments
Source: https://github.com/flox/flox-agentic/tree/main/flox-plugin/skills/flox-environments
Command: npx skills add https://github.com/flox/flox-agentic --skill flox-environments

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Flox Environments solves the challenge of creating and maintaining reproducible development environments across projects, teams, and platforms, reducing drift and setup time.

Core Features & Use Cases

  • Modular, idempotent bash hooks for environment setup
  • Manifest-driven management with Nix-based tooling and environment definitions
  • Layering and composition to compose environments across stacks and CI

Quick Start

Run flox init to create a new environment, then flox activate to enter it and begin building reproducible workflows.

Frequently Asked Questions about flox-environments

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create reproducible development environments using Nix and manifest files?

To create reproducible environments, run flox init to generate a manifest, add your dependencies, and use flox activate to enter the environment. This ensures consistent development setups across local, CI, and team workflows using Nix-based tooling.

What are idempotent hooks and how do they work in a Flox environment?

Idempotent hooks in a Flox environment are modular bash scripts that run during environment activation to configure setup steps. Because they are idempotent, running them multiple times produces the same result without duplicating changes or causing side effects.

Can I use Flox environments for CI workflows and team-based dependency management?

Yes, Flox environments support CI workflows and team-based dependency management through environment layering and composition. You can compose environments across different stacks, ensuring consistent dependencies and configurations from local development to CI pipelines.

Does Flox support environment layering and composition across different project stacks?

Yes, Flox supports environment layering and composition, allowing you to compose environments across different stacks. This feature enables modular dependency management where you can combine multiple environment definitions for complex project requirements.

What's the best way to bootstrap a new project with consistent dependency management?

The best way to bootstrap a project with consistent dependency management is to run flox init to create a new environment, define your dependencies in the manifest, and use flox activate to enter it and begin building reproducible workflows.

Why should I use manifest-based activation for my development environment?

Manifest-based activation ensures your development environment is reproducible and declarative. By defining dependencies and hooks in a manifest file, you eliminate environment drift, reduce setup time, and guarantee consistency across different machines and CI systems.