Skills with Code

A skill can come with code. The SKILL.md file tells the agent when to use the skill and how to run the code, and the code does the actual work, exactly the same way every time. That's handy for research you repeat, because the agent can't skip a step or make up a number.

We're going to add a skill called Candidate Research. It comes with a short Python script that gets campaign finance totals from the FEC: how much each candidate has raised and spent, and how much cash they have left. You can ask about a whole race, like the Texas Senate race, or about specific candidates, like Ken Paxton and James Talarico.

You'll need the FEC API key from the Setup page.

I'm using on

Pick both to see the steps.

Go to the Challenge →

Instructions written by Dhrumil w/ Claude Code