--state: Two-letter state abbreviation (Default: TX or LEGISCAN_STATE env var).
--keywords: Comma-separated list of terms to search for.
--all: If flag is present, includes bills that have passed or are completed.
Best Practices
The script uses environment variables for sensitive credentials.
It provides CLI arguments for flexibility without modifying code.
It includes error handling for API failures and missing configuration.
1---2name: legiscan-bill-search3description: LegiScan Bill Tracker4---5# LegiScan Bill Tracker67A skill to monitor state legislative activity using the LegiScan API. It filters for active bills based on custom keywords and state selection.89## Setup10111. **API Key**: Obtain a free API key from [LegiScan](https://legiscan.com/legiscan).122. **Environment Variable**: Set `LEGISCAN_API_KEY` in your environment.133. **Dependencies**: Requires `requests`.1415## Usage1617Run the script directly or via a scheduled task (cron).1819```bash20# Default (TX, cryptocurrency keywords)21python3 search.py2223# Custom State and Keywords24python3 search.py --state TX --keywords "crypto, bitcoin, blockchain"2526# Include passed/completed bills27python3 search.py --state TX --keywords "crypto, bitcoin, blockchain" --all28```2930## Configuration Options3132- `--state`: Two-letter state abbreviation (Default: `TX` or `LEGISCAN_STATE` env var).33- `--keywords`: Comma-separated list of terms to search for.34- `--all`: If flag is present, includes bills that have passed or are completed.3536## Best Practices37- The script uses environment variables for sensitive credentials.38- It provides CLI arguments for flexibility without modifying code.39- It includes error handling for API failures and missing configuration.
Run npx skillmds@latest add javimosch/legiscan-bill-search in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
LegiScan Bill Tracker It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
javimosch (@javimosch) published this skill. Their other Agent Skills are listed on their SkillMD profile.