🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Env Config Validator

by @charlie-morrison

Validate .env files against schemas, compare environments (dev vs prod), detect common mistakes (trailing spaces, placeholders, invalid ports, missing protoc...

πŸ’‘ Examples

# Validate with auto-detected common checks
python3 scripts/validate_env.py .env

Validate against a schema

python3 scripts/validate_env.py .env --schema env-schema.json

Compare dev vs prod

python3 scripts/validate_env.py --diff .env.development .env.production

Generate schema from existing .env

python3 scripts/validate_env.py --generate-schema .env -o env-schema.json

JSON output for CI

python3 scripts/validate_env.py .env --output json --severity error

βš™οΈ Configuration

| Flag | Default | Description | |------|---------|-------------| | --schema | β€” | JSON schema file for type/required validation | | --diff FILE FILE | β€” | Compare two env files | | --generate-schema | β€” | Auto-generate schema from .env file | | --output | text | Output format: text, json, markdown | | -o | stdout | Output file path | | --ignore | β€” | Skip specific check IDs (repeatable) | | --severity | info | Minimum severity: error, warning, info |

View on ClawHub
TERMINAL
clawhub install env-config-validator

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’