AGENT SKILL

cli-secrets

Use when debugging unauthorized/fallback errors. Flags redacted placeholders (e.g. __OPENCLAW_REDACTED__) as invalid tokens; checks env overrides first.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 6
Forks
0

01 前言 Front Matter

name
cli-secrets
description
Use when debugging unauthorized/fallback errors. Flags redacted placeholders (e.g. __OPENCLAW_REDACTED__) as invalid tokens; checks env overrides first.

02 资源文件 1

03 SKILL.md 正文

CLI secrets — never export redacted placeholders (Hermes gateway and similar)

Some CLIs intentionally redact secrets in config get output (e.g. __OPENCLAW_REDACTED__ in legacy configs). That string is not a valid token.

  • Do not export legacy gateway tokens without verifying the value is a real secret, not a redaction sentinel.
  • Hermes uses its own auth at ~/.hermes_prod/config.yaml — do not confuse Hermes auth with the legacy OpenClaw auth tokens.
  • When debugging “unauthorized” / “falling back to embedded”, check env overrides first — stale exported redacted tokens are a common root cause.

04 同仓库更多 Skills