← 返回 Skills 市场
hugosbl

French Services

作者 HugoSbl · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1729
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install french-services
功能描述
Accédez aux services français : horaires trains SNCF, suivi colis La Poste, météo, et information trafic transports en Île-de-France.
使用说明 (SKILL.md)

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.

# 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)

# 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.

# 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.

# É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
安全使用建议
This skill appears to be a straightforward aggregator of French public-service APIs and the code uses only the Python standard library and well-known service endpoints. However: (1) the registry metadata does not list the API keys the scripts require — confirm with the publisher why metadata and SKILL.md disagree before installing. (2) If you install, avoid placing API keys in plain shell profiles (~/.bashrc, ~/.zshrc) if you want them unexposed; prefer the platform's secret storage or per-workspace environment secrets rather than a repo .env in source. (3) Inspect the full, untruncated files (ensure there are no hidden network calls or obfuscated code in the truncated sections) and consider running the scripts in an isolated environment the first time. (4) If you don't need authenticated features, the meteo script works without keys. If the author updates metadata to declare required env vars and primary credential, the incoherence concern will be resolved.
功能分析
Type: OpenClaw Skill Name: french-services Version: 1.0.0 The skill bundle is classified as benign. All Python scripts (`laposte.py`, `meteo.py`, `ratp.py`, `sncf.py`) use only standard libraries, access legitimate public APIs (La Poste, Open-Meteo, IDFM/PRIM, Navitia), and securely handle API keys by reading them from environment variables. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or obfuscation. The `SKILL.md` and `references/api-setup.md` files contain only functional instructions and documentation, with no attempts at prompt injection against the AI agent.
能力评估
Purpose & Capability
The scripts clearly implement SNCF (Navitia), La Poste, IDFM/RATP and Open‑Meteo functionality and require API keys (SNCF_API_KEY, LAPOSTE_API_KEY, IDFM_API_KEY) per SKILL.md and references/api-setup.md. However the registry metadata lists no required environment variables or primary credential. That mismatch (code & docs expect secrets but metadata doesn't declare them) is an inconsistency that should be resolved.
Instruction Scope
SKILL.md instructs running the included Python scripts and points to the included references/api-setup.md. The runtime instructions and code only call official public APIs (navitia.io, api.laposte.fr, api.open-meteo.com, prim.iledefrance-mobilites.fr), read environment variables for API keys, and format output. I saw no instructions to read arbitrary local files, traverse user home directories, or send data to unexpected endpoints.
Install Mechanism
No install spec is provided (instruction-only). The repository includes Python scripts that use only the standard library. No downloads, package installs, or extraction from external URLs are performed by an install step.
Credentials
The number and type of environment variables required by the scripts (three API keys) are proportionate to the stated features. However the skill registry metadata does not declare these required env vars or a primary credential, which is inconsistent and could lead to accidental credential exposure (users may put keys in shell profiles or .env as suggested).
Persistence & Privilege
The skill does not request persistent/global privileges (always is false). The code does not modify other skills or system-wide agent settings and does not persist credentials itself. Normal runtime requires the process environment to contain API keys if the user wants the authenticated endpoints to work.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install french-services
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /french-services 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
SNCF trains, La Poste tracking, Météo France, RATP transit. Works out of the box.
元数据
Slug french-services
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

French Services 是什么?

Accédez aux services français : horaires trains SNCF, suivi colis La Poste, météo, et information trafic transports en Île-de-France. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1729 次。

如何安装 French Services?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install french-services」即可一键安装,无需额外配置。

French Services 是免费的吗?

是的,French Services 完全免费(开源免费),可自由下载、安装和使用。

French Services 支持哪些平台?

French Services 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 French Services?

由 HugoSbl(@hugosbl)开发并维护,当前版本 v1.0.0。

💬 留言讨论