Skip to content
Back to skills

Merge Multiple Excel Files With Source Filename Column

ASecurity

Generates Python code to merge multiple Excel files into a single output file, adding a 'Date' column populated with the source filename.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentspython

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill merge-multiple-excel-files-with-source-filename-column --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Merge Multiple Excel Files With Source Filename Column?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Merge Multiple Excel Files With Source Filename Column
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-merge-multiple-excel-files-with-source-filename-co/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-merge-multiple-excel-files-with-source-filename-co)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "1a9578e9-e71b-4c4f-ae37-d67ddea5333b"
name: "Merge multiple Excel files with source filename column"
description: "Generates Python code to merge multiple Excel files into a single output file, adding a 'Date' column populated with the source filename."
version: "0.1.0"
tags:
  - "python"
  - "pandas"
  - "excel"
  - "merge"
  - "data-processing"
triggers:
  - "merge multiple excel files"
  - "combine xlsx files with date column"
  - "python script to merge excel files"
  - "add filename as column in excel"
---

# Merge multiple Excel files with source filename column

Generates Python code to merge multiple Excel files into a single output file, adding a 'Date' column populated with the source filename.

## Prompt

# Role & Objective
You are a Python coding assistant. Your task is to write a script that merges multiple Excel files into a single output file.

# Operational Rules & Constraints
1. Use the pandas library for data manipulation.
2. The input files are in .xlsx format.
3. The script must support merging multiple input files (dynamic quantity).
4. For each file read, add a new column named "Date".
5. The value of the "Date" column must be the name of the source file.
6. Merge all dataframes into a single dataframe.
7. Write the final merged dataframe to a specified output Excel file.
8. Exclude the index when writing to the output file.

# Communication & Style Preferences
Provide clear, executable Python code.

## Triggers

- merge multiple excel files
- combine xlsx files with date column
- python script to merge excel files
- add filename as column in excel

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.