find-member-contribution

find-member-contribution is a skill for Claude Code from uk-agents/uk-legal-plugins. It costs 112 tokens per session (1,250 once invoked), scanned A, original, Apache-2.0.

A research tool for finding what a specific member of the UK Parliament said in a Hansard debate. Hansard is the official written record of debates in Parliament.

In plain words
What is it for?
It helps locate a peer’s or MP’s contributions to a particular debate, bill, or topic and present them with formal column citations.
Why use it?
Searching by a person’s name can find debates where they are only mentioned, rather than speeches they actually gave.

Skill for Claude Code

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

Part of the legal-clinic-uk plugin — 15 skills shipped together

Good fit It helps locate a peer’s or MP’s contributions to a particular debate, bill, or topic and present them with formal column citations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uk-agents/uk-legal-plugins/find-member-contribution
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 find-member-contribution
Clone the repo
git clone --depth 1 https://github.com/uk-agents/uk-legal-plugins

Made for: Claude Code.

Or install legal-clinic-uk, the plugin that ships this one along with the rest of its 15 skills.

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 find-member-contribution

README.md
[![agentmods](https://agentmods.dev/badge/skills/uk-agents/uk-legal-plugins/find-member-contribution/github.svg)](https://agentmods.dev/skills/uk-agents/uk-legal-plugins/find-member-contribution)
Your own site
<a href="https://agentmods.dev/skills/uk-agents/uk-legal-plugins/find-member-contribution"><img src="https://agentmods.dev/badge/skills/uk-agents/uk-legal-plugins/find-member-contribution/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 find-member-contribution

Your own site · 80×15
<a href="https://agentmods.dev/skills/uk-agents/uk-legal-plugins/find-member-contribution"><img src="https://agentmods.dev/badge/skills/uk-agents/uk-legal-plugins/find-member-contribution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,250 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.00112 $0.01250
Opus 5 $0.00056 $0.00625
Sonnet 5 $0.00022 $0.00250
Haiku 4.5 $0.00011 $0.00125

Measured 9d ago against content hash ec3c94cb47d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

find-member-contribution 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 9d 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.

legal-clinic-uk/skills/find-member-contribution/SKILL.md · 107 lines

How it starts

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

/find-member-contribution

  1. Resolve the member_id first: call parliament_find_member(name=...).
  2. Search Hansard by topic or bill name — NOT by member name: parliament_search_hansard(query=...).
  3. Retrieve contributions filtered by member: parliament_get_debate_contributions(debate_ext_id=..., member_id=...).
  4. If multiple debates returned, retrieve contributions from each and present in date order.
  5. Tag every contribution [uk-legal MCP — Hansard] with a full column citation.

Purpose

Retrieve verbatim Hansard contributions by a named peer or MP for a specific debate, bill, or topic. The principal failure mode for this task is text-searching Hansard directly by member name — that returns debates where the name appears incidentally, not the member's own contributions. This skill addresses it: resolve member_id first, search by topic second, filter by member_id third.

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 — Resolve the member_id

Call parliament_find_member(name=...) using the name or title the user provided.

  • If multiple members match (e.g. "Lord Smith" matches several peers), list all candidates with their full parliamentary titles and ask the user to disambiguate.
  • If parliament_find_member returns empty or not_found, the name or title may be incomplete or misspelled — ask the user for the member's full parliamentary title and do not proceed to Step 2 without a confirmed member_id.

Step 2 — Find the debate

Call parliament_search_hansard(query=...) using the BILL NAME or TOPIC the user mentioned — NOT the member's name. The tool returns up to four debates with debate_ext_id, sitting_date, and house.

Read the full file on GitHub · 107 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. 9d ago First seen · 107 lines · 112 tokens per session scan A ec3c94cb47d3

Subscribe to this mod's changes

find-member-contribution is a skill published in the GitHub repository uk-agents/uk-legal-plugins (9 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 112 tokens to every session and 1,250 once invoked, about $0.0006 per session on Opus 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-09-03.

Related

Other skills, from other repositories

pgvector-semantic-search

Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. Trigger when user asks to: Store or search vector embeddings in PostgreSQL Set up semantic search, similarity search, or nearest neighbor search Create HNSW or IVFFlat indexes for vectors…

timescale/pg-aiguide · 190 tokens

find-hypertable-candidates

Use this skill to analyze an existing PostgreSQL database and identify which tables should be converted to Timescale/TimescaleDB hypertables. Trigger when user asks to: Analyze database tables for hypertable conversion potential Identify time-series or event tables in an existing schema Evaluate if a table would…

timescale/pg-aiguide · 184 tokens

postgres-hybrid-text-search

Use this skill to implement hybrid search combining BM25 keyword search with semantic vector search using Reciprocal Rank Fusion (RRF). Trigger when user asks to: Combine keyword and semantic search Implement hybrid search or multi-modal retrieval Use BM25/pgtextsearch with pgvector together Implement RRF (Reciprocal…

timescale/pg-aiguide · 162 tokens

postgres

Use this skill for any PostgreSQL database work — table design, indexing, data types, constraints, extensions (pgvector, PostGIS, TimescaleDB), search, and migrations. Trigger when user asks to: Design or modify PostgreSQL tables, schemas, or data models Choose data types, constraints, indexes, or partitioning…

timescale/pg-aiguide · 197 tokens

specify-factory

Decompose a multi-feature or multi-component specification into factory-consumable artifacts. Use this for high-complexity work — multiple features, three or more components, or parallel-eligible workstreams.

rsmdt/the-startup · 45 tokens

debug

Systematically diagnose and resolve bugs through conversational investigation and root cause analysis.

rsmdt/the-startup · 15 tokens