Install
openclaw skills install env-ops-standardSafe .env key-first operations (CRUD) with secret-safe defaults. Use when troubleshooting missing env keys, auth/config failures, or when asked to add/update/remove/list .env entries. Always list/check keys first and never expose secret values unless the user explicitly requests it.
openclaw skills install env-ops-standardEnforce a Key-First SOP for .env management.
Detailed naming/comment standard lives in:
{baseDir}/references/env-key-standard.mdWhen user asks about naming conventions, comment templates, key semantics clarity, or ambiguity prevention, read and follow that reference.
node {baseDir}/scripts/envsafe.js --file <ENV_FILE> keysnode {baseDir}/scripts/envsafe.js --file <ENV_FILE> exists KEYset (new key must include --comment by default policy)unsetnode {baseDir}/scripts/envsafe.js --file <ENV_FILE> lintnode {baseDir}/scripts/envsafe.js --policy /home/node/.openclaw/envsafe-policy.json --profile openclaw-core --file <ENV_FILE> doctor/home/node/.openclaw/.env unless user specifies otherwise..env full content.set defaults to stdin-only input. Passing value via argv requires explicit --allow-argv.--comment "...") to avoid ambiguity.used-by and updated markers).^[A-Z][A-Z0-9_]*$), no ad-hoc naming.--backup-keep, --backup-ttl-days).--force is explicitly passed.unset is destructive; confirm intent if user did not explicitly ask to remove key.node {baseDir}/scripts/envsafe.js --file /home/node/.openclaw/.env keysnode {baseDir}/scripts/envsafe.js --file /home/node/.openclaw/.env exists OPENAI_API_KEYprintf '%s' 'NEW_VALUE' | node {baseDir}/scripts/envsafe.js --file /home/node/.openclaw/.env set OPENAI_API_KEY --stdinprintf '%s' 'NEW_VALUE' | node {baseDir}/scripts/envsafe.js --file /home/node/.openclaw/.env set NEW_PROVIDER_API_KEY --stdin --comment "Provider key for xxx integration"printf '%s' 'NEW_VALUE' | node {baseDir}/scripts/envsafe.js --file /home/node/.openclaw/.env set OPENAI_API_KEY --stdin --if-missingnode {baseDir}/scripts/envsafe.js --file /home/node/.openclaw/.env unset OPENAI_API_KEYnode {baseDir}/scripts/envsafe.js --file /home/node/.openclaw/.env lintnode {baseDir}/scripts/envsafe.js --file /home/node/.openclaw/.env doctornode {baseDir}/scripts/envsafe.js --file /home/node/.openclaw/.env --strict doctor... set/unset ... --dry-runnode {baseDir}/scripts/envsafe.js --policy /home/node/.openclaw/envsafe-policy.json policykeys: one key per lineexists: prints present or missingset/unset: prints changed count + backup file pathlint: prints OK if clean; otherwise prints findings and exits non-zero