
⚙️ Env Example Generator
Turn a .env into a safe .env.example you can commit. Keeps every key, strips every value, preserves your comments and key order, and flags the secret-looking keys so you know which ones to rotate. Prints to the screen by default and writes .env.example only when you ask.
- Generate sanitized environment templates for public repositories
- Keep .env.example in sync with newly added configuration keys
- Redact sensitive values from local configs before team sharing
Free
Included in download
- Downloadable skill package
- Works with run a local Python script, and write a file (Claude Code
- 3 permissions declared
Sample input
Create a .env.example file from my current .env so I can push it to GitHub safely.
Sample output
I've generated .env.example. All values have been stripped while preserving keys and comments: # Database DB_HOST= DB_PASS= # Stripe API STRIPE_SECRET_KEY= STRIPE_PUBLIC_KEY= # App Settings DEBUG=true PORT=3000

⚙️ Env Example Generator
Turn a .env into a safe .env.example you can commit. Keeps every key, strips every value, preserves your comments and key order, and flags the secret-looking keys so you know which ones to rotate. Prints to the screen by default and writes .env.example only when you ask.
Free
Included in download
- Downloadable skill package
- Works with run a local Python script, and write a file (Claude Code
- 3 permissions declared
- Instant install
Sample input
Create a .env.example file from my current .env so I can push it to GitHub safely.
Sample output
I've generated .env.example. All values have been stripped while preserving keys and comments: # Database DB_HOST= DB_PASS= # Stripe API STRIPE_SECRET_KEY= STRIPE_PUBLIC_KEY= # App Settings DEBUG=true PORT=3000
About This Skill
What it does
The Env Example Generator automates the tedious and error-prone process of creating template environment files. It parses your active .env file to generate a clean, shareable .env.example version by preserving all your configuration keys, comments, and file structure while completely stripping away sensitive values.
Why use this skill
Manually maintaining example files often leads to "leaked" secrets or outdated templates. This skill ensures your repository documentation stays in sync with your actual configuration without the risk of exposing API keys, database credentials, or private tokens. It handles complex file layouts, including blank lines and organizational comments, making it superior to simple regex scripts.
Workflow & Output
The skill scans your local environment, identifies secret-looking keys, and produces a sanitized output ready for version control. You can preview the changes in stdout or let the agent write the .env.example directly to your project root. It includes built-in guardrails to prevent accidental overwrites and ensures original values never leave your local context.
Use Cases
- Generate sanitized environment templates for public repositories
- Keep .env.example in sync with newly added configuration keys
- Redact sensitive values from local configs before team sharing
- Standardize environment documentation across multiple microservices
Known Limitations
It is a transformer. It strips values and flags secret-looking keys by shape and entropy, so the secret list is a heuristic, not a guarantee. It does not check that your app actually runs or that the keys are correct elsewhere.
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/env-example-generator -o /tmp/env-example-generator.zip && unzip -o /tmp/env-example-generator.zip -d ~/.claude/skills && rm /tmp/env-example-generator.zipFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
File Scopes
Outputs keys with blank values, preserves comments and blank lines, and lists secret-looking keys for review. Never copies a value into the output. Will not overwrite without --force.
Works with any agent that can read a file, run a local Python script, and write a file (Claude Code, Cursor, Codex CLI, and other SKILL.md-compatible agents). Standard library only, no install step. It emits keys only and never prints or writes a real value.