Agent skill

Election Data Source Countypres

by brycewang-stanford in brycewang-stanford/Auto-Empirical-Research-Skills

County Presidential Returns 2000-2024 (MIT MEDSL). An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

Custom licenceAuto-check passed

Install Election Data Source Countypres

skills CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill election-data-source-countypres -a claude-code

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

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills election-data-source-countypres --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/brycewang-stanford/Auto-Empirical-Research-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/election-data-source-countypres .claude/skills/election-data-source-countypres && 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
election-data-source-countypres
GitHub stars
4.5k
Token cost
~4.7k tokens
SKILL.md length
1,572 words
Files
12 (incl. scripts, references)
Skills in repo
364
Repo updated
First seen
Licence
Custom licence

At a glance

County Presidential Returns 2000-2024 (MIT MEDSL). An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

  • Works in 3 steps: Pattern 1: TOTAL present → keep TOTAL,… → Pattern 2: Only breakdowns, no TOTAL →… → Pattern 3: Empty-string mode = totals →…
  • SKILL.md covers Prerequisites, What is the MEDSL County…, Reference File Structure and Decision Trees, plus 6 more sections
  • Runs Python scripts from its folder; calls docker; reaches dataverse.harvard.edu; needs HARVARD_DATAVERSE_API_KEY

What it does

Election Data Source Countypres is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. County Presidential Returns 2000-2024 (MIT MEDSL). Vote shares, party trends, turnout by countyfips (joins census/education data). Requires HARVARDDATAVERSEAPIKEY. Critical: mode='TOTAL' drops ~1K counties post-2020 — use 3-pattern reconstruction

Its SKILL.md is about 4.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts and reference files (for example `references/coded-values.md`, `references/columns.md` and `references/interpretations.md`).

The repository describes itself as: 🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI…

Example prompts

  • “/election-data-source-countypres”

Requirements

  • Python 3
  • Docker
  • A credential in HARVARD_DATAVERSE_API_KEY

Workflow steps

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

  1. Pattern 1: TOTAL present → keep TOTAL, drop breakdowns
  2. Pattern 2: Only breakdowns, no TOTAL → sum candidatevotes across modes
  3. Pattern 3: Empty-string mode = totals → reclassify after per-state verification

What it can do on your machine

Read from SKILL.md and the folder at commit 9fa87d8. 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

    Ships 5 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • docker

    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:

    • dataverse.harvard.edu

    Also links to:

    • nature.com

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

  • Credentials

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

    • HARVARD_DATAVERSE_API_KEY

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

Context cost

Election Data Source Countypres loads about 4.7k tokens when it runs, and up to ~14k if it reads all its reference files. Until then it costs about 71 tokens; SKILL.md has 1,572 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~4.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~14k

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); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,572 words (~4,650 tokens).

“County Presidential Election Returns 2000-2024 from MIT Election Data and Science Lab (MEDSL). Use when analyzing county-level presidential vote shares, party trends, turnout, or geographic voting patterns. Key join column county_fips enables linking to census, education (CCD/SAIPE), and demographic datasets…”

— opening of SKILL.md by brycewang-stanford, Custom licence
name
election-data-source-countypres
metadata.audience
any-agent
metadata.domain
data-source
metadata.skill-authored
2026-02-23
metadata.skill-last-updated
2026-02-24

Read the full SKILL.md on GitHub

Files

SKILL.md and 11 other files (scripts, references) in skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/election-data-source-countypres of brycewang-stanford/Auto-Empirical-Research-Skills.

  • SKILL.md
  • references/coded-values.md
  • references/columns.md
  • references/interpretations.md
  • references/mode-reconstruction.md
  • references/quality-notes.md
  • references/variable-definitions.md
  • scripts/01_structural_profile.py
  • scripts/02_column_profile.py
  • scripts/03_quality_profile.py
  • scripts/04_semantic_interpretation.py
  • scripts/05_reconcile_docs.py

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Election Data Source Countypres 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.

Election Data Source Countypres compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Election Data Source Countypres this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~4.7kAutomated safety check: PassCustom licence
Returns Reverse Logisticssickn33/agentic-awesome-skills47k8 repos~6.4kAutomated safety check: PassMIT
Returns Reverse Logisticsaffaan-m/ECC275k2 repos~2.3kAutomated safety check: PassApache-2.0
Returns Reverse Logisticsaffaan-m/ECC275k—~2.9kAutomated safety check: PassApache-2.0
Voting Navigatormohitagw15856/pm-claude-skills1.4k—~1.5kAutomated safety check: PassMIT
Voting Navigatormohitagw15856/pm-claude-skills1.4k—~246Automated safety check: PassMIT

