spicyregs
Skill by civictechdc
Spicy Regs queries regulatory data with DuckDB against a public Cloudflare R2 parquet bucket. It answers questions about dockets, comments, documents, agency activity and filing timelines for users who need results from that dataset.
Install spicyregs
Built from the published package, never by AI.
git clone --depth 1 https://github.com/civictechdc/spicy-regs /tmp/spicy-regs && mkdir -p ~/.claude/skills && cp -r /tmp/spicy-regs/plugins/spicyregs/skills/spicyregs ~/.claude/skills/spicyregsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/civictechdc/spicy-regs /tmp/spicy-regs && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/spicy-regs/plugins/spicyregs/skills/spicyregs ~/.gemini/antigravity-cli/skills/spicyregsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Spicy Regs is an agent skill that answers natural-language questions about regulatory data by running direct DuckDB queries against the public Cloudflare R2 parquet bucket used by the repo's notebooks. It covers dockets, comments, documents, agency activity, filing timelines and cross-docket analysis. The skill also lists complementary federal sources, such as federal_register and lobbying_filings, along with the join keys between them.
It is aimed at users who want answers drawn from the remote Spicy Regs dataset rather than from web searches. The source says R2 is the required source and the assistant should not silently fall back to local parquet or sample JSON. The workflow is meant to be provider-neutral, relying on local files, shell commands, uv, Python and DuckDB.
Written from the project's SKILL.md and checked against it.
What it can do
- list_sourcesLists the remote tables available in the Spicy Regs dataset via the helper script or MCP server.
- describe_tableShows the schema of a remote table such as dockets before writing queries against it.
- query_sqlRuns SQL against the R2 parquet files for counts, joins, timelines and top-N lists.
- find_duplicate_regulations.pyFinds possible duplicate or coordinated rulemaking across agencies, to be checked with targeted SQL.
- get_rule_textReturns a rule's outline, or specific sections, so the assistant can cite what a rule says.
- prepare_commentReturns the open document's regulations.gov comment link and checks a draft's length. It never submits.
- Comment window checksInspects documents.comment_start_date and comment_end_date to find open comment periods.
- Cross-source joinsJoins federal sources on rin, CFR citations, uei and agency_code for cross-docket analysis.
What you need
- Python with uv to run the helper scripts
- DuckDB
- Network access to the public Cloudflare R2 parquet bucket
Try asking
- Which dockets at EPA had the most comments in the last quarter?
- Show me documents with comment periods that are open right now.
- Find possible duplicate rulemaking across agencies in Spicy Regs.
Good to know
- R2 is the required source. The skill does not fall back to local parquet or sample JSON unless the user asks.
- It never submits comments. The user posts comments in their own words.
- A keyword LIKE match does not prove a claim. Semantic questions need SQL or direct record inspection.
- Add LIMIT to queries unless the user asks for a full export.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/spicyregs/skills/spicyregs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to spicyregs
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
spicyregs: common questions
Does Spicy Regs need a local copy of the dataset?
No. By default it queries the public Cloudflare R2 parquet bucket. Local parquet is used only when the user explicitly asks for it.
Can Spicy Regs post a comment on a rule for me?
No. The prepare_comment tool returns the comment link and checks draft length, but the source says it never submits. The user posts the comment.
Does this only work with OpenAI assistants?
The source says the workflow is provider-neutral and relies on local files, shell commands, uv, Python and DuckDB, so non-OpenAI runtimes can reuse it.
How do I install spicyregs?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is spicyregs free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is spicyregs safe to use?
It scores 64 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to spicyregs?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
