← Back to Skills Marketplace
git-xyz

rename-file

by xyz · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
212
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install rename-file
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rename-file
  3. After installation, invoke the skill by name or use /rename-file
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
No changes were detected in this version. - Version 1.0.1 contains no file or documentation changes from the prior release.
Metadata
Slug rename-file
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 212 downloads so far.

How do I install rename-file?

Run "/install rename-file" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is rename-file free?

Yes, rename-file is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does rename-file support?

rename-file is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created rename-file?

It is built and maintained by xyz (@git-xyz); the current version is v1.0.1.

💬 Comments