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.
Scanned 5/30/2026
Install via CLI
openskills install ECNU-ICALK/AutoSkill---
id: "0123ed4b-44a3-4403-8aa9-51c2102f2fd8"
name: "CSV Header and Prefix Cleaning Script"
description: "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."
version: "0.1.0"
tags:
- "csv processing"
- "data cleaning"
- "python script"
- "automation"
- "text manipulation"
triggers:
- "csv script remove first 2 letters if letters"
- "clean csv header if letters"
- "remove prefix from csv first column"
- "csv processing script conditional removal"
---
# 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 delete columns; only modify the content of the first column.
## Triggers
- csv script remove first 2 letters if letters
- clean csv header if letters
- remove prefix from csv first column
- csv processing script conditional removal
No comments yet. Be the first to comment!
1. **Strip thinking before verifying** — a verifier that sees the reasoning is biased toward agreement. Fresh context, cleaned proof only. 2. **"Does this prove RH?"** — if your theorem's specialization to ζ is a famous open problem, you have a gap. Most reliable red flag. 3. **Short proof → extract the general lemma** — try 2×2 counterexamples. If general form is false, find what's special about THIS instance. 4. **Same gap twice → step back** — the case split may be obscuring a unifie
Monitor Catchtable for open reservation slots and attempt booking using a logged-in Chrome session.
Interactive walkthrough for new users. Learn by doing — each step creates real content in your vault. Three tracks (researcher, manager, personal) with a universal learning arc. Triggers on "/tutorial", "walk me through", "how do I use this".
当用户明确要求"填充示例内容""生成示例""补充 LaTeX 示例"时使用。AI 增强版 LaTeX 示例智能生成器,实现 AI 与硬编码的有机融合:AI 做"语义理解"(分析章节主题、推理资源相关性、生成连贯叙述),硬编码做"结构保护"(格式验证、哈希校验、访问控制)。
当用户明确要求"写/润色 NSFC 标书摘要""生成中文摘要和英文摘要""把中文摘要翻译成英文摘要"时使用。输出中文、英文两个版本(英文必须是中文的忠实翻译版),同时输出标题建议(1个推荐标题+5个候选标题及理由)。中文摘要默认≤400字符,英文摘要默认≤4000字符。输出方式:将结果写入工作目录下的 `NSFC-ABSTRACTS.md`。⚠️ 不适用:用户只想翻译一段与标书无关的通用文本(应直接翻译);用户只想写立项依据/研究内容/研究基础正文(应使用对应 nsfc 系列 skill)。