railway-ticket-booking

railway-ticket-booking is a skill for Claude Code, Codex from CodeInfinity1/Stram. It costs 37 tokens per session (1,060 once invoked), scanned A, original, MIT.

A research and preparation tool for Indian railway journeys. It finds and compares train options and prepares booking details but stops before submitting passenger data, verification codes, payment, or the final booking.

In plain words
What is it for?
Use it to research trains, check availability and fares, compare travel choices, and prepare a reviewable booking plan.
Why use it?
It helps compare routes, dates, classes, berths, availability, waitlists, and fares while leaving the final purchase under the traveler’s control.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to research trains, check availability and fares, compare travel choices, and prepare a reviewable booking plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/codeinfinity1/stram/railway-ticket-booking
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CodeInfinity1/Stram --skill railway-ticket-booking
Clone the repo
git clone --depth 1 https://github.com/CodeInfinity1/Stram

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for railway-ticket-booking

README.md
[![agentmods](https://agentmods.dev/badge/skills/codeinfinity1/stram/railway-ticket-booking/github.svg)](https://agentmods.dev/skills/codeinfinity1/stram/railway-ticket-booking)
Your own site
<a href="https://agentmods.dev/skills/codeinfinity1/stram/railway-ticket-booking"><img src="https://agentmods.dev/badge/skills/codeinfinity1/stram/railway-ticket-booking/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for railway-ticket-booking

Your own site · 80×15
<a href="https://agentmods.dev/skills/codeinfinity1/stram/railway-ticket-booking"><img src="https://agentmods.dev/badge/skills/codeinfinity1/stram/railway-ticket-booking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,060 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01060
Opus 5.5 $0.00015 $0.00424
Sonnet 5.5 $0.00007 $0.00212
Haiku 4.5 $0.00004 $0.00106

Measured 3mo ago against content hash 69645bb4fa64, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

railway-ticket-booking scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/commerce-travel/railway-ticket-booking/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Railway Ticket Booking

Purpose

Find train options, verify class/berth availability, compare tradeoffs, and prepare a booking review artifact. This skill supports railway ticket work without silently booking tickets.

When To Use

Use when the user asks for trains, railway tickets, sleeper or AC class availability, waitlist status, route/date options, fare comparison, or help booking a rail ticket.

Tool Map

  • web_search
  • research_web_pages
  • fetch_web_page
  • browser_live_status
  • browser_live_open
  • browser_live_observe
  • browser_live_search
  • browser_live_query_selector
  • browser_live_click
  • browser_live_type
  • browser_live_select_option
  • browser_live_press_key
  • browser_live_scroll
  • browser_live_scroll_to_text
  • browser_live_wait
  • browser_live_evaluate_js
  • browser_live_screenshot
  • rail_route_availability_lookup
  • travel_booking_intent_prepare
  • travel_booking_intent_inspect
  • purchase_intent_prepare
  • purchase_intent_inspect
  • browser-evidence-workflow
  • web-form-automation
  • safe-shopping-and-payments

Inputs

  • Origin and destination station or city, with station codes when known.
  • Journey date and timezone or country context.
  • Class or quota, such as SL, 3A, 2A, General, Tatkal, Ladies, or senior citizen.
  • Passenger count and broad requirements, not full identity details unless the user explicitly authorizes entry into a verified booking site.
  • Preference order: confirmed availability, departure time, arrival time, duration, fare, refund terms, route reliability, or provider.

Workflow

  1. Interpret dates concretely. If the user says a month/day without a year, use the current local date to choose the next plausible date and state that assumption later.
  2. Treat route/date requests like "available sleeper class", "available SL", or "sleeper available" as live berth/status availability unless the user explicitly asks only whether the class is offered on the train.
  3. Search only if no reliable source URL is already available. Prefer official railway/IRCTC pages when accessible; otherwise use reputable travel providers as evidence and label them.
  4. For Indian route/date/class availability, call rail_route_availability_lookup with the concrete journey date, class code, origin, and destination. Include a route URL when search/browser has already found one; otherwise let the tool construct its supported route source from origin and destination.
  5. Open a concrete source page and verify route, origin, destination, selected date, class, and quota from page-visible state when the lookup tool is not enough or the page/source is unsupported.
  6. If static text only gives a timetable, use live browser tools for availability, date picker, class filters, and refresh controls.
  7. For each train, capture train number/name, departure, arrival, duration, class, quota, fare, availability status, source, and evidence timestamp.
  8. Separate:
    • Confirmed available options.
    • Waitlisted options.
    • Unavailable/regret/sold-out options.
    • Unresolved options that stayed behind "tap to refresh", blocked controls, login, captcha, or provider errors.
  9. If the user asked only "what is available", answer from observed evidence and caveats.
  10. If the user asks to book or proceed, create travel_booking_intent_prepare with rail mode, options, selected option if any, checks, uncertainties, and approval note.
  11. Inspect the booking intent before reporting it. The status must remain prepared_not_booked.
  12. Stop before login, captcha, OTP, passenger details submission, payment, final "Book Now"/"Pay"/"Confirm" action, cancellation, or PNR-changing action unless the user explicitly approved that exact step and the tool policy permits it.

Read the full file on GitHub · 92 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 92 lines · 37 tokens per session scan A 69645bb4fa64

Subscribe to this mod's changes

railway-ticket-booking is a skill published in the GitHub repository CodeInfinity1/Stram (10 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 1,060 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

railway-ticket-booking compared with skills from other repositories

railway-ticket-booking next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
railway-ticket-bookingCodeInfinity1/StramSkill103mo agoMITA37Claude Code, Codex
powerskills-workiqaloth/PowerSkillsSkill54yesterdayMITA101Claude Code, Codex
powerskillsaloth/PowerSkillsSkill54yesterdayMITA92Claude Code, Codex
powerskills-browseraloth/PowerSkillsSkill54yesterdayMITA80Claude Code, Codex
powerskills-outlookaloth/PowerSkillsSkill54yesterdayMITA65Claude Code, Codex
powerskills-desktopaloth/PowerSkillsSkill54yesterdayMITA53Claude Code, Codex
powerskills-systemaloth/PowerSkillsSkill54yesterdayMITA52Claude Code, Codex