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

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.

agentmods
npx agentmods add skills/codeinfinity1/stram/railway-ticket-booking
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00037 $0.01060
Opus 5 $0.00018 $0.00530
Sonnet 5 $0.00007 $0.00212
Haiku 4.5 $0.00004 $0.00106

Measured 4d ago against content hash 69645bb4fa64, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 24d ago), licensed MIT. It adds 37 tokens to every session and 1,060 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

x402

Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing…

browser-use/browser-use · 175 tokens

timetracker

Reconstruct daily or weekly project work from dated plans, decisions, meetings, site reports, tasks, and other artifacts, then append user-confirmed manual entries to TIMELOG.md. Use for "log my time," "what did I work on," daily timesheets, or weekly time reconstruction. Never infer hours, start/stop times, billing…

AlpacaLabsLLC/skills-for-architects · 81 tokens

tasklist

Maintain a project's canonical TASKS.md or an opted-in studio portfolio task register with permanent IDs, ownership, lifecycle dates, and source provenance. Use to list, add, update, complete, or cancel tasks, view tasks across registered projects, or import selected action items from project artifacts. Do not use for…

AlpacaLabsLLC/skills-for-architects · 78 tokens

financial-expert

Use when users need China or Hong Kong securities, funds, fund managers, company financials, valuation, global macro or industry time series, broker research, announcements, financial news, or enterprise-risk data. Triggers include 选股、基金筛选、基金经理、净利润、营收、ROE、估值、 GDP、CPI、核心 PCE、行业产销价、研报、公告、财经新闻、工商与司法风险。.

modelstudioai/skills · 98 tokens

unity-performance

Use when analyzing or optimizing Unity performance — CPU/GPU/RAM profiling, object pooling, batching strategies, physics optimization, memory management, and platform-specific budgets.

TheArcForge/Hades · 32 tokens

unity-vfx

Use when implementing visual effects — VFX Graph vs legacy Particle System decisions, performance budgets for particles, LOD strategies for effects, and common VFX patterns.

TheArcForge/Hades · 32 tokens