flox-sharing
Sharing and composing Flox environments. Use for environment composition, remote environments, FloxHub, and team collaboration patterns.
Security Assessment
About flox-sharing
The 'flox-sharing' skill enables the sharing and composition of environments, helping teams and developers work with pre-configured, reusable environments. It solves the problem of managing complex dependencies and ensuring consistent environments across development, testing, and production environments. By utilizing tools like FloxHub and Git, developers can easily share environment configurations while maintaining control over their own codebase and dependencies. It helps automate the process of environment composition, making it easier to merge various pre-built environments into a single functional stack.
FAQ
How do I share an environment using Flox?
You can share environments via Git by committing the `.flox/` directory to your repository, or use FloxHub to push the environment definition with the `flox push` command.
Can I compose multiple environments together?
Yes, you can merge multiple environments at build time using the `[include]` section in the environment manifest. This allows you to create a stack of environments tailored to your needs.
Is it possible to share environments without including source code?
Yes, using FloxHub, you can push only the environment definition (`.flox/` directory), excluding the source code and other files.
Can I use Flox to activate remote environments?
Yes, you can activate a remote environment using the `flox activate -r owner/environment-name` command.
What are the best practices for creating composition-optimized environments?
Best practices include avoiding overlapping variable names, using namespaced naming conventions, keeping hook logic minimal, and testing composability by activating each environment standalone before composition.
Install flox-sharing
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
flox/flox-agentic