Agent skill

Ipums Microdata API

by wentorai in wentorai/research-plugins

Access harmonized census and survey microdata via the IPUMS API

MITAuto-check passed

Install Ipums Microdata API

skills CLI
$ npx skills add wentorai/research-plugins --skill ipums-microdata-api -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wentorai/research-plugins ipums-microdata-api --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/domains/social-science/ipums-microdata-api .claude/skills/ipums-microdata-api && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ipums-microdata-api
GitHub stars
298
Used in
1 other repo
Token cost
~1.6k tokens
SKILL.md length
247 words
Files
1
Skills in repo
405
Repo updated
First seen
Licence
MIT

At a glance

Access harmonized census and survey microdata via the IPUMS API

  • Works in 5 steps: Demographic research: Population trends,… → Labor economics: Wage gaps, employment… → Health disparities: Insurance coverage,… → …
  • SKILL.md covers Overview, IPUMS Data Collections, API Endpoints and Python Usage, plus 3 more sections
  • Calls curl; reaches api.ipums.org and ipums.org; needs IPUMS_KEY

What it does

Ipums Microdata API is an agent skill from wentorai/research-plugins. Access harmonized census and survey microdata via the IPUMS API

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.

Example prompts

  • “/ipums-microdata-api”

Requirements

  • Python 3
  • A credential in IPUMS_KEY

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Demographic research: Population trends, migration, aging
  2. Labor economics: Wage gaps, employment patterns, occupation shifts
  3. Health disparities: Insurance coverage, disability, access to care
  4. Education research: Educational attainment trends, returns to education
  5. Historical analysis: Long-run comparisons using harmonized variables

What it can do on your machine

Read from SKILL.md and the folder at commit bf44b3c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.ipums.org
    • ipums.org

    Also links to:

    • developer.ipums.org
    • usa.ipums.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • IPUMS_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ipums Microdata API loads about 1.6k tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 247 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~21
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 247 words, ~1,565 tokens.

Download SKILL.mdSave it as .claude/skills/ipums-microdata-api/SKILL.md (or your agent's skills folder).
name
ipums-microdata-api
description
Access harmonized census and survey microdata via the IPUMS API

IPUMS Microdata API

Overview

IPUMS (Integrated Public Use Microdata Series) provides the world's largest collection of harmonized census and survey microdata. Hosted by the University of Minnesota, it covers demographic, health, labor, and geographic data across 100+ countries and 100+ years. The API enables programmatic extract creation, metadata queries, and data retrieval. Free registration required.

IPUMS Data Collections

CollectionCoverageRecords
IPUMS USAU.S. Census & ACS (1850-present)16B+ person-records
IPUMS CPSCurrent Population Survey (1962-present)Labor force data
IPUMS InternationalCensus data from 100+ countries2B+ person-records
IPUMS NHGISU.S. geographic/aggregate dataCounty-level stats
IPUMS DHSDemographic and Health Surveys300+ surveys, 90 countries
IPUMS Time UseAmerican Time Use SurveyTime diary data
IPUMS HealthNHIS health surveysHealth/disability data
IPUMS Higher EdNSCG/SDR science workforceS&E workforce data

API Endpoints

Base URL
https://api.ipums.org/extracts/
Authentication
bash
# Register at https://www.ipums.org/
# API key from your account settings
export IPUMS_KEY="..."
Create an Extract
bash
# Request a data extract (IPUMS USA example)
curl -X POST "https://api.ipums.org/extracts/?collection=usa&version=2" \
  -H "Authorization: $IPUMS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "description": "Income by education, 2020 ACS",
    "data_structure": {"rectangular": {"on": "P"}},
    "data_format": "csv",
    "samples": {"us2020a": {}},
    "variables": {
      "AGE": {},
      "SEX": {},
      "RACE": {},
      "EDUC": {},
      "INCTOT": {},
      "EMPSTAT": {}
    }
  }'
Check Extract Status
bash
curl "https://api.ipums.org/extracts/42?collection=usa&version=2" \
  -H "Authorization: $IPUMS_KEY"
Download Extract
bash
# When status is "completed"
curl -O "https://api.ipums.org/extracts/42/download?collection=usa&version=2" \
  -H "Authorization: $IPUMS_KEY"
Query Metadata
bash
# List available variables
curl "https://api.ipums.org/metadata/usa/variables?version=2" \
  -H "Authorization: $IPUMS_KEY"

