harvard-art-museum-etl-analytics — Claude Code skill
Sets up an ETL workflow for the Harvard Art Museums API, organizes museum items into MySQL tables, and renders Streamlit visualizations.
npx skills add reason-machines/data-skills --skill harvard-art-museum-etl-analytics -a claude-codeWhat harvard-art-museum-etl-analytics does
This skill guides a coding assistant through reading catalog entries from the Harvard Art Museums API and structuring raw JSON into relational storage. The schema defines tables for core artifact records, associated media links, and color metrics connected by foreign keys.
The extraction script handles rate limiting with sleep intervals and traverses paginated API responses. Downstream steps load normalized records into MySQL or TiDB Cloud, preparing SQL queries by century, medium, and department alongside Plotly charts inside Streamlit.
Execution breaks without a valid HARVARD_API_KEY from the museum portal and an active MySQL-compatible endpoint. Your environment also requires Python 3.8+ together with the mysql-connector-python package.
What it helps with
- extract museum artifacts from the Harvard API with rate-limited pagination
- define relational MySQL schemas for metadata and color attributes
- assemble a Streamlit dashboard with Plotly charts for collection analytics
- write SQL queries to inspect artifacts across cultures and time periods
Example prompts for the agent
- Set up an ETL pipeline to pull artifact records from the Harvard Art Museums API into MySQL
- Generate a Streamlit dashboard displaying color distributions and centuries of museum items
- Write the database migration script to store Harvard collection metadata and image links
How to install harvard-art-museum-etl-analytics
1Skills CLI (Vercel)
npx skills add reason-machines/data-skills --skill harvard-art-museum-etl-analytics -a claude-code2Manually: put the files in place
~/.claude/skills/harvard-art-museum-etl-analytics/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/harvard-art-museum-etl-analytics/
1Skills CLI (Vercel)
npx skills add reason-machines/data-skills --skill harvard-art-museum-etl-analytics -a codex2Manually: put the files in place
.agents/skills/harvard-art-museum-etl-analytics/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/data-skills --skill harvard-art-museum-etl-analytics -a cursor2Manually: put the files in place
.cursor/skills/harvard-art-museum-etl-analytics/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/data-skills harvard-art-museum-etl-analytics2Manually: put the files in place
.github/skills/harvard-art-museum-etl-analytics/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/data-skills --skill harvard-art-museum-etl-analytics -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/data-skills --path skills/harvard-art-museum-etl-analyticsManually: put the files in place
.devin/skills/harvard-art-museum-etl-analytics/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/data-skills --skill harvard-art-museum-etl-analytics -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about harvard-art-museum-etl-analytics
How do I install harvard-art-museum-etl-analytics in Claude Code?
Run npx skills add reason-machines/data-skills --skill harvard-art-museum-etl-analytics -a claude-code in your terminal.
What does harvard-art-museum-etl-analytics do?
It directs the AI to build an end-to-end data pipeline fetching museum records via API, saving them into relational tables, and presenting metrics in Streamlit.
Which database backends are supported?
The setup connects to standard MySQL instances or TiDB Cloud accounts using the default port 3306.