← 返回 Skills 市场
codeinonenight

OpenClaw Safe Config

作者 codeinonenight · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
138
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-safe-config
功能描述
Use when editing openclaw.json, adding or changing config keys, troubleshooting a gateway crash after a config change, validating config before restart, or r...
安全使用建议
This skill is an instruction-only helper for safely editing ~/.openclaw/openclaw.json. Before using it: confirm you have the openclaw CLI installed and working; ensure the hard-coded grep path matches where openclaw is installed on your system (your node/npm installation might be in a different path); replace the KEY placeholder in the grep commands when verifying keys; run the backup step before any edit and test restores in a safe environment if possible. The skill's commands operate only on local files and do not exfiltrate secrets.
功能分析
Type: OpenClaw Skill Name: openclaw-safe-config Version: 1.0.0 The skill provides a legitimate and safe protocol for managing the OpenClaw configuration file (~/.openclaw/openclaw.json). It includes best practices such as automated backups, verifying configuration keys against the local source code (SKILL.md), and using Python for safe JSON manipulation to prevent syntax errors. No indicators of data exfiltration, malicious execution, or prompt injection were found.
能力评估
Purpose & Capability
The skill's name/description match the actions in SKILL.md: it backs up ~/.openclaw/openclaw.json, verifies key names against openclaw source, edits JSON via a safe Python snippet, validates via the openclaw CLI, and provides recovery steps. All requested operations are proportional to editing/validating config.
Instruction Scope
Instructions are narrowly scoped to the gateway config and local openclaw installation. One practical caveat: the grep path is hard-coded to an nvm node_modules path (~/.nvm/versions/node/v22.22.0/...), which may not exist on the user's system and could cause false negatives when verifying keys; the grep usage also requires the user to replace the KEY placeholder. Otherwise the steps do not read or transmit external data beyond the local filesystem and the local 'openclaw' CLI.
Install Mechanism
No install spec or code is included; this is instruction-only, so nothing is written or downloaded by the skill itself.
Credentials
The skill declares no environment variables or credentials and the instructions do not request secrets or unrelated configuration. All file accesses are to local openclaw files and (optionally) local node_modules for verification.
Persistence & Privilege
always is false and the skill does not request persistent system presence or modify other skills or system-wide agent settings. The default model-invocation setting (allowing autonomous calls) is normal and not problematic here given the limited, local scope of the instructions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-safe-config
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-safe-config 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Safe protocol for editing openclaw.json — backup, source verification, doctor validation before restart. Prevents gateway outages from unknown config keys.
元数据
Slug openclaw-safe-config
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

OpenClaw Safe Config 是什么?

Use when editing openclaw.json, adding or changing config keys, troubleshooting a gateway crash after a config change, validating config before restart, or r... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 138 次。

如何安装 OpenClaw Safe Config?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-safe-config」即可一键安装,无需额外配置。

OpenClaw Safe Config 是免费的吗?

是的,OpenClaw Safe Config 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

OpenClaw Safe Config 支持哪些平台?

OpenClaw Safe Config 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 OpenClaw Safe Config?

由 codeinonenight(@codeinonenight)开发并维护,当前版本 v1.0.0。

💬 留言讨论