Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By luocfprimev1.2.0MITIn 1 marketplace
envlit skill for Claude Code — helps AI assistants manage environment variable profiles
Claude loads one when your task matches it, or you run it by name.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A simple CLI tool to organize, load, and switch between your project's environment variable contexts.
pip install envlit
Initialize envlit in your shell (add to .bashrc or .zshrc):
eval "$(envlit init)"
Create a config file at .envlit/default.yaml:
dotenv:
- "./.env"
- "./.env.local"
env:
PROJECT_MODE: "Development"
DEBUG: "true"
Dotenv paths are relative to the YAML file. Later dotenv files override earlier ones with a warning, and env: overrides dotenv values last. Declared files are required; envlit never auto-discovers .env files.
Load and unload environment variables:
el # Load default profile
echo $PROJECT_MODE # Output: Development (variable set by envlit)
echo $DEBUG # Output: true (variable set by envlit)
eul # Unload environment variables
echo $PROJECT_MODE # Output: (empty - variable restored to original state)
echo $DEBUG # Output: (empty - variable restored to original state)
.env files with deterministic precedence| Feature | envlit | direnv | dotenv |
|---|---|---|---|
| Auto-activation on cd | ❌ | ✅ | ❌ |
| Manual load/unload | ✅ | ❌ | ✅ |
| State restoration | ✅ Full restore | ⚠️ Basic | ❌ No |
| Config format | YAML | Shell/direnvrc | .env |
| Dynamic CLI flags | ✅ | ❌ | ❌ |
| PATH operations | ✅ | ✅ | ❌ |
| Lifecycle hooks | ✅ 4 stages | ⚠️ Limited | ❌ |
| Config inheritance | ✅ | ❌ | ❌ |
| Manual change detection | ✅ | ❌ | ❌ |
Key Differences:
.env file loading, no restoration or advanced features. Good for 12-factor apps but lacks state management.When to use envlit:
[!TIP] Install the envlit skill to let your AI assistant manage envlit profiles directly.
Claude Code — install via marketplace:
/plugin marketplace add luocfprime/envlit /plugin install envlit-skill@envlitOr copy
skills/envlit/SKILL.mdto~/.claude/skills/envlit/SKILL.md
Visit luocfprime.github.io/envlit for full documentation.
# Install dependencies
make install
# Run tests
pytest
MIT License - see LICENSE for details.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub luocfprime/envlit --plugin envlit-skillPlugins from other owners that cover similar ground