french-services
Skill pour accéder aux services français : trains SNCF, suivi.
Setup & Installation
Install command
clawhub install hugosbl/french-servicesIf the CLI is not installed:
Install command
npx clawhub@latest install hugosbl/french-servicesOr install with OpenClaw CLI:
Install command
openclaw skills install hugosbl/french-servicesor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/hugosbl/french-servicesWhat 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
View original SKILL.md file
# French Services — Services français du quotidien Skill pour accéder aux services français : trains SNCF, suivi colis La Poste, météo, transports IDF. ## Scripts disponibles Tous dans `skills/french-services/scripts/`. Utilisent uniquement la stdlib Python (pas de dépendances). ### 🚄 SNCF — Trains (`sncf.py`) Recherche d'itinéraires et prochains départs via l'API Navitia. ```bash # Rechercher un trajet python3 scripts/sncf.py search Paris Lyon python3 scripts/sncf.py search "Gare de Lyon" Marseille --date 2025-01-15 --time 08:00 # Prochains départs depuis une gare python3 scripts/sncf.py departures Paris # Perturbations sur une ligne python3 scripts/sncf.py disruptions ``` **API key requise :** `SNCF_API_KEY` (token Navitia — gratuit sur https://navitia.io) ### 📦 La Poste — Suivi de colis (`laposte.py`) ```bash # Suivre un colis python3 scripts/laposte.py track 6A12345678901 # Suivre plusieurs colis python3 scripts/laposte.py track 6A12345678901 8R98765432109 ``` **API key requise :** `LAPOSTE_API_KEY` (gratuit sur https://developer.laposte.fr) ### 🌤️ Météo (`meteo.py`) Météo actuelle et prévisions via Open-Meteo (modèle Météo France). **Pas de clé API nécessaire.** ```bash # Météo actuelle + prévisions 3 jours python3 scripts/meteo.py Paris python3 scripts/meteo.py Lyon --days 7 python3 scripts/meteo.py --lat 43.6 --lon 1.44 # Toulouse par coordonnées # Format JSON python3 scripts/meteo.py Paris --json ``` ### 🚇 RATP/IDFM — Transports IDF (`ratp.py`) État du trafic et prochains passages en Île-de-France via l'API PRIM. ```bash # État du trafic global python3 scripts/ratp.py traffic # État d'une ligne spécifique python3 scripts/ratp.py traffic --line "Métro 13" python3 scripts/ratp.py traffic --line "RER A" # Prochains passages à un arrêt python3 scripts/ratp.py next "Châtelet" ``` **API key requise :** `IDFM_API_KEY` (gratuit sur https://prim.iledefrance-mobilites.fr) ## Options communes | Option | Description | |----------|--------------------------------------| | `--json` | Sortie JSON au lieu du texte lisible | | `--help` | Aide du script | ## Env vars | Variable | Service | Obtention | |------------------|------------|----------------------------------------------| | `SNCF_API_KEY` | SNCF | https://navitia.io (gratuit, 5000 req/mois) | | `LAPOSTE_API_KEY`| La Poste | https://developer.laposte.fr | | `IDFM_API_KEY` | RATP/IDFM | https://prim.iledefrance-mobilites.fr | Voir `references/api-setup.md` pour le guide de configuration détaillé. ## Quand utiliser quel script | Question de l'utilisateur | Script | |----------------------------------------------------|-------------| | "Prochain train pour Lyon" | `sncf.py` | | "Horaires Paris-Marseille demain matin" | `sncf.py` | | "Où en est mon colis 6A123..." | `laposte.py`| | "Il fait quoi demain ?" / "Météo à Nice" | `meteo.py` | | "Le métro 13 marche ?" / "État du RER A" | `ratp.py` | | "Prochain métro à Châtelet" | `ratp.py` | ## Notes - La météo fonctionne sans aucune configuration (Open-Meteo est gratuit et sans clé) - Pour les autres services, configurer les API keys selon `references/api-setup.md` - Les scripts gèrent proprement l'absence de clé API avec un message explicatif - Output en français par défaut, `--json` pour l'intégration machine
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Check next train departures from Paris to Lyon
- 1Check next train departures from Paris to Lyon
- 2Track a La Poste package by its tracking number
- 3Get a 7-day weather forecast for any French city
- 4Check if Métro 13 or RER A is running normally
- 5Find the next metro at Châtelet station
Skill pour accéder aux services français : trains SNCF, suivi.
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.
Similar Skills
VIEW ALLairfrance-afkl
Track Air France flights using the Air France–KLM Open Data APIs.
idfm-journey-skill
Query Île-de-France Mobilités (IDFM) PRIM/Navitia.
charger
Check EV charger availability (favorites, nearby search) via Google Places.
sholat
Ambil jadwal sholat (imsak, subuh, dzuhur, ashar, maghrib, isya) untuk kota/kabupaten di Indonesia dari API Muslim.