← Back to list

db-bahn
by timkrase
Custom Clawdis skills
⭐ 0🍴 0📅 Jan 4, 2026
SKILL.md
name: db-bahn description: Query Deutsche Bahn train connections and prices. homepage: https://github.com/timkrase/homebrew-tap metadata: {"clawdis":{"emoji":"🚂","requires":{"bins":["dbrest"]},"install":[{"id":"brew","kind":"brew","formula":"timkrase/tap/dbrest","bins":["dbrest"],"label":"Install dbrest (brew)"}]}}
DB Bahn Skill 🚂
Query train connections and prices via the Deutsche Bahn API.
CLI: dbrest
Binary: dbrest (Homebrew: timkrase/tap/dbrest)
Find stations
dbrest locations "station name"
Output: Tab-separated list with ID, Name, Type.
Search connections
dbrest journeys --from <ID> --to <ID> [--departure ISO8601] [--results N]
Important: --from and --to require station IDs (IBNR), not names!
Workflow:
# 1. Find station IDs
dbrest locations "Köln Hbf" # → 8000207
dbrest locations "München Hbf" # → 8000261
# 2. Search journeys
dbrest journeys --from 8000207 --to 8000261 --results 5
With prices (JSON)
dbrest --json journeys --from 8000207 --to 8000261 --results 5
Prices are at journeys[].price.amount and journeys[].price.currency.
Live departures
dbrest departures --stop <ID> --results 10
Live arrivals
dbrest arrivals --stop <ID> --results 10
Notes
- Prices only for long-distance trains — S-Bahn/regional trains often have no price
- International stations (CH, AT, etc.) work ✅
- Global flags before command:
dbrest --json journeys ...
Score
Total Score
40/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon