🗂️
AutomationPython

Group by Name

by CoderWanFeng

Group by Name 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 Group by Name
Copy Group by Name 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/group_by_name ~/.claude/skills/group_by_name

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

What Group by Name does

Group files into directories from filename rules with python-office; this historical helper is untested and del_old_file may remove originals.

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

Reviewed 2026-08-04

DirSkills review

This python-office helper groups files from a source path into directories according to filename prefixes or rules. The source labels the historical behavior TODO and untested, and exposes a deletion option that requires extra care.

  • The documented parameters are path, optional output_path, and optional del_old_file; the function returns no value.
  • Leave del_old_file disabled for the first run, operate on copied files, and verify every destination before considering removal of originals.

Documentation

README

group_by_name Skill

按名称分组整理文件

功能描述

按文件名的前缀或规则,将文件分组整理到不同目录中。

⚠️ TODO: 该功能为历史功能,行为待测试。

所属分类

office/skills/file/group_by_name/

调用方式

from skills.file import group_by_name

group_by_name(
    path='./data',
    output_path=None,
    del_old_file=None
)

参数说明

参数 类型 必填 默认值 说明
path str - 路径
output_path str None 输出路径
del_old_file bool None 是否删除旧文件

返回值

None

原始函数

office.api.file.group_by_name

Frequently asked about Group by Name

  • What else does CoderWanFeng publish alongside Group by Name?

    Group by Name 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 Group by Name 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 Group by Name compare to other Automation skills?

    Group by Name ranks #657 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 Group by Name against them. Open each page to compare what they document and how they install.