idfm-journey-navitia

Transportation
v0.1.0
Benign

Query Île-de-France Mobilités (IDFM) PRIM/Navitia.

11.2K downloads1.2K installsby @anthonymq

Setup & Installation

Install command

clawhub install anthonymq/idfm-journey-navitia

If the CLI is not installed:

Install command

npx clawhub@latest install anthonymq/idfm-journey-navitia

Or install with OpenClaw CLI:

Install command

openclaw skills install anthonymq/idfm-journey-navitia

or paste the repo link into your assistant's chat

Install command

https://github.com/openclaw/skills/tree/main/skills/anthonymq/idfm-journey-navitia

What This Skill Does

Queries the Île-de-France Mobilités (IDFM) PRIM/Navitia API for transit routing in the Paris region. Resolves station and stop IDs from free-text place names, plans multi-leg journeys, and checks active disruptions on metro and RER lines. Requires an IDFM PRIM API key.

Uses the official IDFM PRIM data source, covering all Île-de-France transit modes (metro, RER, bus, tram) with real-time disruption data, rather than scraping third-party apps or relying on incomplete open datasets.

When to Use It

  • Planning a route from one Paris suburb to another
  • Looking up the stop area ID for a specific metro or RER station
  • Checking whether a given metro line has active incidents
  • Getting multiple journey options with transfer details between two locations
  • Filtering current disruptions across all Île-de-France transit lines
View original SKILL.md file
# IDFM Journey (PRIM/Navitia)

Use the bundled script to call PRIM/Navitia endpoints without extra dependencies.

## Prereqs

- Set `IDFM_PRIM_API_KEY` in the environment before running.

## Quick commands

Run from anywhere (path is inside the skill folder):

- Resolve places (best match + list):
  - `python3 scripts/idfm.py places "Ivry-sur-Seine" --count 5`

- Journeys (free-text from/to; resolves place ids first):
  - `python3 scripts/idfm.py journeys --from "Ivry-sur-Seine" --to "Boulainvilliers" --count 3`

- Incidents / disruptions (by line id or filter):
  - `python3 scripts/idfm.py incidents --line-id line:IDFM:C01727`
  - `python3 scripts/idfm.py incidents --filter 'disruption.status=active'`

Add `--json` to print raw API output.

## Notes

- If place resolution is ambiguous, increase `--count` and choose the right `stop_area` id.
- For API details and examples, read: `references/idfm-prim.md`.

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Planning a route from one Paris suburb to another

AGENT
  1. 1Planning a route from one Paris suburb to another
  2. 2Looking up the stop area ID for a specific metro or RER station
  3. 3Checking whether a given metro line has active incidents
  4. 4Getting multiple journey options with transfer details between two locations
  5. 5Filtering current disruptions across all Île-de-France transit lines
OUTPUT
Query Île-de-France Mobilités (IDFM) PRIM/Navitia.

Share this skill

Security Audits

VirusTotalBenign
OpenClawBenign
View full report

These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.

Details

LanguageMarkdown
Last updatedFeb 26, 2026