← 返回 Skills 市场
johnnywang2001

Env File Toolkit

作者 John Wang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
127
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (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)
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install env-file-toolkit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /env-file-toolkit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug env-file-toolkit
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 127 次。

如何安装 Env File Toolkit?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install env-file-toolkit」即可一键安装,无需额外配置。

Env File Toolkit 是免费的吗?

是的,Env File Toolkit 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Env File Toolkit 支持哪些平台?

Env File Toolkit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Env File Toolkit?

由 John Wang(@johnnywang2001)开发并维护,当前版本 v1.0.0。

💬 留言讨论