census-data

census-data is a skill for Claude Code, Codex from beita6969/ScienceClaw. It costs 41 tokens per session (699 once invoked), scanned A, original, MIT.

A tool for retrieving United States demographic, housing, population, and economic statistics from the U.S. Census Bureau. The Census Bureau is the federal agency that collects and publishes data about people, households, and communities in the United States.

In plain words
What is it for?
Use it to query population, household income, poverty, housing, and demographic data by state or county through the Census Bureau API.
Why use it?
It avoids manually finding tables and geographic codes when comparing official statistics across states, counties, and other U.S. areas.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to query population, household income, poverty, housing, and demographic data by state or county through the Census Bureau API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beita6969/scienceclaw/census-data
About the project

ScienceClaw is an agent system for scientific work that completes tasks as typed, executable workflows and turns replay-verified improvements into reusable skills and operators. It is intended for AI-assisted research across natural and social science disciplines. The catalogue entries are its skills and instruction for use with the system.

beita6969/ScienceClaw · 1,034 stars · on GitHub · scienceclaw.science

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add beita6969/ScienceClaw --skill census-data
Clone the repo
git clone --depth 1 https://github.com/beita6969/ScienceClaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for census-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/beita6969/scienceclaw/census-data/github.svg)](https://agentmods.dev/skills/beita6969/scienceclaw/census-data)
Your own site
<a href="https://agentmods.dev/skills/beita6969/scienceclaw/census-data"><img src="https://agentmods.dev/badge/skills/beita6969/scienceclaw/census-data/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for census-data

Your own site · 80×15
<a href="https://agentmods.dev/skills/beita6969/scienceclaw/census-data"><img src="https://agentmods.dev/badge/skills/beita6969/scienceclaw/census-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 699 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 8 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 26
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 35
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 44
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 47
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 50
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 53
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 60
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 80
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00699
Opus 5.5 $0.00016 $0.00280
Sonnet 5.5 $0.00008 $0.00140
Haiku 4.5 $0.00004 $0.00070

Measured 3mo ago against content hash 683527bb3708, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

census-data scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

metadata: { "openclaw": { "emoji": "📋", "requires": { "bins": ["curl"], "env": ["CENSUS_API_KEY"] } } }
skills/census-data/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

US Census Data Skill

Query the US Census Bureau API for demographics, population, and economic data.

When to Use

  • "What's the population of Texas?"
  • "Show demographic breakdown by county"
  • "Get median household income for California"
  • "Compare poverty rates across states"

When NOT to Use

  • Non-US data (use world-bank-data)
  • Real-time economic data (use financial APIs)
  • Historical pre-1790 data

Setup

Get a free API key at https://api.census.gov/data/key_signup.html

export CENSUS_API_KEY=your_key_here

API Base

https://api.census.gov/data/

Common Commands

ACS 5-Year Estimates (Most Used)

# Total population by state
curl -s "https://api.census.gov/data/2022/acs/acs5?get=NAME,B01001_001E&for=state:*&key=$CENSUS_API_KEY"

# Median household income by state
curl -s "https://api.census.gov/data/2022/acs/acs5?get=NAME,B19013_001E&for=state:*&key=$CENSUS_API_KEY"

# Population by county in California (state FIPS=06)
curl -s "https://api.census.gov/data/2022/acs/acs5?get=NAME,B01001_001E&for=county:*&in=state:06&key=$CENSUS_API_KEY"

# Poverty rate by state
curl -s "https://api.census.gov/data/2022/acs/acs5?get=NAME,B17001_001E,B17001_002E&for=state:*&key=$CENSUS_API_KEY"

Decennial Census

# 2020 total population by state
curl -s "https://api.census.gov/data/2020/dec/pl?get=NAME,P1_001N&for=state:*&key=$CENSUS_API_KEY"

Common Variables

Variable Description
B01001_001E Total population
B19013_001E Median household income
B17001_002E Population below poverty
B25077_001E Median home value
B15003_022E Bachelor's degree holders
B02001_002E White alone population

Notes

  • Free API key required for most queries
  • ACS 5-year estimates are most reliable for small geographies
  • FIPS codes identify states (e.g., 06=CA, 36=NY, 48=TX)
  • Rate limit: 500 requests/day without key, more with key
  • Variables list: https://api.census.gov/data/2022/acs/acs5/variables.html

Read the full file on GitHub · 81 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 81 lines · 41 tokens per session scan A 683527bb3708

Subscribe to this mod's changes

census-data is a skill published in the GitHub repository beita6969/ScienceClaw (1,034 stars, last pushed 7d ago), licensed MIT. It adds 41 tokens to every session and 699 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

census-data compared with skills from other repositories

census-data next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
census-databeita6969/ScienceClawSkill1.0k7d agoMITA41Claude Code, Codex
biopythonsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A76Claude Code, Codex
scanpysynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A68Claude Code, Codex
structure-predictionsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A42Claude Code, Codex
paper-readerpoco-ai/AgenteroSkill3.0ktodayMITA43Claude Code, Codex
vault-normalizerpoco-ai/AgenteroSkill3.0ktodayMITA57Claude Code, Codex
openui-blockspoco-ai/AgenteroSkill3.0ktodayMITA58Claude Code, Codex