Xpersona
S

SRT

CLAWHUB · Unverified

Korean SRT (Super Rapid Train) search, reservation, and booking management Skill: SRT Owner: khj809 Summary: Korean SRT (Super Rapid Train) search, reservation, and booking management Tags: latest:1.1.1 Version history: v1.1.1 | 2026-02-21T15:28:02.899Z | user Fix cron delivery for isolated sessions - Replace --announce delivery with --no-deliver + explicit message tool call - Avoids gateway closed (1008): pairing required error in isolated cron sessions - Update SKILL.md Step 3/4 with CLI-

62
Rank
84
Safety
2.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 2.1K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174pdvs14war16p83z8wekpf583pp3j:srt
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-khj809-srt/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

78,453 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: srt
description: Korean SRT (Super Rapid Train) search, reservation, and booking management
homepage: https://github.com/khj809/openclaw-srt-skill
user-invocable: true
metadata:
  {
    "openclaw":
      {
        "emoji": "🚅",
        "requires": { "bins": ["python3", "uv"], "env": ["SRT_PHONE", "SRT_PASSWORD"] },
        "install": [
          {"id": "uv", "kind": "uv", "package": "SRTrain", "label": "Install SRTrain from PyPI (uv) — source: https://pypi.org/project/SRTrain / https://github.com/ryanking13/SRT"}
        ]
      },
  }
---

# SRT Korean Train Service Skill

## Prerequisites

- Environment variables `SRT_PHONE` (format: `010-XXXX-XXXX`) and `SRT_PASSWORD` must be set before running scripts.

## Reference

**Environment variables:**
| Variable | Required | Description |
|----------|----------|-------------|
| `SRT_PHONE` | ✅ | SRT account phone number (hyphens required: `010-XXXX-XXXX`) |
| `SRT_PASSWORD` | ✅ | SRT account password |
| `SRT_DATA_DIR` | optional | Directory for logs, cache, and state files. Defaults to system temp dir (`/tmp/srt`). |

**Station names** (Korean only):
수서, 부산, 동대구, 대전, 천안아산, 오송, 광주송정, 울산, 포항, 경주, 김천구미, 익산, 전주, 목포, 신경주

**Date:** `YYYYMMDD` · **Time:** `HHMMSS` (e.g. `200000` = 20:00)

---

## Commands

### Search Trains
```bash
cd <project_dir> && uv run --with SRTrain python3 scripts/srt_cli.py train search \
  --departure "수서" --arrival "동대구" --date "20260227" --time "200000"
```
Search params and results are cached (in `SRT_DATA_DIR`) and required by `reserve`.

### Reserve (one-shot)
```bash
cd <project_dir> && uv run --with SRTrain python3 scripts/srt_cli.py reserve one-shot --train-id "1"
```
`--train-id` is the 1-based index from search results. Must run `train search` first.

### View Reservations
```bash
cd <project_dir> && uv run --with SRTrain python3 scripts/srt_cli.py reserve list --format json
```

### Cancel Reservation
```bash
cd <project_dir> && uv run --with SRTrain python3 scripts/srt_cli.py reserve cancel \
  --reservation-id "RES123456" --confirm
```

---

## Continuous Monitoring (취소표 모니터링)

For "keep trying until a seat opens" requests, **do not loop inside a cron job**.
Instead: run `srt_cli.py reserve retry` as a persistent background process, then create a separate cron job to read the log and report.

### Step 1: Search (populate cache)
```bash
cd <project_dir> && uv run --with SRTrain python3 scripts/srt_cli.py train search \
  --departure "수서" --arrival "동대구" --date "20260227" --time "200000"
```
Note the `train_id` of the target train from the results.

### Step 2: Start background retry process
```bash
LOG_FILE=<choose_any_path>.log
PID_FILE=<choose_any_path>.pid
cd <project_dir> && nohup uv run --with SRTrain python3 scripts/srt_cli.py reserve retry \
  --train-id <id> --timeout-minutes 1440 --wait-seconds 10 \
  --log-file "$LOG_FILE" > /dev/null 2>&1 &
echo $! > "$PID_FILE"
```

The script prints `LOG_FILE: <path>` on startup — capture this to know exactly 

_meta.json

{
  "ownerId": "kn7ddhdw57dav7g6yj7b0pytg580bmw2",
  "slug": "srt",
  "version": "1.1.1",
  "publishedAt": 1771687682899
}

skill-card.md

## Description:

Korean SRT (Super Rapid Train) search, reservation, and booking management.

This skill is ready for commercial/non-commercial use.

## Publisher:

[khj809](https://clawhub.ai/user/khj809)

### License/Terms of Use:


## Use Case:

External users and developers use this skill to search Korean SRT trains, make one-shot reservations, monitor for canceled seats, list reservations, and cancel reservations from an agent workflow.

### Deployment Geography for Use:

Global (service use is for Korean SRT routes).

## Known Risks and Mitigations:

Risk: The skill uses SRT account credentials and can make or cancel reservations under the user's account.

Mitigation: Run it only in a trusted environment, provide credentials through the documented environment variables, and review reservation or cancellation actions before execution.

Risk: Continuous monitoring can create long-running background processes, cron jobs, logs, and Discord reports containing booking details.

Mitigation: Use monitoring only with an explicit timeout, known log and Discord destinations, and cleanup steps for reporting and termination jobs.

Risk: Weak PID-file process control and an unpinned SRTrain dependency can affect process management and dependency trust.

Mitigation: Use only PID files created for the current run and prefer a pinned, reviewed SRTrain dependency version.

## Reference(s):

- [ClawHub SRT Skill Page](https://clawhub.ai/khj809/skills/srt)
- [SRT Skill Homepage](https://github.com/khj809/openclaw-srt-skill)
- [SRTrain PyPI Package](https://pypi.org/project/SRTrain)
- [SRTrain GitHub Repository](https://github.com/ryanking13/SRT)
- [SRT Booking Website](https://etk.srail.kr)

## Skill Output:

**Output Type(s):** [Text, Markdown, JSON, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown guidance with shell command examples and JSON CLI output.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include reservation identifiers, seat details, payment-required status, process status, log summaries, and exit codes.]

## Skill Version(s):

1.1.1 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to SRT and adjacent AI workflows.