chli

Aggregate and query Swiss federal open data sources from a single CLI.

3|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/salam/chli --skill chli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chli
Source: https://github.com/salam/chli/tree/main
Command: npx skills add https://github.com/salam/chli --skill chli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Swiss open-data is scattered across multiple portals and formats. chli unifies access to Parliament, Federal Law, SHAB, opendata.swiss, court decisions, and more into a single, easy-to-use CLI.

Core Features & Use Cases

  • Unified, multilingual CLI for searching and browsing data from multiple Swiss government sources.
  • Consistent output formats (table, JSON, YAML, CSV/TSV, Markdown) with caching and offline-friendly operation.
  • Real-world use: researchers and journalists can quickly assemble up-to-date datasets, legal texts, and decision records for analysis or reporting.

Quick Start

Run chli parl person --name Sommaruga to search for a member and view a profile.

Frequently Asked Questions about chli

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

FAQPage Schema
How do I query Swiss federal open data from multiple sources at once?

You can query Swiss federal open data from Parliament, Fedlex, SHAB, and more using a single CLI that unifies multiple government portals into consistent output formats like JSON, YAML, and CSV.

Can I get Swiss parliament member profiles and federal law texts through a command line interface?

Yes, you can retrieve Swiss parliament member profiles and federal law texts through a command line interface that aggregates sources like Parliament and Fedlex, enabling quick searches by name or keyword with multilingual output.

What's the best way to aggregate Swiss government data for offline research and reporting?

The best way to aggregate Swiss government data for offline research is using a CLI with built-in caching, which stores results locally to support offline-friendly operation while assembling datasets from sources like Swissreg, Zefix, and LINDAS.

Does this Swiss open data CLI support exporting court decisions and SHAB notices in structured formats?

This Swiss open data CLI supports exporting court decisions and SHAB notices in structured formats including table, JSON, YAML, CSV/TSV, and Markdown, ensuring consistent output for legal and decision records.

How do I search for a specific member in the Swiss Parliament dataset using a CLI?

To search for a specific member in the Swiss Parliament dataset, run a CLI command like 'chli parl person --name Sommaruga' to retrieve and view the member's profile directly in your terminal.

Can I use this CLI to access Swiss geographic and land registry data alongside legal sources?

Yes, you can access Swiss geographic and land registry data alongside legal sources, as the CLI unifies Geo, Grundbuch, Swissreg, and Fedlex queries into a single interface with multilingual and cached output.