# Get variable details
curl "https://api.ipums.org/metadata/usa/variables/EDUC?version=2" \
  -H "Authorization: $IPUMS_KEY"

# List available samples
curl "https://api.ipums.org/metadata/usa/samples?version=2" \
  -H "Authorization: $IPUMS_KEY"

Python Usage

python
import os
import time
import requests

BASE_URL = "https://api.ipums.org"
HEADERS = {"Authorization": os.environ.get("IPUMS_KEY", "")}


def create_extract(collection: str, samples: dict,
                   variables: list, description: str = "",
                   data_format: str = "csv") -> int:
    """Create an IPUMS data extract request."""
    var_dict = {v: {} for v in variables}
    body = {
        "description": description,
        "data_format": data_format,
        "data_structure": {"rectangular": {"on": "P"}},
        "samples": {s: {} for s in samples} if isinstance(samples, list)
                   else samples,
        "variables": var_dict,
    }

    resp = requests.post(
        f"{BASE_URL}/extracts/?collection={collection}&version=2",
        headers={**HEADERS, "Content-Type": "application/json"},
        json=body,
    )
    resp.raise_for_status()
    return resp.json()["number"]


def wait_for_extract(extract_id: int, collection: str,
                     poll_interval: int = 30) -> str:
    """Poll until extract is ready, return download URL."""
    while True:
        resp = requests.get(
            f"{BASE_URL}/extracts/{extract_id}"
            f"?collection={collection}&version=2",
            headers=HEADERS,
        )
        resp.raise_for_status()
        data = resp.json()
        status = data.get("status")

        if status == "completed":
            return data["download_links"]["data"]["url"]
        elif status == "failed":
            raise RuntimeError(f"Extract failed: {data}")
        print(f"Status: {status}, waiting {poll_interval}s...")
        time.sleep(poll_interval)


def get_variable_info(collection: str, variable: str) -> dict:
    """Get metadata about a variable."""
    resp = requests.get(
        f"{BASE_URL}/metadata/{collection}/variables/{variable}"
        f"?version=2",
        headers=HEADERS,
    )
    resp.raise_for_status()
    return resp.json()


# Example: request 2020 ACS income data
extract_id = create_extract(
    collection="usa",
    samples=["us2020a"],
    variables=["AGE", "SEX", "RACE", "EDUC", "INCTOT", "EMPSTAT"],
    description="Education-income analysis 2020",
)
print(f"Extract #{extract_id} submitted. Waiting...")

download_url = wait_for_extract(extract_id, "usa")
print(f"Ready: {download_url}")

Key Variables (IPUMS USA)

VariableDescription
AGEAge
SEXSex
RACERace
EDUCEducation level
INCTOTTotal income
EMPSTATEmployment status
OCCOccupation
INDIndustry
POVERTYPoverty status
MIGRATE1Migration status
MARSTMarital status
NCHILDNumber of children

Use Cases

  1. Demographic research: Population trends, migration, aging
  2. Labor economics: Wage gaps, employment patterns, occupation shifts
  3. Health disparities: Insurance coverage, disability, access to care
  4. Education research: Educational attainment trends, returns to education
  5. Historical analysis: Long-run comparisons using harmonized variables

References

© wentorai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/domains/social-science/ipums-microdata-api of wentorai/research-plugins.

Open the folder on GitHubat commit bf44b3c

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Ipums Microdata API next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ipums Microdata API compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ipums Microdata API this skillwentorai/research-plugins2981 repos~1.6kAutomated safety check: PassMIT
Creating SurveysPostHog/posthog40k—~1.6kAutomated safety check: PassCustom licence
Surveysdavepoon/buildwithclaude3.6k—~1.5kAutomated safety check: PassMIT
Cellxgene CensusK-Dense-AI/scientific-agent-skills48k1 repos~3.4kAutomated safety check: NotesMIT
Architecture SurveyYeachan-Heo/oh-my-claudecode40k—~1.3kAutomated safety check: PassMIT
Debugging SurveysPostHog/posthog40k—~7.1kAutomated safety check: PassCustom licence

