← Back to Skills Marketplace
johnnywang2001

Env File Toolkit

by John Wang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
127
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install env-file-toolkit
Description
Manage .env files with validate, diff, template generation, merge, and missing-key checks. Use when working with environment variable files, comparing .env.l...
README (SKILL.md)

Env File Toolkit

Swiss-army knife for .env file management. Validate syntax, diff environments, generate templates, merge files, and check for missing keys.

Commands

Validate

Check .env syntax, find duplicates, empty values, and formatting issues:

python3 scripts/env_toolkit.py validate .env

Diff

Compare two .env files — shows keys only in one file and changed values:

python3 scripts/env_toolkit.py diff .env.local .env.production

Template

Generate a .env.example with smart placeholders (strips secrets, infers types):

python3 scripts/env_toolkit.py template .env
python3 scripts/env_toolkit.py template .env -o .env.example
python3 scripts/env_toolkit.py template .env --keep-values  # keep actual values

Merge

Merge multiple .env files (later files override earlier):

python3 scripts/env_toolkit.py merge .env.defaults .env.local -o .env.merged

List Keys

List all variable names in a .env file:

python3 scripts/env_toolkit.py list-keys .env
python3 scripts/env_toolkit.py list-keys .env --with-values

Check Missing

Verify a target .env has all keys from a template:

python3 scripts/env_toolkit.py check-missing .env.example .env
python3 scripts/env_toolkit.py check-missing .env.example .env --strict

Dependencies

  • Python 3.8+ (stdlib only, no pip packages needed)
Usage Guidance
This skill appears to do only local .env file management and is internally consistent. Before running it: (1) Inspect the included script (it's small and uses only the Python stdlib). (2) Be mindful that commands like template --keep-values, merge (without -o), and list-keys --with-values can expose secrets to stdout or to the output file — avoid running them on sensitive production files unless you intend to. (3) Run the tool in a safe directory or with explicit input/output paths you control. No network access or credentials are requested by the skill.
Capability Analysis
Type: OpenClaw Skill Name: env-file-toolkit Version: 1.0.0 The env-file-toolkit bundle provides legitimate utilities for managing environment variable files, including validation, comparison, and template generation. The Python script (scripts/env_toolkit.py) uses only standard libraries, contains no network or shell execution logic, and even includes security-conscious features such as automatically replacing sensitive keys (e.g., 'secret', 'password', 'token') with placeholders when generating example templates.
Capability Assessment
Purpose & Capability
Name/description match the included CLI script (scripts/env_toolkit.py). The declared capabilities (validate, diff, template, merge, list-keys, check-missing) are implemented in the code and the SKILL.md commands map directly to the script. Nothing in the manifest asks for unrelated credentials or tools.
Instruction Scope
SKILL.md instructs the agent to run the included Python script against local .env files. The script only reads and writes files specified by the user and prints results; it does not access other system paths, environment variables, or external endpoints. The instructions are narrowly scoped to .env file management.
Install Mechanism
There is no install spec (instruction-only with an included script). The script uses only Python stdlib; nothing is downloaded or extracted. This presents low install risk.
Credentials
The skill declares no required environment variables, no primary credential, and no config paths. The code does not attempt to read process env vars or external credentials. The requested permissions are proportional to the task of reading/writing .env files.
Persistence & Privilege
always is false and the skill does not request persistent or elevated platform privileges. It does not modify other skills or global agent settings; it only reads/writes files the user supplies.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install env-file-toolkit
  3. After installation, invoke the skill by name or use /env-file-toolkit
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of env-file-toolkit. - Validate .env files for syntax, duplicates, empty values, and formatting issues. - Diff two .env files to compare keys and changed values. - Generate .env.example templates, with options to strip secrets or keep values. - Merge multiple .env files, with support for override ordering. - List variable names (and optionally values) in .env files. - Check that all required keys from a template are present in a target .env. - Pure Python 3.8+ implementation with no external dependencies.
Metadata
Slug env-file-toolkit
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Env File Toolkit?

Manage .env files with validate, diff, template generation, merge, and missing-key checks. Use when working with environment variable files, comparing .env.l... It is an AI Agent Skill for Claude Code / OpenClaw, with 127 downloads so far.

How do I install Env File Toolkit?

Run "/install env-file-toolkit" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Env File Toolkit free?

Yes, Env File Toolkit is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Env File Toolkit support?

Env File Toolkit is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Env File Toolkit?

It is built and maintained by John Wang (@johnnywang2001); the current version is v1.0.0.

💬 Comments