Env Config

环境变量配置管理。.env模板生成(Node/Python/Go/Docker)、验证、环境变量生成、多环境合并、加密建议、文档化。Environment variable config manager with templates, validation, generation, multi-env merge...

MIT-0 · Free to use, modify, and redistribute. No attribution required.
0 · 241 · 1 current installs · 1 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name, description, SKILL.md and the two scripts implement .env template generation (Node/Python/Go/Docker/etc.), validation, compare, base64 encode/decode, gitignore snippet, and a small local data/logger — all coherent with an environment-variable config manager.
Instruction Scope
SKILL.md and scripts focus on .env tasks. The scripts explicitly read .env and .env.example, can base64-encode/decode their contents, and provide comparison/validation. This is within the stated scope, but be aware the tool will read any .env file you point it at (which may contain secrets) and will print encoded/decoded content to stdout.
Install Mechanism
Instruction-only skill (no install spec). Provided scripts are local and do not download or execute remote artifacts. No high-risk install mechanism observed.
Credentials
The skill does not request credentials or special env vars, but the scripts honor ENV_CONFIG_DIR/XDG_DATA_HOME/HOME and will create/read files under the user's data directory. Templates include placeholder names for services (AWS, OPENAI, STRIPE) as expected, but the tool will read .env files that may contain real secrets — so access to those files is functionally required but sensitive.
Persistence & Privilege
always:false and no platform-level privileges. The scripts create a per-user data directory (default: ${XDG_DATA_HOME:-$HOME/.local/share}/env-config), write history.log and data.log, and may persist entries added via commands. This is reasonable for a CLI utility but means user data and command history are stored on disk.
Assessment
This skill appears to be what it says: a local .env/template/validation tool. Before using it, review the scripts (they are included), and be aware: 1) invoking validate/encrypt/decrypt reads your .env files (which often contain secrets); 2) encrypt uses Base64 (not real encryption) and will expose encoded secrets on stdout — do not treat that as secure storage; 3) the tool creates a per-user data dir (~/.local/share/env-config by default) and logs history/data, so sensitive values may be written to disk; 4) if you want to limit persistence, set ENV_CONFIG_DIR to a controlled location or inspect/clean the data directory after use. If you are comfortable with those behaviors, the skill is coherent and usable; if not, run it in an isolated container or inspect/modify the scripts before running.

Like a lobster shell, security has layers — review code before you run it.

Current versionv2.0.0
Download zip
latestvk97a3xvt08tqs7vm792dn43mk1832dbcproductivityvk978m528x5jkwh7g3axp5vyg3h82p6tm

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

SKILL.md

Env Config Manager

环境变量配置管理。.env模板生成(Node/Python/Go/Docker)、验证、环境变量生成、多环境合并、加密建议、文档化。Environment variable config manager with templates, validation, generation, multi-env merge, encryption, documentation. .env、配置管理、环境变量。

使用场景

💡 无论你是新手还是专业人士,都能快速上手

可用命令

  • template — template
  • validate — validate
  • generate — generate
  • merge — merge
  • encrypt — encrypt
  • document — document

专业建议

  • 每个项目都有 .env.example(不含真实值)
  • .env 加入 .gitignore
  • 变量名全大写下划线分隔: DATABASE_URL
  • 布尔值用 true/false 不用 1/0
  • 生产环境不要用 .env 文件,用环境变量注入

Env Config Manager by BytesAgain

Commands

  • compose — ============================================
  • decode — Execute decode
  • diff — Execute diff
  • encode — Execute encode
  • fastapi — ============================================
  • gitignore — Execute gitignore
  • golang — ============================================
  • lint — Execute lint
  • node — Execute node
  • nodejs — ============================================
  • nuxt — ============================================
  • sort — 🔑 .env.example 中有但 .env 中缺少的键:

💬 Feedback & Feature Requests: https://bytesagain.com/feedback Powered by BytesAgain | bytesagain.com

Examples

# Show help
env-config help

# Run
env-config run

Files

4 total
Select a file
Select a file to preview.

Comments

Loading comments…