bill-debate-trace

bill-debate-trace is a skill for Claude Code from uk-agents/uk-legal-plugins. It costs 91 tokens per session (1,323 once invoked), scanned A, original, Apache-2.0.

A research workflow that follows a proposed UK law, called a bill, through Parliament, where elected MPs and appointed members debate and vote on bills.

In plain words
What is it for?
It traces a bill’s progress, identifies who spoke, summarises debates, and reports divisions, meaning formal parliamentary votes, in either House.
Why use it?
It replaces scattered searches through parliamentary records with a chronological account of stages, debates, votes, and requested contributions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the corporate-legal-uk plugin — 11 skills, 1 agent shipped together

Good fit It traces a bill’s progress, identifies who spoke, summarises debates, and reports divisions, meaning formal parliamentary votes, in either House.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uk-agents/uk-legal-plugins/bill-debate-trace
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add uk-agents/uk-legal-plugins --skill bill-debate-trace
Clone the repo
git clone --depth 1 https://github.com/uk-agents/uk-legal-plugins

Made for: Claude Code.

Or install corporate-legal-uk, the plugin that ships this one along with the rest of its 11 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bill-debate-trace

README.md
[![agentmods](https://agentmods.dev/badge/skills/uk-agents/uk-legal-plugins/bill-debate-trace/github.svg)](https://agentmods.dev/skills/uk-agents/uk-legal-plugins/bill-debate-trace)
Your own site
<a href="https://agentmods.dev/skills/uk-agents/uk-legal-plugins/bill-debate-trace"><img src="https://agentmods.dev/badge/skills/uk-agents/uk-legal-plugins/bill-debate-trace/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bill-debate-trace

Your own site · 80×15
<a href="https://agentmods.dev/skills/uk-agents/uk-legal-plugins/bill-debate-trace"><img src="https://agentmods.dev/badge/skills/uk-agents/uk-legal-plugins/bill-debate-trace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,323 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.01323
Opus 5.5 $0.00036 $0.00529
Sonnet 5.5 $0.00018 $0.00265
Haiku 4.5 $0.00009 $0.00132

Measured 3mo ago against content hash 3cdd61c8ebdc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bill-debate-trace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

corporate-legal-uk/skills/bill-debate-trace/SKILL.md · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/bill-debate-trace

  1. Identify the bill: bills_search_bills(query="<name>").
  2. Find debates per house: parliament_search_hansard(query=..., filters.house=...).
  3. Get divisions per debate: parliament_get_debate_divisions(debate_ext_id=...).
  4. For named members only: parliament_get_debate_contributions(debate_ext_id=..., member_id=...).
  5. Surface a chronological view: bill metadata, debates, divisions, named contributions.

Purpose

Assemble a chronological view of a UK bill's parliamentary journey — its current stage, the debates it generated in each House, any divisions (votes), and (if requested) specific contributions by named peers or MPs. The skill draws on three data sources via uk-legal MCP: the Bills API for metadata and stage, Hansard for debates and contributions, and the Votes/Divisions API for division counts and government-win data.

Workflow

Source discipline: If a uk-legal MCP tool returns empty or errored (status: empty / not_found / upstream_validation / etc.), do NOT supplement from training data or web search. Report the empty result to the user with the tool's next_steps / detail field surfaced, and ask for clarifying information (different spelling of a name, a date range, the source URL) rather than fabricating a plausible-looking answer. Empty results are HONEST signal — not a failure mode to paper over.

Step 1 — Identify the bill

Call bills_search_bills(query="<name>"). Returns bill records with current_stage, originating_house, and sponsor. If multiple bills match, list them and ask the user to confirm the right one before proceeding.

Step 2 — Find the debates

Call parliament_search_hansard(query="<bill short title>"). Because the Hansard search is capped at four results per query, run it per-house if needed:

  1. parliament_search_hansard(query="<short title>", filters.house="Lords")
  2. parliament_search_hansard(query="<short title>", filters.house="Commons")

Collect all debate_ext_id values returned across both queries.

Read the full file on GitHub · 117 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 117 lines · 91 tokens per session scan A 3cdd61c8ebdc

Subscribe to this mod's changes

bill-debate-trace is a skill published in the GitHub repository uk-agents/uk-legal-plugins (20 stars, last pushed 13d ago), licensed Apache-2.0. It adds 91 tokens to every session and 1,323 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

bill-debate-trace compared with skills from other repositories

bill-debate-trace next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bill-debate-traceuk-agents/uk-legal-pluginsSkill2013d agoApache-2.0A91Claude Code
brand-safety-compliancecrevideo/crevideo-reachSkill1128d agoMITA139Claude Code
c2pa-metadataindranilbanerjee/neels-pluginsSkill722d agoMITA30Claude Code, Codex
timescaledb-hyperfunctionstimescale/pg-aiguideSkill1.9kyesterdayApache-2.0A298Cursor
employment-compliancecbrock84/headcountSkill2.6ktodayMITA87Claude Code
revenue-recognitioncbrock84/headcountSkill2.6ktodayMITA69Claude Code
privacy-and-data-protectioncbrock84/headcountSkill2.6ktodayMITA86Claude Code