french-services
by hugosbl
TransportationBrief
Skill pour accéder aux services français : trains SNCF, suivi.
Description
What This Skill Does
Provides access to French daily services: SNCF train schedules, La Poste parcel tracking, weather forecasts via Open-Meteo, and Île-de-France public transit status. All scripts use only Python stdlib with no third-party dependencies.
Consolidates four separate French service APIs into a single skill with a consistent CLI interface and no dependency installation.
When to Use It
- Check next train departures from Paris to Lyon
- Track a La Poste package by its tracking number
- Get a 7-day weather forecast for any French city
- Check if Métro 13 or RER A is running normally
- Find the next metro at Châtelet station
Example Workflow
User asks: When is the next train from Paris to Marseille tomorrow morning?
- 1
Identifies the request as a train search
- 2
Calls sncf.py search with 'Paris' and 'Marseille' and --date and --time flags
- 3
Queries the Navitia API using SNCF_API_KEY
- 4
Parses the itinerary results
- 5
Returns departure times and journey details in French
List of available train departures from Paris to Marseille on the requested date with times and durations
Requirements
- SNCF_API_KEY environment variable (free Navitia token from navitia.io, 5000 req/month)
- LAPOSTE_API_KEY environment variable (free from developer.laposte.fr)
- IDFM_API_KEY environment variable (free from prim.iledefrance-mobilites.fr)
Installation
clawhub install hugosbl/french-servicesRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.