Similar skills

  • Creating Surveys

    PostHog/posthog

    Official

    Creates and launches PostHog surveys through MCP, including NPS/CSAT popovers, hosted feedback forms, and headless surveys.

    40k GitHub stars~1.6k tokensUpdated today
    Sales & SupportAuto-check passed
  • Surveys

    davepoon/buildwithclaude

    Manages the founder's survey-based validation — crafting the right questions, deploying a survey to the internet, and analyzing results against hypotheses.

    3.6k GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Cellxgene Census

    K-Dense-AI/scientific-agent-skills

    Queries the CZ CELLxGENE Census programmatically for versioned public single-cell and spatial transcriptomics data.

    48k GitHub starsUsed in 1 repo~3.4k tokens
    Research & ScienceAuto-check: notes
  • Architecture Survey

    Yeachan-Heo/oh-my-claudecode

    Periodic survey that walks a repo's module graph and reports ranked candidates for deepening, without changing any code itself.

    40k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Debugging Surveys

    PostHog/posthog

    Official

    Diagnose PostHog Surveys configuration and responses across all five SDKs (web/posthog-js, iOS, Android, Flutter, React Native).

    40k GitHub stars~7.1k tokensUpdated today
    MobileAuto-check passed
  • Survey SDK Audit

    PostHog/posthog

    Official

    Audit PostHog survey SDK features and version requirements, and implement survey changes across the backend, UI, and SDK repositories.

    40k GitHub stars~4.3k tokensUpdated today
    DevelopmentAuto-check passed

More from wentorai/research-plugins

All 405 skills in this repo
  • Abstract Writing Guide

    wentorai/research-plugins

    Craft structured research abstracts that maximize clarity and journal acceptance

    298 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Academic Citation Manager

    wentorai/research-plugins

    Manage academic citations across BibTeX, APA, MLA, and Chicago formats

    298 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Academic Paper Summarizer

    wentorai/research-plugins

    Summarize academic papers with structured extraction of key elements

    298 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Academic Study Methods

    wentorai/research-plugins

    Evidence-based study techniques for academic learning and retention

    298 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Academic Tone Guide

    wentorai/research-plugins

    Adjust writing tone and register for academic audiences and venues

    298 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Academic Translation Guide

    wentorai/research-plugins

    Academic translation, post-editing, and Chinglish correction guide

    298 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed

Questions about Ipums Microdata API

What does Ipums Microdata API do?

Access harmonized census and survey microdata via the IPUMS API. Ipums Microdata API is an agent skill from wentorai/research-plugins.

How do I install Ipums Microdata API in Claude Code?

Run `npx skills add wentorai/research-plugins --skill ipums-microdata-api -a claude-code`. Or copy the skill folder (skills/domains/social-science/ipums-microdata-api in wentorai/research-plugins) into .claude/skills/ipums-microdata-api in your project. Claude Code loads it when a task matches its description.

How do I install Ipums Microdata API in Codex?

Run `npx skills add wentorai/research-plugins --skill ipums-microdata-api -a codex`. Or copy the skill folder (skills/domains/social-science/ipums-microdata-api in wentorai/research-plugins) into .agents/skills/ipums-microdata-api in your project. Codex loads it when a task matches its description.

Can I use Ipums Microdata API in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wentorai/research-plugins --skill ipums-microdata-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ipums-microdata-api, .gemini/skills/ipums-microdata-api, .github/skills/ipums-microdata-api and .opencode/skills/ipums-microdata-api in your project.

What does Ipums Microdata API need to run?

Going by SKILL.md and its folder, Ipums Microdata API needs the command-line tools its instructions call (curl) and credentials named IPUMS_KEY. Our summary lists: Python 3; A credential in IPUMS_KEY.

Does Ipums Microdata API access the network?

SKILL.md names 4 domains. In commands or code: api.ipums.org and ipums.org; the agent is likely to contact these when it follows the instructions. As links in the text: developer.ipums.org and usa.ipums.org. This is read from the text; nothing was executed.

Is Ipums Microdata API safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ipums Microdata API use?

Ipums Microdata API is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ipums Microdata API use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ipums Microdata API?

Skills that share tags, products or a category with Ipums Microdata API: Creating Surveys (PostHog/posthog, 40k stars), Surveys (davepoon/buildwithclaude, 3.6k stars), Cellxgene Census (K-Dense-AI/scientific-agent-skills, 48k stars) and Architecture Survey (Yeachan-Heo/oh-my-claudecode, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ipums Microdata API?

wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 405 skills in this directory. The repository was last updated on June 19, 2026.

Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.