Challenge
Add polling to your Candidate Research skill. When you ask about a race, it should also get the latest polling average from FiftyPlusOne.
You won't write any code yourself. Your agent will look at the website, write a script called polls.py and update the skill.
I'm using on
Pick both to see the steps.
Step 1: Add polls to your skill
Your skill is in ~/.agents/skills/candidate-research. It's up to you what to ask.
-
Have the LLM write a new script,
scripts/polls.py, that grabs the most recent polling average for a race from FiftyPlusOne, like this page for the Texas Senate race: fiftyplusone.news/polls/senate/general/texas. -
Have the LLM update the instructions in
SKILL.mdso the skill runs bothmoney.pyandpolls.pywhen you ask about a race.
Step 2: Try it
Start a new chat and run:
/candidate-research Texas Senate Race$candidate-research Texas Senate Race/candidate-research Texas Senate Race
You should get the money table and the latest polling average.
Tweak SKILL.md until it shows up exactly how you want it. (Add a citation? Show just the numbers?)
Instructions written by Dhrumil w/ Claude Code