← 返回 Skills 市场
git-xyz

rename-file

作者 xyz · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
212
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install rename-file
功能描述
Rename files in a specified directory with a given prefix. This skill prompts the user for a prefix and directory path, shows a preview of changes, and asks...
安全使用建议
This skill appears to do exactly what it says: batch prepend a prefix to filenames in a directory. Before running it, ensure you have Node.js installed and back up important files (renames are destructive and partial failures can leave a mix of old/new names). Confirm the directory you provide is correct and that you trust the skill to modify files there. Note: the script runs synchronously and does not implement a full transactional rollback, so manual backup is recommended. If you want extra assurance, inspect scripts/rename-files.js yourself (it is short and readable) before granting the skill permission to run.
功能分析
Type: OpenClaw Skill Name: rename-file Version: 1.0.1 The rename-file skill is classified as suspicious due to a potential command injection vulnerability in the execution instructions within SKILL.md. The implementation steps guide the AI agent to execute a Node.js script (scripts/rename-files.js) by interpolating user-provided strings directly into a shell command, which could be exploited to run arbitrary code if the inputs contain shell metacharacters. While the JavaScript logic itself appears to be a legitimate file-renaming utility without evidence of intentional malice or data exfiltration, the insecure execution pattern represents a significant security risk.
能力评估
Purpose & Capability
Name and description say 'rename files with a prefix'; the included Node.js script and SKILL.md implement exactly that. No unrelated binaries, env vars, or network access are requested.
Instruction Scope
Runtime instructions limit actions to listing and renaming files in a user-specified directory, present a preview, and require user confirmation. They do not direct the agent to read other system files, environment variables, or send data externally.
Install Mechanism
No install spec is included (instruction-only skill with a bundled script). The only prerequisite is Node.js, which is appropriate for a bundled JavaScript script.
Credentials
The skill requires no environment variables or credentials. This is proportionate to a local file renaming tool.
Persistence & Privilege
The skill does not request persistent privileges or 'always' presence. It performs file operations only in the directory the user provides, which requires ordinary filesystem permissions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rename-file
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rename-file 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
No changes were detected in this version. - Version 1.0.1 contains no file or documentation changes from the prior release.
元数据
Slug rename-file
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

rename-file 是什么?

Rename files in a specified directory with a given prefix. This skill prompts the user for a prefix and directory path, shows a preview of changes, and asks... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 212 次。

如何安装 rename-file?

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

rename-file 是免费的吗?

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

rename-file 支持哪些平台?

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

谁开发了 rename-file?

由 xyz(@git-xyz)开发并维护,当前版本 v1.0.1。

💬 留言讨论