Back to browse
env-manager
officialplatinum (7/8)Clean scan
Install
mayros skill install env-manager
mayros skill install [email protected]
.env comparison, secret pattern detection, validation
README
@apilium/env-manager
Validate, compare, and manage .env files safely. Detect leaked secrets, generate .env.example templates, and ensure consistency across environments.
Installation
Copy this skill directory into your Mayros skills folder:
cp -r skills/env-manager ~/.mayros/skills/env-manager
Or install via the Mayros CLI:
mayros skill install @apilium/env-manager
Usage
Once configured, the agent can:
- Compare environments: diff .env vs .env.example to find missing or extra variables
- Generate .env.example: strip secret values, keep keys and comments
- Validate required vars: check that all variables referenced in code exist in .env
- Detect secrets: scan for AWS keys, GitHub tokens, Stripe keys, private keys, and more
- Gitignore check: verify .env is excluded from version control
- Multi-environment: compare across .env.development, .env.staging, .env.production
Example prompts
"Compare .env with .env.example and show missing variables"
"Generate a .env.example from the current .env"
"Check if any secrets are hardcoded in the source code"
"Is .env in the .gitignore?"
"Validate that all required environment variables are set"
Safety
This skill never outputs secret values. All values are masked with ***. Only key names and whether they are set are shown.
Semantic Predicates
| Predicate | Scope | Description |
|---|---|---|
| env:validated | agent | Validation results from the agent |
| env:config_context | namespace | Shared environment configuration context |
License
MIT
Versions
Comments
Sign in to leave a comment.
Loading comments...