📑
AutomationPython

Merge Excel Files

by CoderWanFeng

Merge Excel Files 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 Merge Excel Files
Copy Merge Excel Files 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/excel/merge2excel ~/.claude/skills/merge2excel

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

What Merge Excel Files does

Merges multiple Excel files from a directory into a single Excel workbook, with each original file placed in a separate sheet. Use it when you need to combine several spreadsheets into one file for easier management.

Merge Excel Files is cataloged under Automation on DirSkills. Merge Excel Files comes from a repository tagged office, pip, pypi, python and weixin.

Documentation

README

merge2excel Skill

将多个 Excel 文件合并到一个 Excel 的不同 sheet 中

功能描述

将指定目录下的所有 Excel 文件合并到一个新的 Excel 文件中,每个原始文件对应一个新 sheet。

所属分类

office/skills/excel/merge2excel/

调用方式

from skills.excel import merge2excel

merge2excel(
    dir_path='./excel_files',
    output_file='./merge2excel.xlsx'
)

参数说明

参数 类型 必填 默认值 说明
dir_path str - 包含多个 Excel 文件的目录路径
output_file str 'merge2excel.xlsx' 合并后的 Excel 文件路径

返回值

None

使用示例

from skills.excel import merge2excel
merge2excel(dir_path='./excels', output_file='./all_in_one.xlsx')

视频教程

https://www.bilibili.com/video/BV1Th4y1Y7kd/

原始函数

office.api.excel.merge2excel

Frequently asked about Merge Excel Files

  • What else does CoderWanFeng publish alongside Merge Excel Files?

    Merge Excel Files 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 Merge Excel Files 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 Merge Excel Files compare to other Automation skills?

    Merge Excel Files ranks #661 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 Merge Excel Files against them. Open each page to compare what they document and how they install.