/regulatory-legal-uk:bill-debate-tracefrom Regulatory Legal UK
Traces the parliamentary journey of a UK bill through debates, votes, and named contributions using Bills API, Hansard, and Votes data.
Ships in Regulatory Legal UK. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
bills_search_bills(query="<name>").parliament_search_hansard(query=..., filters.house=...).parliament_get_debate_divisions(debate_ext_id=...).parliament_get_debate_contributions(debate_ext_id=..., member_id=...).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.
Source discipline: If a
uk-legal MCPtool 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'snext_steps/detailfield 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.
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.
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:
parliament_search_hansard(query="<short title>", filters.house="Lords")parliament_search_hansard(query="<short title>", filters.house="Commons")Collect all debate_ext_id values returned across both queries.
For each debate_ext_id collected in Step 2, call
parliament_get_debate_divisions(debate_ext_id=...). Returns aye_count,
noe_count, and government_win for each division within the debate.
Many debates have zero divisions (motion agreed without a vote). Report this honestly: "No divisions recorded — motion agreed without a vote." Do not omit debates because they had no divisions; include them in the chronological list.
Only retrieve individual contributions if the user named a specific peer or MP. Do NOT enumerate all speakers — that is noisy and unhelpful for most queries.
If a specific member is named:
parliament_find_member(name=...) to confirm the member_id.parliament_get_debate_contributions(debate_ext_id=..., member_id=...)
for each relevant debate.[uk-legal MCP — Hansard].For general "who spoke" questions, summarise from the debate metadata rather than retrieving all individual contribution records.
Report:
current_stage, originating house, sponsor
tagged [uk-legal MCP — bills][uk-legal MCP — Hansard][uk-legal MCP — votes]Source attribution. Bill metadata carries [uk-legal MCP — bills]. Debate
and contribution data carries [uk-legal MCP — Hansard]. Division data carries
[uk-legal MCP — votes]. No division result may be reported without a
parliament_get_debate_divisions result from this session. No contribution may
be reported without a parliament_get_debate_contributions result from this session.
Surface to the user:
Bill: title, current_stage, originating house, sponsor
[uk-legal MCP — bills]
Parliamentary journey (chronological):
| Date | House | Debate | Divisions |
|---|---|---|---|
| [date] | Lords / Commons | [debate title, Hansard col ref] | [N ayes / N noes / gov win: Y/N] or "no divisions" |
[uk-legal MCP — Hansard] on debate entries; [uk-legal MCP — votes] on division entries
Named contributions (if the user requested): verbatim text with
[uk-legal MCP — Hansard] and column citation
Suggested next steps:
/statute-amendments-trace/find-member-contributionTest prompts:
What SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/cold-start-interviewCold-start interview — builds your UK regulatory watchlist, indexes the policy library, and learns your materiality threshold so the monitor surfaces signal instead of noise. Use on fresh install, when reconfiguring (--redo), or when re-checking what connectors are actually responding (--check-integrations)./commentsReview open UK consultation response periods, log decisions, track deadlines. Use when a UK consultation (FCA CP, ICO code consultation, GOV.UK consultation, CMA discussion paper) has a response window open and you need to surface closing dates, decide whether to file a response, or record a response / not-responding / waived decision (--decide CMT-ID)./npx claudepluginhub uk-agents/uk-legal-plugins --plugin regulatory-legal-uk2 plugins in one repository ship this exact skill · first indexed Aug 22, 2026
Other plugins' skills for the same job