Skip to main content
skill CX Codex

harvard-artifacts-etl-streamlit-analytics — Claude Code skill

Walks your agent through building an ETL pipeline and an analytics dashboard on Harvard Art Museums API data with Python, SQL and Streamlit.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/data-skills --skill harvard-artifacts-etl-streamlit-analytics -a claude-code
Open on GitHub

What harvard-artifacts-etl-streamlit-analytics does

This skill covers the full loop for working with the Harvard Art Museums collection. The agent fetches objects from the API page by page, reshapes the response into three tables and loads them into a relational database. Metadata, media and colour data each get their own table, and the skill ships the CREATE TABLE statements so the schema does not have to be invented.

Python code inside handles the requests, turns the payload into pandas dataframes and connects to MySQL or TiDB Cloud through mysql-connector-python. A separate layer holds analytical SQL: culture, century, whether images exist, colour patterns. Streamlit renders the query output with Plotly charts.

You need a Harvard Art Museums API key and a reachable database before anything runs. Credentials come from environment variables: HARVARD_API_KEY, DB_HOST, DB_USER, DB_PASSWORD, DB_NAME. No key means the API calls fail; no connection means there is nowhere to load the tables. The fetch loop pauses between pages because the API caps how many requests you get per day.

What it helps with

  • pull museum objects from the Harvard Art Museums API page by page
  • split the API response into metadata, media and colour tables
  • create a SQL schema for museum artifact data
  • count works by culture and century
  • render analytical query results in Streamlit

Example prompts for the agent

  • Build an ETL pipeline that pulls objects from the Harvard Art Museums API and loads them into MySQL
  • Create a Streamlit dashboard with Plotly charts for the culture and century queries
  • Write a SQL query: how many works have images, and which colours dominate

How to install harvard-artifacts-etl-streamlit-analytics

1Skills CLI (Vercel)

npx skills add reason-machines/data-skills --skill harvard-artifacts-etl-streamlit-analytics -a claude-code

2Manually: put the files in place

~/.claude/skills/harvard-artifacts-etl-streamlit-analytics/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/harvard-artifacts-etl-streamlit-analytics/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about harvard-artifacts-etl-streamlit-analytics

How do I install harvard-artifacts-etl-streamlit-analytics in Claude Code?

Run npx skills add reason-machines/data-skills --skill harvard-artifacts-etl-streamlit-analytics -a claude-code. The skill file lands at ~/.claude/skills/harvard-artifacts-etl-streamlit-analytics/SKILL.md.

What does this skill do?

It guides the agent through fetching data from the Harvard Art Museums API, transforming it into tables, loading it into a SQL database and building a Streamlit dashboard with Plotly visualisations.

What do I need before running it?

A Harvard Art Museums API key and a MySQL or TiDB Cloud database. Access is configured through the environment variables HARVARD_API_KEY, DB_HOST, DB_USER, DB_PASSWORD and DB_NAME.

Similar skills

All skills for Data and databases →

From the same set31

data-engineering-study-material A study guide skill for data engineering: explains concepts, shows pipeline examples, and helps with interview prep. CX Codex +1 2,000installs analytics-tracking-automation A skill that walks the agent through analytics setup: crawl the site, design GA4 events, sync them into GTM, verify in preview, publish the container. CX Codex +1 2,000installs options-analytics-agent-langgraph Builds a LangGraph agent that pulls options data from Polygon.io, caches it in ChromaDB and keeps memory across sessions. Useful when you want your own trading assistant. CX Codex +1 2,000installs harvard-artifacts-collection-data-engineering This skill pulls Harvard Art Museums data into MySQL and renders it in Streamlit. Useful when you want a working ETL example from API to dashboard. CX Codex +1 1,900installs harvard-artifacts-collection-etl-analytics A skill for building an ETL pipeline and analytics dashboard on Harvard Art Museums API data with Python, SQL and Streamlit. CX Codex +1 1,900installs harvard-artifacts-collection-analytics-pipeline A skill that walks your agent through a full Harvard Art Museums API pipeline: ETL, SQL storage and a Streamlit dashboard. CX Codex +1 1,900installs harvard-art-museums-data-engineering-pipeline A skill for building an ETL pipeline on Harvard Art Museums API data: JSON into normalized SQL tables, analytical queries, and a Streamlit dashboard. CX Codex +1 1,800installs iac-terraform-data-engineering A skill for Claude and other AI agents that helps describe AWS data infrastructure in Terraform: S3 buckets, EC2 instances, IAM roles. CX Codex +1 1,800installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor