← 返回 Skills 市场
leon2023happy

Openclaw Cfg Safe Edit

作者 leon2023happy · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
210
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-cfg-safe-edit
功能描述
OpenClaw 配置文件修改前的验证规则。用于在修改 openclaw.json 或任何配置文件之前查询文档确认配置项可用性,避免因 OpenClaw 版本更新导致配置不兼容的问题。
安全使用建议
This skill's goal (validate OpenClaw config changes) is reasonable, but the SKILL.md hard-codes a local path (/home/root1/...) and assumes an 'openclaw' CLI without declaring it. Before installing: 1) ask the skill author to remove hard-coded user paths and use $HOME or a discovery step; 2) require the skill metadata to declare the 'openclaw' binary (or document it); 3) confirm the agent will only access intended config files (not arbitrary home dirs); and 4) test in a safe environment. If you do not control /home/root1 or do not have the openclaw CLI installed, do not enable autonomous invocation until these issues are fixed.
功能分析
Type: OpenClaw Skill Name: openclaw-cfg-safe-edit Version: 1.0.0 The skill provides a structured workflow for safely editing OpenClaw configuration files by verifying changes against local documentation and schemas. It uses standard read-only shell commands (ls, grep) and the official 'openclaw' CLI tool to ensure configuration compatibility, with no evidence of malicious intent or data exfiltration.
能力评估
Purpose & Capability
The SKILL.md describes validating OpenClaw configuration edits, which fits the skill name. However, the instructions assume the presence of a locally installed OpenClaw package and CLI (e.g., files under /home/root1/.npm-global/lib/node_modules/openclaw and the 'openclaw' gateway command) while the skill metadata declares no required binaries or environment variables. That mismatch (calling a local CLI but not declaring it) is incoherent.
Instruction Scope
Instructions tell the agent to run shell commands that list and grep a specific absolute path (/home/root1/.npm-global/...) and to invoke 'openclaw gateway config.schema.lookup'. These actions require file-system access and a specific user layout. Hard-coded paths tied to a particular user account are unexpected for a generic skill and could lead to incorrect behavior or unintended access to user files. The skill also instructs consulting online docs, which is reasonable, but the local-path reliance is problematic.
Install Mechanism
This is an instruction-only skill with no install spec and no code files, which is low-risk from an installation perspective. Nothing is downloaded or written to disk by the skill itself.
Credentials
The skill declares no required env vars or credentials, yet its instructions implicitly require access to a user's filesystem and an installed 'openclaw' CLI. The lack of declared required binaries (openclaw) and the use of an absolute home-directory path are disproportionate and ambiguous. A well-scoped skill should declare required binaries or use portable references (e.g., $HOME or a discovery step).
Persistence & Privilege
The skill is not set to always: true and does not request persistent/system-wide settings. It does not modify other skills or agent configuration according to the provided files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-cfg-safe-edit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-cfg-safe-edit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Adds safety validation for editing OpenClaw config files. - Automatically checks documentation and schema before modifying any OpenClaw configuration (e.g., openclaw.json). - Ensures all config changes are compatible with the current OpenClaw version. - Prevents use of unknown or outdated options by verifying existence, correct usage, and type from local and online docs. - Provides clear validation steps for safer configuration management.
元数据
Slug openclaw-cfg-safe-edit
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Openclaw Cfg Safe Edit 是什么?

OpenClaw 配置文件修改前的验证规则。用于在修改 openclaw.json 或任何配置文件之前查询文档确认配置项可用性,避免因 OpenClaw 版本更新导致配置不兼容的问题。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 210 次。

如何安装 Openclaw Cfg Safe Edit?

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

Openclaw Cfg Safe Edit 是免费的吗?

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

Openclaw Cfg Safe Edit 支持哪些平台?

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

谁开发了 Openclaw Cfg Safe Edit?

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

💬 留言讨论