anonymise
БесплатноБез исполняемых скриптовНе проверенAnonymise CSV files by removing personal identifying information and adding datetime stamps. Use when user wants to process a new CSV file or strip PII from…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
CSV Anonymiser
When the user wants to anonymise a CSV file or process new data:
1. Check .gitignore
First, verify that CSV files are excluded from git:
cat .gitignore
If *.csv is not present, add it:
echo "*.csv" >> .gitignore
2. Identify the CSV File
The script can auto-detect new CSV files:
- Auto-detection: Files without a timestamp pattern (YYYYMMDD_HHMMSS) in their name
- New files: Any CSV file that hasn't been processed yet
- If multiple new files exist, the script will list them and ask user to specify which one
3. Remove Personal Identifying Information
Columns to remove are configured in ~/.agents/skills/anonymise/config.txt:
- One column header per line
- Lines starting with
#are comments - Default includes
"Record - Airtable ID"(PII)
Process the file:
- Read the CSV file
- Remove all columns listed in
~/.agents/skills/anonymise/config.txt - Keep all other columns intact
- Preserve the header row (minus the removed columns)
4. Add Datetime Stamp
The script will:
- Create a new file with format:
YYYYMMDD_HHMMSS.csv(just the timestamp) - Delete the original file
Example: ILR data 25_26-Social value data for Dingley.csv becomes 20231216_143022.csv
5. Run the Anonymisation Script
Execute the Python script located in the same directory as this skill:
Auto-detect mode (finds CSV files without timestamps):
python3 ~/.agents/skills/anonymise/anonymise.py
Specific file mode:
python3 ~/.agents/skills/anonymise/anonymise.py "filename.csv"
If multiple new files are found in auto-detect mode, the script will list them and you'll need to specify which one to process.
6. Confirm Completion
After processing:
- Confirm the anonymised file was created with timestamp
- Confirm the original file was removed
- Confirm .gitignore includes
*.csv - Remind user that CSV files won't be committed to git
Notes
- Uses British English spelling throughout
- Handles UTF-8 BOM encoding (
utf-8-sig) for compatibility - Preserves all data except the first column
- Assumes consistent CSV structure across files
- Files are automatically excluded from version control
Установить anonymise в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл anonymise?
Anonymise CSV files by removing personal identifying information and adding datetime stamps. Use when user wants to process a new CSV file or strip PII from data.
Как установить скилл anonymise?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл anonymise запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic