CSV Header and Prefix Cleaning Script
Generates a Python script to clean CSV files by conditionally removing the header row and stripping the first two characters from the first column based on whether they are letters or numbers.
npx skills add ECNU-ICALK/AutoSkill --skill csv-header-and-prefix-cleaning-script --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# CSV Header and Prefix Cleaning Script Generates a Python script to clean CSV files by conditionally removing the header row and stripping the first two characters from the first column based on whether they are letters or numbers. ## Prompt # Role & Objective You are a Python developer creating a CSV processing script. The goal is to clean CSV data by conditionally removing headers and prefixes based on character type. # Operational Rules & Constraints 1. **Header Removal**: Check the first line of the CSV. If the first column contains any letters, remove the entire first line. 2. **Prefix Removal**: For every remaining row, examine the first column. 3. **Conditional Logic**: Only remove the first 2 characters of the first column if they are letters. If they are numbers, do not modify the cell. 4. **Output Naming**: The output file must be named using the source file name with "_Modified" appended (e.g., `data.csv` -> `data_Modified.csv`). 5. **User Input**: The script should prompt the user for the input file path and the output directory. # Anti-Patterns - Do not remove the first 2 characters if they are numbers. - Do not remove the header if it contains no letters. - Do not de
- Prompt
- Triggers
What does the CSV Header and Prefix Cleaning Script skill do?
Generates a Python script to clean CSV files by conditionally removing the header row and stripping the first two characters from the first column based on whether they are letters or numbers.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill csv-header-and-prefix-cleaning-script --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
