csv-column-renamer

Rename CSV header names in place or to a new file with a diff.

5|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/Nirvana-Jie/skill-reviewer --skill csv-column-renamer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csv-column-renamer
Source: https://github.com/Nirvana-Jie/skill-reviewer/tree/main/evals/fixtures/ready-csv-column-renamer
Command: npx skills add https://github.com/Nirvana-Jie/skill-reviewer --skill csv-column-renamer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Rename one or more CSV header names without changing row data, making it easy to standardize column labels across files.

Core Features & Use Cases

  • Rename one or more header labels in place or write to a new file while preserving row order and cell values.
  • Validate that every old header name exists in the current header row before applying changes.
  • Support single or multiple mappings with deterministic output and a diff of changes.

Quick Start

Provide the target CSV path and the exact old → new column mappings, then choose in place modification or specify an output path for the renamed file.

Frequently Asked Questions about csv-column-renamer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I rename CSV column headers without changing row data?

To rename CSV column headers without altering row data, provide the target CSV path and exact old-to-new header mappings. The Skill validates that the old headers exist, preserves column order and cell values, then applies changes in place or outputs a new file with a diff.

What is the best way to standardize CSV header names across multiple files?

Standardizing CSV header names across files requires applying exact old-to-new column mappings to a target CSV. This process validates header presence, preserves row order and cell values, and generates a diff alongside the final renamed output path for easy tracking.

Does this CSV header renaming tool modify the original file in place?

Yes, you can modify the original CSV file in place or specify an output path for a new file. Both options enforce that old header names exist in the current header row before applying changes, preserving column order and leaving row data untouched.

What happens if an old column name I want to rename does not exist in the CSV?

If an old column name does not exist in the CSV header row, the renaming process enforces header presence validation and will not apply the changes. This ensures only valid, existing headers are mapped to new names while preserving row data and column order.

Can I rename multiple CSV headers at the same time and see what changed?

Yes, you can rename multiple CSV headers simultaneously by providing several old-to-new mappings. The tool applies them deterministically while preserving column order, then outputs a diff of all header-level changes along with the final output path.

How do I rename CSV headers without affecting the order of the columns?

Renaming CSV headers without affecting column order is achieved by validating old header names and applying exact mappings. The process focuses strictly on header-level changes, preserving the original column sequence and all row data while generating a diff of the renamed output.