OpenClaw配置管理最佳实践
Analysis
This is a coherent OpenClaw configuration guide, but it asks the agent to read and patch full configuration that can contain tokens and persistent agent/channel settings without clear redaction or approval boundaries.
Findings (3)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
每次修改配置前,按此顺序执行: ... gateway config.get ... gateway config.patch ... 修改后用 gateway config.get 验证
The skill tells the agent to use a broad configuration patch command as the normal workflow. While purpose-aligned, it does not specify user confirmation of the exact diff, backups, rollback, or limits on which OpenClaw settings may be changed.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
"apiKey": "sk-..." ... "token": "YOUR_BOT_TOKEN" ... "token": "YOUR_GATEWAY_TOKEN"
The reference paths include provider API keys, bot tokens, and gateway tokens. This is expected for configuring providers and channels, but users should recognize that these credentials grant access to external accounts or gateway functions.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
`gateway config.get` | 查看当前完整配置
The guide instructs the agent to view the complete current configuration. The included reference shows that configuration can contain API keys and tokens, but the skill does not instruct the agent to redact secrets or limit what is brought into conversation context.
