← Back to Skills Marketplace
git-xyz

rename-fill

by xyz · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
184
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install rename-fill
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 what it says (batch-rename files), but do not run the included script simply to 'preview' changes: the script prints a preview and then performs renames with no dry-run or interactive confirmation. Before installing or invoking: 1) Test the script in a safe disposable directory to confirm behavior. 2) Ensure the agent implementation generates the preview itself (read directory listing) and only runs the script after explicit user confirmation. 3) Ask the author to add a --dry-run flag or an explicit confirmation prompt to the script, or modify the runtime so the script is executed only after the user confirms. 4) Back up important files before using on real data.
Capability Analysis
Type: OpenClaw Skill Name: rename-fill Version: 1.0.0 The skill provides a legitimate utility for batch renaming files but contains a shell injection vulnerability in the SKILL.md execution instructions. Specifically, user-provided inputs for the prefix and directory path are passed directly into a shell command (`node ... "<prefix>" "<directory-path>"`), which could be exploited if the AI agent does not properly sanitize the inputs. The core logic in `scripts/rename-files.js` is functional and transparent, utilizing standard Node.js `fs` modules for file operations with built-in checks and confirmation steps.
Capability Assessment
Purpose & Capability
Name, description, SKILL.md and the included Node.js script all describe a batch file-renaming tool that prepends a prefix. The presence of a single small script is proportionate. Minor inconsistency: skill registry name 'rename-fill' vs SKILL.md/name 'rename-file', but this is likely cosmetic.
Instruction Scope
SKILL.md instructs the agent to show a preview and ask for confirmation before executing the rename. The included script prints a preview but does not offer a dry-run or pause for interactive confirmation; if the agent executes the script to 'preview', the script will proceed to rename immediately. This mismatch between the narrative preview step and the script's behavior is the key incoherence and could lead to accidental renames if the agent runs the script for previewing.
Install Mechanism
Instruction-only skill with a small bundled script; no install steps, package downloads, or external installers. Lowest-risk install profile.
Credentials
No environment variables, credentials, or config paths requested. The skill requires Node.js to be present, which is consistent with the shipped JavaScript script.
Persistence & Privilege
No elevated persistence requested (always:false). The skill does not request to modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rename-fill
  3. After installation, invoke the skill by name or use /rename-fill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of the rename-file skill. - Batch renames all files in a specified directory by adding a user-defined prefix. - Asks for prefix and directory path, with support for both current and custom directories. - Provides a preview of filename changes before renaming and requires user confirmation. - Only renames files (not directories), preserves extensions, and skips files with existing target names. - Displays a summary of results, including errors or skipped files. - Requires Node.js for script execution.
Metadata
Slug rename-fill
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is rename-fill?

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 184 downloads so far.

How do I install rename-fill?

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

Is rename-fill free?

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

Which platforms does rename-fill support?

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

Who created rename-fill?

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

💬 Comments