📝
AutomationPython

File Name Insert Content

by CoderWanFeng

File Name Insert Content 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 File Name Insert Content
Copy File Name Insert Content 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_insert_content ~/.claude/skills/file_name_insert_content

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_insert_content/SKILL.md in CoderWanFeng/python-office
Installs to
~/.claude/skills/file_name_insert_content
Collection
One of 50 skills cataloged from this repository
Category
Automation2226 skills

What File Name Insert Content does

Insert characters into filenames at specific positions during batch renaming operations. Useful for adding timestamps, identifiers, or other text to existing file names programmatically.

File Name Insert Content is cataloged under Automation on DirSkills. File Name Insert Content comes from a repository tagged office, pip, pypi, python and weixin.

Documentation

README

file_name_insert_content Skill

批量重命名:在文件名中间插入字符

功能描述

在指定文件的文件名中间指定位置插入新的字符。

所属分类

office/skills/file/file_name_insert_content/

调用方式

from skills.file import file_name_insert_content

file_name_insert_content(
    file_path='./test.txt',
    insert_position=2,
    insert_content='_new'
)

参数说明

参数 类型 必填 默认值 说明
file_path str - 文件路径
insert_position int - 插入位置
insert_content str - 插入的内容

返回值

None

使用示例

from skills.file import file_name_insert_content
file_name_insert_content(file_path='./report.txt', insert_position=2, insert_content='_2024')

原始函数

office.api.file.file_name_insert_content

Frequently asked about File Name Insert Content

  • What else does CoderWanFeng publish alongside File Name Insert Content?

    File Name Insert Content 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 File Name Insert Content 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 File Name Insert Content compare to other Automation skills?

    File Name Insert Content ranks #655 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 File Name Insert Content against them. Open each page to compare what they document and how they install.