Similar skills

  • Returns Reverse Logistics

    sickn33/agentic-awesome-skills

    Codified expertise for returns authorisation, receipt and inspection, disposition decisions, refund processing, fraud detection, and warranty claims management.

    47k GitHub starsUsed in 8 repos~6.4k tokens
    Data & AnalyticsAuto-check passed
  • 用于退货授权、接收与检验、处置决策、退款处理、欺诈检测以及保修索赔管理的标准化专业知识。基于拥有15年以上经验的退货运营经理的见解。包括分级框架、处置经济学、欺诈模式识别和供应商回收流程。适用于处理产品退货、逆向物流、退款决策、退货欺诈检测或保修索赔时使用。

    275k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • 返品承認、受取・検品、処分決定、返金処理、不正検出、保証クレーム管理のための標準化された専門知識。15年以上の経験を持つ返品オペレーションマネージャーの知見に基づく。段階的フレームワーク、処分経済性、不正パターン認識、ベンダー回収プロセスを含む。製品返品、逆物流、返金決定、返品不正検出、保証クレームを扱う場合に使用。

    275k GitHub stars~2.9k tokensUpdated 3 days ago
    Auto-check passed
  • Voting Navigator

    mohitagw15856/pm-claude-skills

    Work out how to actually vote in a specific election — am I registered, what's the deadline, how do I vote (in person / mail / early), what ID do I need, and what's on my ballot — with everything…

    1.4k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Voting Navigator

    mohitagw15856/pm-claude-skills

    Summarise what Voting Navigator does in one line. An agent skill from mohitagw15856/pm-claude-skills.

    1.4k GitHub stars~246 tokensUpdated yesterday
    Auto-check passed
  • Returner Cv

    mohitagw15856/pm-claude-skills

    Write a CV for someone returning to work after a career break (caring, health, parenting, travel, redundancy or anything else), presenting the gap honestly and briefly and leading with current…

    1.4k GitHub stars~890 tokensUpdated yesterday
    Auto-check passed

More from brycewang-stanford/Auto-Empirical-Research-Skills

All 364 skills in this repo
  • Latex Paper En

    brycewang-stanford/Auto-Empirical-Research-Skills

    English LaTeX academic paper assistant for existing .tex projects.

    4.5k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Bayesian Workflow

    brycewang-stanford/Auto-Empirical-Research-Skills

    Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.5k GitHub stars~3.5k tokensUpdated 3 days ago
    Auto-check passed
  • Five Questions

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deeply analyze any empirical economics PDF using the five-question framework (五问框架): research question, identification strategy, core estimand, robustness logic, and scholarly contribution.

    4.5k GitHub stars~1.7k tokensUpdated 3 days ago
    Auto-check: notes
  • Kaggle Research

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an…

    4.5k GitHub stars~868 tokensUpdated 3 days ago
    Auto-check passed
  • Latex Thesis Zh

    brycewang-stanford/Auto-Empirical-Research-Skills

    Chinese LaTeX thesis assistant for existing .tex degree thesis projects (XeLaTeX/LuaLaTeX/latexmk).

    4.5k GitHub stars~1.5k tokensUpdated 3 days ago
    Auto-check passed
  • Obsidian Project Memory

    brycewang-stanford/Auto-Empirical-Research-Skills

    This skill should be used when the user asks to maintain an Obsidian knowledge base for a research project, import an existing research repository into Obsidian, keep project memory or daily notes…

    4.5k GitHub stars~2.4k tokensUpdated 3 days ago
    Auto-check passed

Questions about Election Data Source Countypres

What does Election Data Source Countypres do?

County Presidential Returns 2000-2024 (MIT MEDSL). An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Election Data Source Countypres is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. County Presidential Returns 2000-2024 (MIT MEDSL).

How do I install Election Data Source Countypres in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill election-data-source-countypres -a claude-code`. Or copy the skill folder (skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/election-data-source-countypres in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/election-data-source-countypres in your project. Claude Code loads it when a task matches its description.

How do I install Election Data Source Countypres in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill election-data-source-countypres -a codex`. Or copy the skill folder (skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/election-data-source-countypres in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/election-data-source-countypres in your project. Codex loads it when a task matches its description.

Can I use Election Data Source Countypres 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 brycewang-stanford/Auto-Empirical-Research-Skills --skill election-data-source-countypres -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/election-data-source-countypres, .gemini/skills/election-data-source-countypres, .github/skills/election-data-source-countypres and .opencode/skills/election-data-source-countypres in your project.

What does Election Data Source Countypres need to run?

Going by SKILL.md and its folder, Election Data Source Countypres needs Python for the scripts in its folder, the command-line tools its instructions call (docker) and credentials named HARVARD_DATAVERSE_API_KEY. Our summary lists: Python 3; Docker; A credential in HARVARD_DATAVERSE_API_KEY.

Does Election Data Source Countypres access the network?

SKILL.md names 2 domains. In commands or code: dataverse.harvard.edu; the agent is likely to contact it when it follows the instructions. As links in the text: nature.com. This is read from the text; nothing was executed.

Is Election Data Source Countypres 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Election Data Source Countypres use?

Election Data Source Countypres has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Election Data Source Countypres use?

About 4.7k tokens (SKILL.md is roughly 19k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9.5k tokens, read only when the agent opens those files.

What are the alternatives to Election Data Source Countypres?

Skills that share tags, products or a category with Election Data Source Countypres: Returns Reverse Logistics (sickn33/agentic-awesome-skills, 47k stars), Returns Reverse Logistics (affaan-m/ECC, 275k stars), Returns Reverse Logistics (affaan-m/ECC, 275k stars) and Voting Navigator (mohitagw15856/pm-claude-skills, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Election Data Source Countypres?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,529 GitHub stars. The repository holds 364 skills in this directory. The repository was last updated on October 5, 2026.

Source: brycewang-stanford/Auto-Empirical-Research-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.