Install
$ agentstack add skill-amkessler-nicar2026-skills-in-codex-claude-majority-minority-change ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Majority Minority Change
Use this skill to compare county demographics across two years and flag threshold crossings.
Requirements
- R with
dplyr,readr,stringr, andjsonlite - Two local CSV files with county identifiers and required race/population fields
- Bundled Census CSV snapshots for immediate use:
skills/majority-minority-change/data/county_race_acs5_2010.csvskills/majority-minority-change/data/county_race_acs5_2020.csv- No API key required
Required Input Columns
- Join keys available in both files:
county_fips(preferred), or- both
stateandcounty - Metrics in both files:
total_populationnon_hispanic_white
Standard Workflow
- Confirm start/end files and year labels.
--stateaccepts full names or USPS abbreviations (for example,GeorgiaorGA).- Default bundled files:
- start:
skills/majority-minority-change/data/county_race_acs5_2010.csv - end:
skills/majority-minority-change/data/county_race_acs5_2020.csv
- Review
skills/majority-minority-change/references/DATA_SCHEMA.mdfor exact derived/output field names before downstream filtering or selecting columns.
- Expected output naming includes
nonwhite_share_anddelta_nonwhite_share_pp.
- Run script with optional state filter.
- Example:
Rscript skills/majority-minority-change/scripts/analyze_majority_minority_change.R --input-start skills/majority-minority-change/data/county_race_acs5_2010.csv --input-end skills/majority-minority-change/data/county_race_acs5_2020.csv --start-label 2010 --end-label 2020
- Review counties with largest percentage-point shifts and threshold crossings.
Output
Return:
- non-white share in each year
- percentage-point change
crossed_to_majority_minoritycrossed_out_of_majority_minority
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: amkessler
- Source: amkessler/nicar2026skillsincodex_claude
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.