Skip to content
Skill

annotating-csv

by brook-miller

AI Summary

Automates bulk annotation of CSV data by applying OpenAI prompts to each row and adding results as a new column. Ideal for developers who need to classify, extract, or summarize spreadsheet data at scale.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "annotating-csv" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory
mkdir -p .claude/skills/annotate-csv && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/annotate-csv/SKILL.md "https://raw.githubusercontent.com/brook-miller/annotate-csv/main/SKILL.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Annotates CSV rows using OpenAI by applying a prompt to each row and adding a new column with AI-generated results. Use when the user wants to classify, extract, summarize, or add AI-generated annotations to CSV data. Triggers on mentions of CSV annotation, row-by-row AI processing, bulk classification, or adding AI columns to spreadsheet data.

Core Usage

`bash uv run annotate-csv.py <prompt> <csv_file> [options] ` | Option | Description | Default | |--------|-------------|---------| | -o, --output | Output file path | <input>_annotated.csv | | -c, --column | Annotation column name | annotation | | --context | Columns to use (all or comma-separated) | all | | --model | OpenAI model | gpt-5-mini | | --parallelism | Parallel workers | 10 | | --id-column | Column for progress display | - |

CSV Annotation with OpenAI

Adds AI-generated annotations to CSV files by processing each row with a prompt.

Quick Start

`bash uv run annotate-csv.py "Classify sentiment as positive/negative/neutral" reviews.csv ` Output: reviews_annotated.csv with new annotation column. Dependencies install automatically on first run.

Prompt Sources

Prompts can be inline or from a file: `bash

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
0 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Issues0
Updated2mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code