yrzhe/claude-skills/vote-predict
Claude Code and agent skill by yrzhe/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Predict how a target population would vote, respond to a policy, or react to a political message. Use when the user wants a distribution (not a winner-take-all answer) across demographic segments, with calibration disclaimers. Triggers on 投票预测, 民意模拟, policy response, 政策反应, 选举模拟, 民意分布, 某群体怎么看.
Install
npx vskill@latest install yrzhe/claude-skills/vote-predictSKILL.md
Vote Predict
Thin scenario wrapper for opinion/vote simulation. Unlike product-feedback which scores 1-10, vote-predict uses categorical choices and post-stratification so the distribution maps to population-level prediction.
Recipe
Core rules
- NEVER output a single "winner" percentage as the answer. Output the full distribution + margin of uncertainty.
- Always apply IPF weights when the base panel doesn't match the target population (almost always for Nemotron).
- Report segment breakdowns (age × vote, education × vote) — even if the topline says 52/48, the story is in the segments.
- Attach bias audit warning from
lib/bias_audit.py— humans show acquiescence and framing biases that LLM personas do not. Flag the prediction as "LLM-synthetic, not a replacement for real polling". - Flag multi-modal results — if
aggregator._dip_test_proxysays multi-modal, the population is split and averaging misleads.
Calibration priors
Known US baselines from eval/gss_20q.json can sanity-check predictions. If your simulated distribution is >0.2 JS-divergence from the reference for a similar question, the simulation is not trustworthy for this topic. Run eval first.
Do NOT use this skill for
- Real election forecasting (use prediction markets + polling aggregators)
- High-stakes policy decisions on single outcome (use this for hypothesis generation only)
- Issues where real-world events have shifted distributions after the Nemotron training cutoff (2024 or earlier)
See also
persona-sim/lib/ipf.py— post-stratification implementationpersona-sim/lib/bias_audit.py— run before publishing any predictionpersona-sim/eval/gss_20q.json— baseline attitude distributions
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/persona-sim/skills/vote-predict/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yrzhe/claude-skills/vote-predict)