Install
openclaw skills install @zhaoxinghua09-cell/env-var-audit环境变量审计器 — 代码里 os.getenv 了三个新变量忘写进 .env.example,新人克隆跑不起来;更怕的是哪个密码被硬编码进了源码(零依赖,确定性输出,rc=0/1/2,--json 机器可读) 适用场景:当需要环境变量审计器能力时使用本技能;触发词:env-var-audit。
openclaw skills install @zhaoxinghua09-cell/env-var-audit凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:skill-quality-gate
os.getenv variables in committed code are synced to .env.example.python env_var_audit.py --path <project dir> --check-hardcoded-sec --json--path: the source directory or file to scan.--check-hardcoded-sec: detect hardcoded secrets (passwords, API keys).--check-env-examples: flag variables used in code but not defined in .env.example.--json: machine-readable JSON report for automation..env.example exists with the needed variable placeholders.python env_var_audit.py --path . --json to scan the repo..env.example, or remove the hardcoded secret.os.getenv 变量已同步更新到 .env.example。python env_var_audit.py --path <项目目录> --check-hardcoded-sec --json--path: 指定需要扫描的源代码目录或文件路径。--check-hardcoded-sec: 检测硬编码密钥(如密码、API Key)。--check-env-examples: 识别代码中使用了但未在 .env.example 定义的新变量。--json: 生成机器可读的 JSON 报告,便于自动化工具解析。.env.example 模板存在且包含必要变量占位符。python env_var_audit.py --path . --json 扫描当前仓库目录。.env.example 或移除硬编码密钥代码。