riigikogu-open-data

riigikogu-open-data is a skill for Claude Code from taivop/marketplace. It costs 33 tokens per session (1,016 once invoked), scanned A, original, MIT.

A lookup skill for the Estonian Parliament’s open data, including draft laws, votes, members, agendas, and stenograms. Stenograms are written records of parliamentary debates.

In plain words
What is it for?
It helps search legislative drafts, retrieve vote and agenda records for a date range, and obtain debate transcripts through the Riigikogu API.
Why use it?
It avoids relying on a website interface when you need machine-readable legislative activity and helps separate parliamentary records from election results.

Skill for Claude Code

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

Part of the estonia-public-sources plugin — 88 skills shipped together

Good fit It helps search legislative drafts, retrieve vote and agenda records for a date range, and obtain debate transcripts through the Riigikogu API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/taivop/marketplace/riigikogu-open-data
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 taivop/marketplace --skill riigikogu-open-data
Clone the repo
git clone --depth 1 https://github.com/taivop/marketplace

Made for: Claude Code.

Or install estonia-public-sources, the plugin that ships this one along with the rest of its 88 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 riigikogu-open-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/taivop/marketplace/riigikogu-open-data/github.svg)](https://agentmods.dev/skills/taivop/marketplace/riigikogu-open-data)
Your own site
<a href="https://agentmods.dev/skills/taivop/marketplace/riigikogu-open-data"><img src="https://agentmods.dev/badge/skills/taivop/marketplace/riigikogu-open-data/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 riigikogu-open-data

Your own site · 80×15
<a href="https://agentmods.dev/skills/taivop/marketplace/riigikogu-open-data"><img src="https://agentmods.dev/badge/skills/taivop/marketplace/riigikogu-open-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,016 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.00033 $0.01016
Opus 5 $0.00016 $0.00508
Sonnet 5 $0.00007 $0.00203
Haiku 4.5 $0.00003 $0.00102

Measured 7d ago against content hash 3908555831b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

riigikogu-open-data 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 7d 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.

skills/estonia-public-sources/sources/riigikogu-open-data/SKILL.md · 61 lines

How it starts

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

Riigikogu Open Data API

Use when

  • You need draft laws, parliamentary votes, members, plenary agendas, or stenograms.
  • You need machine-readable legislative activity from the Riigikogu API.

Avoid when

  • You need election outcomes (use election archive skill).

Primary endpoints

  • OpenAPI contract: https://api.riigikogu.ee/v3/api-docs
  • Draft search: https://api.riigikogu.ee/api/volumes/drafts?initiatedStartDate=2026-01-01&initiatedEndDate=2026-01-31&lang=EN&page=0&size=20
  • Draft detail: https://api.riigikogu.ee/api/volumes/drafts/{uuid}?lang=EN&querySteno=false
  • Votes: https://api.riigikogu.ee/api/votings?startDate=2025-01-01&endDate=2025-01-31&lang=EN
  • Plenary agendas: https://api.riigikogu.ee/api/agenda/plenary?startDate=2025-01-01&endDate=2025-01-31&lang=EN
  • Stenograms: https://api.riigikogu.ee/api/steno/verbatims?startDate=2025-01-01&endDate=2025-01-31
  • Public calendar fallback: https://www.riigikogu.ee/tegevus/kalender/
  • Public stenogram fallback: https://www.riigikogu.ee/tegevus/stenogrammid/

Workflow

  1. Choose the endpoint family from the OpenAPI contract.
  2. Query a bounded date range using ISO dates. For a known draft, use reference, mark, or title instead.
  3. Preserve UUIDs, draft marks, stages, timestamps, sitting metadata, speaker names, and vote values as returned.
  4. Follow UUID detail, document, or file endpoints only when the requested record needs them.
  5. Return the exact endpoint and query parameters with the extracted records.

Access reality

  • Public access type: API or structured endpoint access.
  • Verified 2026-07-14 against OpenAPI version 2.21.8.
  • The January 2025 plenary-agenda example returns weekStartDate, weekEndDate, title, and a non-empty sittings array.
  • The January 2026 draft example returns a HAL page under _embedded.content; each result has a UUID, title, draft mark, type, stage, status, and initiation date.
  • The service may return HTTP 429 for rapid consecutive requests; query serially and back off before retrying.

Read the full file on GitHub · 61 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. 7d ago First seen · 61 lines · 33 tokens per session scan A 3908555831b8

Subscribe to this mod's changes

riigikogu-open-data is a skill published in the GitHub repository taivop/marketplace (17 stars, last pushed 10d ago), licensed MIT. It adds 33 tokens to every session and 1,016 once invoked, about $0.0002 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-04.

Related

Other skills, from other repositories

specification-writing

A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

regulatory-research-fallback

Fallback workflow for regulatory research when web extraction tools fail on government PDFs.

HKUDS/OpenSpace · 20 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

nda-review

Use when the user uploads or pastes a non-disclosure agreement and asks for review, redline, risk assessment, or a recommendation on whether to sign. Identifies missing standard protections, one-sided or unusual provisions, and operational issues; produces a structured report with severity ratings and citations to…

LegalQuants/lq-ai · 79 tokens