Logotipo de Elron

Elron

Comunidad
joe-bell
elron

Look up Elron train times, fares and connections between Estonian (and cross-border Latvian) stations, see live delays and positions of running trains on a map, and check Ühiskaart farecard balances, remembering the user's home station and cards. Use when someone asks about trains in Estonia, Elron departures, the next or last train to or from a station, whether a train is late or where it is, which trains will pass through a station, ticket prices, or the balance on their Elron or Ühiskaart card.

Descripción general

Editorjoe-bell
Repositorioskills
Nombre de la habilidadelron
Estrellas
213
Forks
2
Archivos incluidos
3
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 3

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por joe-bell en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Elron en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/joe-bell/skills/tree/main/skills/elron
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/joe-bell/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/elron .claude/skills/elron
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Elron en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Elron automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Elron no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Elron

Elron runs Estonia's passenger trains. Timetables, fares and farecard balances come from the public Ridango API at api.ridango.com; live running data comes from the feed behind the live map on elron.ee. Neither needs a login.

Use the bundled script rather than calling either source by hand. It resolves stop names, sends requests in the shape the API expects, remembers the user's settings and prints compact results. It needs Python 3.9+ and nothing else.

sh
python3 scripts/elron.py stops [QUERY]
python3 scripts/elron.py trips [FROM] TO [--date YYYY-MM-DD] [--all] [--connections]
python3 scripts/elron.py live [QUERY] [--map [PATH]] [--tiles] [--watch [SECONDS]]
python3 scripts/elron.py passing STATION
python3 scripts/elron.py balance [CARD_NUMBER]
python3 scripts/elron.py config [--home STOP] [--add-card N] [--remove-card N] [--clear]

Run it from this skill's directory, or pass the script's full path.

1. Home station and farecards

The skill ships with no station and no card. Learn them from the user, once.

  • Home station. When the user asks about a train without saying where from ("when's the next train to Tartu?"), run trips TO. If it reports that no home station is saved, ask which station they usually travel from, save it with config --home STOP, then answer. From then on trips TO starts there. If they name a different origin, pass both stops and leave the saved one alone unless they ask.
  • Farecards. When the user asks for their balance without giving a number, run balance. If no card is saved, ask for the number, save it with config --add-card N, then answer. balance with no argument checks every saved card. Use --remove-card when they ask you to forget one; it takes the full number or the last four characters, which is all the output shows.
  • config with no flags shows what's saved and where. Settings live in ~/.config/elron/config.json (or $ELRON_CONFIG), readable only by the user. Where the filesystem doesn't persist between conversations, as in a hosted chat's sandbox, keep the home station in the host's own memory as well and pass it explicitly.

Never write the user's station or card numbers into this skill's files. Installs are copied folders: anything stored here is lost on the next update and leaks if the install is shared. Don't repeat a card number back beyond what the answer needs.

2. Answering questions

Answer in a sentence or two, leading with what was asked. For "when's the next train to Tartu?":

The next one leaves at 16:21 and gets in at 18:20. After that: 17:37 and 19:02.

  • Add a train's live status when it's already on its way ("it's 3 minutes late"). Add the fare, bikes or express only when the user asks about them.
  • Relay a notice when the script shows one. It already leaves out notices that name only stations off the user's stretch, such as a change of train further down the line.
  • After saving a station or card, say so in a few words. Give the file's path only if asked, and don't describe the script, its sources or its output.
  • Stop names match case- and accent-insensitively ("polva" finds "Põlva"), and a unique partial name works too; "Riga" finds Riia. An ambiguous or unknown name lists the candidates; pick one or ask. stops QUERY helps when unsure what a station is called.
  • Today vs another day. With no --date, the script uses today in Europe/Tallinn and hides trains that have already left, saying how many it hid. --all shows the whole day; --date picks another (convert "tomorrow" or "Saturday" to a date first, in Estonian time).
  • "Next train" or "last train": run trips and read the first or last row. Rows are trains the user can still catch, allowing for a late train's delay.
  • What a row shows: departure, arrival and journey time, then tags: the single-ticket fare in euros, bikes ok when bikes are allowed, express, Elron's notices, and live: for a train that is on its way right now.
  • Changes of train. trips lists direct trains first. When none are left it adds journeys with one change automatically; --connections adds them anyway. Each says where and when to change.
  • Is my train late? Where is it? For today, trips lists trains that have left but not yet reached the user's stop under Already on the way, with their live status, allowing for delays. live lists every running train with its delay, last stop, speed and coordinates; filter it with a line or stop name (live Tartu).
  • What goes through a station? Only when the user asks what will pass through or just went through, stopping or not ("what's the next train through Kehra?", "what was that train that didn't stop?"), run passing STATION. "Next train" questions stay with trips, which lists trains that stop. passing places each running train on its line from its live position and speed, and says whether it stops there.

All times are Estonian local time; say so only if the user may be elsewhere. If no journey turns up even with one change, say there's no Elron train for that trip, not that there's no way to get there.

3. Live map

live --map also writes a self-contained HTML map of the running trains: dots over an embedded outline of Estonia and its neighbours, coloured green (on time), orange (late) and red (5+ minutes late). It prints the file's path; the file goes to the system temp folder unless you pass one. The page makes no network requests, and its own security policy forbids them, so it works offline and in sandboxed previews such as Claude's artifacts, which block every outside request. If the host can show HTML to the user, show that file; otherwise give the path or open it in their browser.

--tiles draws the trains over OpenFreeMap street tiles instead. Use it only for a page the user opens in their own browser: a sandboxed preview can't load the tiles, so there it falls back to the plain map. HTML shown inside Claude must make no outside requests.

Elron's own map can't be embedded: elron.ee forbids framing. A page can't poll the feed either, because it sends no CORS headers. For a map that follows the trains, run live --map --watch in the background on the user's own machine. It prints the map's path straight away, rewrites the file every 15 seconds and the page reloads itself (with --tiles, keeping the user's pan and zoom); stop it when they're done. In a hosted chat, run live --map again when they ask for an update.

4. Limits

Live data covers only trains running right now, so passing can't see a train that hasn't set off yet. Its times are rough estimates from distance and current speed; give them as "about". A train whose stopping pattern can't be confirmed shows neither "stops" nor "doesn't stop". A train that hasn't set off has no delay forecast, so call it scheduled rather than promising it's on time; "running to schedule" is Elron's own status. If elron.ee can't be reached, the script says so and still lists the timetable. Fares are the full single-ticket price: discounts, period tickets and first class aren't covered.

5. If a request fails

"could not reach api.ridango.com", or "live running data unavailable", in a sandboxed host (claude.ai, ChatGPT, a cloud agent) almost always means the sandbox blocks the domain. Tell the user to allow api.ridango.com and elron.ee in that environment's network settings, and don't retry in a loop. A farecard Elron doesn't recognise is reported per card; ask the user to check the number.

For changing this skill, see maintenance.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Elron?

Look up Elron train times, fares and connections between Estonian (and cross-border Latvian) stations, see live delays and positions of running trains on a map, and check Ühiskaart farecard balances, remembering the user's home station and cards. Use when someone asks about trains in Estonia, Elron departures, the next or last train to or from a station, whether a train is late or where it is, which trains will pass through a station, ticket prices, or the balance on their Elron or Ühiskaart card.

¿Por qué usar Elron en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Elron está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Elron en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/joe-bell/skills/tree/main/skills/elron. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Elron?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Elron?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Elron con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Elron?

Sí. joe-bell la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