Skip to main content
skill CX Codex

harvard-artifacts-data-pipeline — Claude Code skill: ETL and analytics

A skill that walks your agent from Harvard Art Museums API extraction to a Streamlit dashboard backed by SQL analytics.

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

What harvard-artifacts-data-pipeline does

The skill covers the whole route: pulling objects from the Harvard Art Museums API with pagination and pauses between calls, reshaping nested JSON into three tables, loading them into MySQL or TiDB Cloud, and rendering charts in Streamlit with Plotly.

The schema has three tables. artifactmetadata holds objectid, title, culture, century, division, classification, dated, accessionyear, peoplecount and totalpageviews. artifactmedia carries imagecount, videocount, hasimage and primaryimageurl. artifactcolors stores color, spectrum, hue and percent. Foreign keys tie them together on objectid. Code samples inside cover fetching, transformation and batch inserts with ON DUPLICATE KEY UPDATE, plus a set of analytical queries.

You need a Harvard Art Museums API key and a reachable database before anything runs. The skill reads HARVARD_API_KEY, DB_HOST, DB_USER, DB_PASSWORD and DB_NAME from the environment, so a missing key stops extraction at the first request. Dependencies come from requirements.txt: streamlit, pandas, requests, mysql-connector-python, plotly, python-dotenv.

What it helps with

  • pull museum objects from the Harvard API with pagination
  • split nested JSON into three related tables
  • batch-load metadata rows into MySQL
  • write SQL queries over culture, century and classification
  • build a Streamlit dashboard with Plotly charts

Example prompts for the agent

  • Build the ETL pipeline: fetch 100 objects from the Harvard Art Museums API and split them across artifactmetadata, artifactmedia and artifactcolors
  • Write a SQL query counting objects per culture in the database
  • Create a Streamlit dashboard charting how objects are distributed across centuries

How to install harvard-artifacts-data-pipeline

1Skills CLI (Vercel)

npx skills add reason-machines/data-skills --skill harvard-artifacts-data-pipeline -a claude-code

2Manually: put the files in place

~/.claude/skills/harvard-artifacts-data-pipeline/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/harvard-artifacts-data-pipeline/

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

Questions about harvard-artifacts-data-pipeline

How do I install harvard-artifacts-data-pipeline in Claude Code?

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

What does harvard-artifacts-data-pipeline do?

It guides the agent through the full data cycle for Harvard Art Museums: extraction, transformation into a relational schema, loading into MySQL or TiDB Cloud, and a Streamlit dashboard on top.

What do I need before running it?

A Harvard Art Museums API key and access to a MySQL or TiDB Cloud database. The skill reads HARVARD_API_KEY, DB_HOST, DB_USER, DB_PASSWORD and DB_NAME from the environment.

Similar skills

All skills for Data and databases →

From the same set74

retail-etl-pipeline-medallion Configures a retail data pipeline using SQL Server, PySpark, and Medallion architecture. Organizes raw sales and stock feeds across Bronze, Silver, and Gold layers. CX Codex +1 1,800installs retail-etl-medallion-pipeline This skill helps build a retail ETL pipeline with Bronze, Silver, and Gold layers. Use it for sales, inventory, and supplier data flows. 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 terraform-data-engineering-iac Provisions AWS infrastructure for data engineering workloads with Terraform. Generates configurations for S3 data lakes, EC2 processing nodes, and IAM roles. CX Codex +1 1,800installs iac-data-engineering-terraform A skill with ready Terraform patterns for data engineering: S3 buckets, EC2 instances and IAM roles. Useful when you need to stand up pipeline infrastructure declaratively. CX Codex +1 1,800installs terraform-iac-data-engineering Teaches your coding agent to scaffold AWS data engineering setups with Terraform. Covers S3 data lakes, EC2 compute instances, and IAM security policies. CX Codex +1 1,800installs terraform-data-engineering-infrastructure A skill with Terraform patterns for data engineering: S3 data lake buckets, EC2 processing nodes, IAM roles. Useful when AWS infrastructure has to be described in code, not clicked together. CX Codex +1 1,800installs snowflake-dbt-airbnb-analytics Guides coding assistants through building a Snowflake and dbt warehouse on Inside Airbnb datasets, from stage ingestion to Streamlit reporting. CX Codex +1 1,700installs

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