← 返回 Skills 市场
iiroak

iBus.CL CLI (API Transporte RED Chile)

作者 iroaK · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
71
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ibuscl-cli
功能描述
Comando CLI para consultar en tiempo real la llegada de buses a paraderos del transporte público de Chile con salida legible o JSON.
使用说明 (SKILL.md)

iBus CLI — SKILL\r

\r Comando de terminal para consultar paraderos del transporte público chileno en tiempo real.\r \r

Requisitos\r

\r

bash \x3C(curl -sSL https://raw.githubusercontent.com/iiroak/iBus.CL-API/main/install.sh)\r
```\r
\r
O manual: `pip install .` dentro del repositorio.\r
\r
## Comandos\r
\r
### Consultar un paradero (todos los servicios)\r
\r
```bash\r
ibus PA1\r
```\r
\r
### Filtrar por servicio específico\r
\r
```bash\r
ibus PH123 --servicio 201\r
ibus PH123 -s 201\r
```\r
\r
### Salida JSON cruda (para pipelines y parsing)\r
\r
```bash\r
ibus PA1 --raw\r
ibus PH123 -s 201 --raw\r
```\r
\r
### Alternativa sin instalar globalmente\r
\r
```bash\r
python -m ibus PA1\r
python -m ibus PH123 -s 201 --raw\r
```\r
\r
## Formato de salida legible\r
\r
```\r
Paradero : PA1\r
Nombre   : PARADA 6 / (M) QUINTA NORMAL\r
Hora     : 14:30\r
------------------------------------------------------------\r
     507  │  GCBD-65  │ En menos de 2 min         │    502m\r
          │  TBFX-11  │ Entre 12 Y 16 min         │   3521m\r
     B28  →  No hay buses que se dirijan al paradero\r
------------------------------------------------------------\r
```\r
\r
## Formato JSON (`--raw`)\r
\r
```json\r
{\r
  "paradero": {\r
    "codigo": "PA1",\r
    "nombre": "PARADA 6 / (M) QUINTA NORMAL",\r
    "hora_consulta": "14:30"\r
  },\r
  "servicios": [\r
    {\r
      "servicio": "507",\r
      "buses": [\r
        {"patente": "GCBD-65", "tiempo_llegada": "En menos de 2 min", "distancia": 502},\r
        {"patente": "TBFX-11", "tiempo_llegada": "Entre 12 Y 16 min", "distancia": 3521}\r
      ],\r
      "mensaje": null\r
    },\r
    {\r
      "servicio": "B28",\r
      "buses": [],\r
      "mensaje": "No hay buses que se dirijan al paradero"\r
    }\r
  ]\r
}\r
```\r
\r
## Campos de respuesta JSON\r
\r
| Campo | Tipo | Descripción |\r
|-------|------|-------------|\r
| `paradero.codigo` | string | Código del paradero |\r
| `paradero.nombre` | string | Ubicación/nombre del paradero |\r
| `paradero.hora_consulta` | string | Hora de la consulta (HH:MM) |\r
| `servicios[].servicio` | string | Código del recorrido |\r
| `servicios[].buses[].patente` | string | Patente del bus |\r
| `servicios[].buses[].tiempo_llegada` | string | Estimación de llegada |\r
| `servicios[].buses[].distancia` | integer | Distancia en metros (`0` = llegando) |\r
| `servicios[].mensaje` | string\|null | Mensaje cuando no hay buses |\r
\r
## Valores de tiempo_llegada\r
\r
- `"Llegando"` — en el paradero\r
- `"En menos de 2 min"` — muy cerca\r
- `"Entre 6 Y 10 min"` — rango estimado\r
- `"Mas de 26 min"` — lejos\r
\r
## Códigos de salida\r
\r
| Código | Significado |\r
|--------|-------------|\r
| 0 | Consulta exitosa |\r
| 1 | Error (paradero inválido, sin conexión, timeout) |\r
\r
## Paradero inválido\r
\r
Cuando el paradero no existe, la respuesta incluye:\r
```json\r
{"servicio": "Indisponible", "buses": [], "mensaje": "Paradero Invalido"}\r
```\r
安全使用建议
This skill appears to be what it says: a Python CLI for Chilean bus stop queries. The SKILL.md advises running a remote install script (curl https://raw.githubusercontent.com/... | bash). That pattern is convenient but risky because it executes whatever is on the remote URL. Before running it, do one of the following: (1) open the GitHub repo and manually inspect install.sh and setup instructions to ensure it doesn't perform unexpected actions, (2) clone the repo locally and run pip install . inside a Python virtualenv, or (3) prefer python -m ibus usage without installing globally. Also check the GitHub owner, recent commits, issues and the project's README/license. Do not run the install script as root and avoid running it on sensitive systems without review.
功能分析
Type: OpenClaw Skill Name: ibuscl-cli Version: 1.0.0 The skill bundle describes a legitimate-looking CLI tool for Chilean public transport but includes a high-risk installation instruction in SKILL.md using 'bash <(curl -sSL ...)', which is a common vector for remote code execution. While no explicitly malicious logic or data exfiltration is present in the provided files, the reliance on executing unverified remote scripts from 'raw.githubusercontent.com/iiroak/iBus.CL-API' poses a significant security risk for an automated agent.
能力评估
Purpose & Capability
Name/description (CLI to query Chilean bus stops) matches the instructions: install a Python CLI from the referenced GitHub repo and run the provided commands. No unrelated env vars, binaries, or config paths are requested.
Instruction Scope
SKILL.md only describes installing the CLI and using it (python -m ibus or an installed 'ibus' command) and documents output formats. It does instruct the user to run a remote install script (curl | bash) which is outside the agent's codebase — this is common for CLI installs but grants the remote script full control during installation, so inspect it before executing.
Install Mechanism
There is no platform install spec in the registry; the README suggests running an install.sh fetched from raw.githubusercontent.com or pip installing from the repo. raw.githubusercontent.com is a well-known host (GitHub), but 'curl | bash' executes remote code and is higher-risk; prefer cloning and reviewing the repo or using pip in a virtualenv.
Credentials
The skill declares no environment variables, no credentials, and requires only Python 3.9+. There is no apparent request for unrelated secrets or system-wide tokens.
Persistence & Privilege
The skill is instruction-only, has no 'always' privilege, and does not request persistent or elevated platform privileges in its metadata.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ibuscl-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ibuscl-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial public release. - Provides a command-line tool to query real-time data for public transport stops in Chile. - Allows filtering by specific bus service and outputs in either human-readable or raw JSON formats. - Supports both global installation and usage via Python module. - Detailed documentation and usage examples included. - Exit codes and error handling for invalid stops are described.
元数据
Slug ibuscl-cli
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

iBus.CL CLI (API Transporte RED Chile) 是什么?

Comando CLI para consultar en tiempo real la llegada de buses a paraderos del transporte público de Chile con salida legible o JSON. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 71 次。

如何安装 iBus.CL CLI (API Transporte RED Chile)?

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

iBus.CL CLI (API Transporte RED Chile) 是免费的吗?

是的,iBus.CL CLI (API Transporte RED Chile) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

iBus.CL CLI (API Transporte RED Chile) 支持哪些平台?

iBus.CL CLI (API Transporte RED Chile) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 iBus.CL CLI (API Transporte RED Chile)?

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

💬 留言讨论