parliament-cli

UK Parliament CLI — search bills, divisions, members, and written questions from official UK Parliament APIs, with stable JSON envelopes for agents. Use when looking up UK Parliament bills, members, votes/divisions, written questions, or when an agent needs structured Parliament API results.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "parliament-cli" with this command: npx skills add shan8851/parliament-cli

parliament-cli

Use parliament for UK Parliament data: bills, members, divisions/votes, and written questions.

Setup

  • npm install -g @shan8851/parliament-cli
  • No API key or auth required

Bills

  • By id: parliament bill 3973
  • By title: parliament bill "renters rights"
  • Search: parliament search bills "energy"

Divisions and Votes

  • Search divisions: parliament divisions "budget"
  • Lookup by id: parliament divisions 2211
  • Alias: parliament votes 2211

Members

  • By name: parliament member "Keir Starmer"
  • By id: parliament member 4514

Written Questions

  • Search: parliament questions "transport"
  • Lookup by id or UIN query: parliament questions 902178

Output

  • Defaults to text in a TTY and JSON when piped
  • Force JSON: parliament bill 3973 --json
  • Success envelope: { ok, schemaVersion, command, requestedAt, data }
  • Error envelope: { ok, schemaVersion, command, requestedAt, error }

Agent Notes

  • Ambiguous text queries return AMBIGUOUS_QUERY with candidate hints in error.details
  • No auth setup needed, so agents can use it immediately
  • Exit codes are explicit and errors stay structured in JSON mode

Notes

  • Official sources include the Bills, Members, Written Questions, and Commons Votes APIs
  • votes is an alias of divisions

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Spicy Ai Video

Turn a 60-second talking head clip into 1080p high-energy edited videos just by typing what you need. Whether it's turning bland footage into visually intens...

Registry SourceRecently Updated
Coding

Video Maker Fast

Get polished MP4 videos ready to post, without touching a single slider. Upload your video clips (MP4, MOV, AVI, WebM, up to 500MB), say something like "trim...

Registry SourceRecently Updated
Coding

Generation Generator

generate text prompts or clips into AI generated videos with this skill. Works with MP4, MOV, PNG, JPG files up to 500MB. marketers, content creators, social...

Registry SourceRecently Updated
Coding

Editor On Android

Get edited MP4 clips ready to post, without touching a single slider. Upload your video clips (MP4, MOV, AVI, WebM, up to 500MB), say something like "trim th...

Registry SourceRecently Updated