law-download

Fetch Dutch regulations from BWB/CVDR and convert them to regelrecht YAML.

20|4|Updated Nov 10, 2025
One-click install
npx skills add https://github.com/MinBZK/regelrecht --skill law-download
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: law-download
Source: https://github.com/MinBZK/regelrecht/tree/main/.claude/skills/law-download
Command: npx skills add https://github.com/MinBZK/regelrecht --skill law-download

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, lxml, PyYAML, and includes references (resource) components.

What problem does it solve?

This Skill retrieves official Dutch regulations from government sources (BWB and CVDR) and converts them into the regelrecht YAML format for easy storage and processing.

Core Features & Use Cases

  • Fetch regulations from national (BWB) and local (CVDR) databases and present results with IDs and metadata.
  • Download and parse the official XML to extract articles and metadata.
  • Convert to YAML text-only format suitable for corpus ingestion and downstream interpretation.

Quick Start

Run the law-download skill to search for a regulation by title or BWBR/CVDR ID and save a YAML file to the registry.

Frequently Asked Questions about law-download

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Dutch regulations from wetten.overheid.nl to YAML?

You can fetch Dutch regulations from BWB or CVDR sources by providing a law name, BWBR ID, CVDR ID, or wetten.overheid.nl URL, and the tool will parse the XML to extract metadata and articles into a YAML file.

What is the regelrecht YAML format used for?

The regelrecht YAML format is a text-only representation of Dutch regulations designed for easy consumption, corpus storage, and downstream interpretation of legal texts.

Can I download local Dutch municipal regulations using a CVDR ID?

Yes, you can download local Dutch regulations by providing a CVDR ID, which fetches the official XML from the CVDR database and extracts its articles and metadata into regelrecht YAML.

Does this tool require XML parsing dependencies like lxml and PyYAML?

Yes, the tool requires lxml and PyYAML to parse the official regulation XML from government sources and serialize the extracted articles and metadata into the YAML format.

What is the best way to ingest Dutch laws into a text corpus?

The best way to ingest Dutch laws into a text corpus is to fetch the regulations from BWB or CVDR, parse the XML, and convert the articles into a text-only YAML format for storage.

Why does my Dutch regulation download only return metadata without articles?

A download might only return metadata if the source XML structure differs from expected formats or if the provided BWBR or CVDR ID does not contain parseable article data.