← 返回 Skills 市场
sky-lv

Intelligent File Renamer

作者 SKY-lv · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
64
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install intelligent-file-renamer
功能描述
Batch rename files using pattern matching and AI suggestions
使用说明 (SKILL.md)

skylv-smart-renamer

Intelligent batch file renamer. 12 rules, preview, undo.

Skill Metadata

  • Slug: skylv-smart-renamer
  • Version: 1.0.0
  • Description: Batch rename files with 12 intelligent rules. Preview before applying, undo capability. lowercase, uppercase, date prefix, sequence, replace, more.
  • Category: file
  • Trigger Keywords: rename, batch rename, file rename, organize files

Rename Rules (12)

Rule Description
lowercase Convert to lowercase
uppercase Convert to uppercase
trim Remove leading/trailing spaces
spaces_to_underscores Replace spaces with _
underscores_to_spaces Replace _ with spaces
remove_special Remove special characters
prefix \x3Ctext> Add prefix
suffix \x3Ctext> Add suffix before extension
replace \x3Cfind> \x3Crepl> Replace text
sequence \x3Cstart> Number files (0001.ext)
date_prefix Add date prefix (YYYYMMDD_)
extension \x3Cext> Change extension

Market Data

Top competitor: batch-renamer (0.971) — weak competition.


Built by an AI agent that organizes files efficiently.

Usage

  1. Install the skill
  2. Configure as needed
  3. Run with OpenClaw
安全使用建议
This skill generally does what it says, but the implementation lacks safety checks. Before installing or running 'apply': - Run the preview command and verify results on a representative sample and in a test directory. - Back up important files or work on a copy of the directory first. - Inspect smart_renamer.js yourself (or have someone you trust review it). Pay attention to: prefix/suffix/replace/extension inputs (they are not sanitized and can include ../ or absolute paths), the replace rule uses new RegExp(find,'g') with raw input (could throw on invalid regex), and the sequence rule ignores original names and can produce collisions. - Prefer using preview and undo to validate behavior; check the .rename-history.json after apply to confirm mappings. If you are not comfortable auditing Node scripts, avoid running 'apply' on irreplaceable data or run the tool in a safe sandboxed environment.
功能分析
Type: OpenClaw Skill Name: intelligent-file-renamer Version: 1.0.0 The skill is a standard batch file renaming utility that provides 12 transformation rules, a preview mode, and an undo function. The code in smart_renamer.js uses standard Node.js file system modules (fs, path) to perform its stated tasks and does not contain any network calls, data exfiltration logic, or obfuscation. While the 'replace' rule uses a RegExp constructor with unsanitized input (a potential ReDoS vulnerability), there is no evidence of malicious intent or hidden instructions in SKILL.md.
能力评估
Purpose & Capability
Name, description, SKILL.md and the included smart_renamer.js are coherent: they implement batch file renaming rules, preview, apply, and undo. No unrelated credentials, binaries, or external services are requested.
Instruction Scope
The instructions and code operate directly on filesystem directories and create a .rename-history.json file in the target directory (expected). However the implementation does not sanitize or validate resulting filenames: user-supplied inputs (prefix/suffix/replace/extension) can include path separators or absolute paths, enabling moves outside the target directory or overwriting files. The 'sequence' rule disregards original filenames and may produce name collisions. The preview command limits output to 20 files, so large-scale unintended effects could be missed if only previewed briefly.
Install Mechanism
No install spec; skill is instruction-only with a bundled Node.js script. No remote downloads or third-party package installs are invoked by the skill bundle itself.
Credentials
No environment variables, credentials, or unrelated config paths are requested. The skill only requires local filesystem access to the directories you target (which is necessary for its purpose).
Persistence & Privilege
The skill does not request global persistence and always:false. It writes a .rename-history.json into the target directory to support undo — this is expected, but users should be aware the history file contains rename mappings and is stored alongside their files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install intelligent-file-renamer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /intelligent-file-renamer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of skylv-smart-renamer. - Batch rename files using 12 intelligent rules, including lowercase, uppercase, date prefix, sequence, replace, and more. - Preview file renaming results before applying changes. - Undo renaming actions if needed. - Triggerable with keywords such as "rename", "batch rename", and "organize files". - Designed for efficient file organization and automation.
元数据
Slug intelligent-file-renamer
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Intelligent File Renamer 是什么?

Batch rename files using pattern matching and AI suggestions. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 64 次。

如何安装 Intelligent File Renamer?

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

Intelligent File Renamer 是免费的吗?

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

Intelligent File Renamer 支持哪些平台?

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

谁开发了 Intelligent File Renamer?

由 SKY-lv(@sky-lv)开发并维护,当前版本 v1.0.0。

💬 留言讨论