idfm-journey-skill

Transportation
v0.1.6
Benign

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

1.8K downloads1.8K installsby @anthonymq

Setup & Installation

Install command

clawhub install anthonymq/idfm-journey-skill

If the CLI is not installed:

Install command

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

Or install with OpenClaw CLI:

Install command

openclaw skills install anthonymq/idfm-journey-skill

or paste the repo link into your assistant's chat

Install command

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

What This Skill Does

Queries the IDFM PRIM/Navitia API for public transport in Paris and the Île-de-France region. Covers journey planning between any two locations, station name resolution to stop IDs, and real-time disruption checks on RER and metro lines.

Handles place name resolution automatically, so you can type a station name instead of looking up stop IDs before querying journeys.

When to Use It

  • Finding routes between Paris neighborhoods by typing plain station names
  • Checking active disruptions on a specific RER or metro line before leaving
  • Resolving ambiguous stop names to exact IDFM stop area IDs
  • Planning a trip from the suburbs into central Paris with transfer details
  • Monitoring ongoing incidents across Î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.

## Metadata

- **Author:** anthonymq
- **Version:** 0.1.6

## Trigger phrases (examples)

- "Itinéraire de {origine} à {destination}"
- "Route from {origin} to {destination} in Paris / Île-de-France"
- "Check RER/metro disruptions" / "incidents on line {line}"

## Prereqs

- Set `IDFM_PRIM_API_KEY` in the environment before running.

### Generating an API Key

To obtain an IDFM PRIM API key:
1. Visit [https://prim.iledefrance-mobilites.fr/](https://prim.iledefrance-mobilites.fr/)
2. Create an account or log in
3. Navigate to "Espace développeur" or the developer portal
4. Subscribe to the "Navitia" API
5. Your API key will be generated and displayed in your dashboard
6. Export it in your environment: `export IDFM_PRIM_API_KEY="your-key-here"`

## 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: Finding routes between Paris neighborhoods by typing plain station names

AGENT
  1. 1Finding routes between Paris neighborhoods by typing plain station names
  2. 2Checking active disruptions on a specific RER or metro line before leaving
  3. 3Resolving ambiguous stop names to exact IDFM stop area IDs
  4. 4Planning a trip from the suburbs into central Paris with transfer details
  5. 5Monitoring ongoing incidents across Î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 updatedMar 16, 2026