🏷️
AutomationPython

Batch Add Filename Prefix

by CoderWanFeng

Batch Add Filename Prefix is an Automation skill for Claude Code, published by CoderWanFeng in python-office.

1.3K stars299 forkson CoderWanFeng/python-officeAdded 2026/07/20Repository updated 2026/08/04
officepippypipythonweixin
Install in seconds
Install Batch Add Filename Prefix
Copy Batch Add Filename Prefix into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/CoderWanFeng/python-office/tree/develop/skills/file/file_name_add_prefix ~/.claude/skills/file_name_add_prefix

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/CoderWanFeng/python-office.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/file/file_name_add_prefix/SKILL.md in CoderWanFeng/python-office
Installs to
~/.claude/skills/file_name_add_prefix
Collection
One of 50 skills cataloged from this repository
Category
Automation2226 skills

What Batch Add Filename Prefix does

Add a specified prefix to filenames in bulk. Useful for organizing files with a common prefix, like adding 'backup_' to document names.

Batch Add Filename Prefix is cataloged under Automation on DirSkills. Batch Add Filename Prefix comes from a repository tagged office, pip, pypi, python and weixin.

Documentation

README

file_name_add_prefix Skill

批量重命名:给文件名增加前缀

功能描述

给指定文件的文件名增加指定的前缀。

所属分类

office/skills/file/file_name_add_prefix/

调用方式

from skills.file import file_name_add_prefix

file_name_add_prefix(
    file_path='./test.txt',
    prefix_content='prefix_'
)

参数说明

参数 类型 必填 默认值 说明
file_path str - 文件路径
prefix_content str - 前缀内容

返回值

None

使用示例

from skills.file import file_name_add_prefix
file_name_add_prefix(file_path='./doc.txt', prefix_content='backup_')

原始函数

office.api.file.file_name_add_prefix

Frequently asked about Batch Add Filename Prefix

  • What else does CoderWanFeng publish alongside Batch Add Filename Prefix?

    Batch Add Filename Prefix is one of 50 skills that DirSkills catalogs from CoderWanFeng/python-office, the repository it ships in. Its siblings there include Add Image Watermark, Add Line by Type and Add Text Watermark. Each one is a separate skill with its own page in this directory, installs the same way Batch Add Filename Prefix does, and is maintained by CoderWanFeng in that same repository. The rest of the collection is listed on the CoderWanFeng/python-office page.

  • How does Batch Add Filename Prefix compare to other Automation skills?

    Batch Add Filename Prefix ranks #642 by stars among the 2226 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Batch Add Filename Prefix against them. Open each page to compare what they document and how they install.