# Send Trein to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "trein",
    "name": "Trein",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Joehoel/trein",
    "canonicalUrl": "https://clawhub.ai/Joehoel/trein",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/trein",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=trein",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "trein",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-10T04:53:24.074Z",
      "expiresAt": "2026-05-17T04:53:24.074Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=trein",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=trein",
        "contentDisposition": "attachment; filename=\"trein-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "trein"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/trein"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/trein",
    "downloadUrl": "https://openagent3.xyz/downloads/trein",
    "agentUrl": "https://openagent3.xyz/skills/trein/agent",
    "manifestUrl": "https://openagent3.xyz/skills/trein/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/trein/agent.md"
  }
}
```
## Documentation

### trein - Dutch Railways CLI

A CLI for the NS (Dutch Railways) API with real-time departures, trip planning, disruptions, and station search.

### Install

npm (recommended):

npm i -g trein

Or download a standalone binary from GitHub Releases.

### Setup

Get an API key from https://apiportal.ns.nl/ and set it:

export NS_API_KEY="your-api-key"

Or create ~/.config/trein/trein.config.json:

{ "apiKey": "your-api-key" }

### Departures

trein departures "Amsterdam Centraal"
trein d amsterdam
trein d amsterdam --json  # structured output

### Trip Planning

trein trip "Utrecht" "Den Haag Centraal"
trein t utrecht denhaag --json

### Disruptions

trein disruptions
trein disruptions --json

### Station Search

trein stations rotterdam
trein s rotterdam --json

### Aliases (shortcuts)

trein alias set home "Amsterdam Centraal"
trein alias set work "Rotterdam Centraal"
trein alias list
trein d home  # uses alias

### Tips

Use --json flag for all commands to get structured output for parsing
Station names support fuzzy matching (e.g., "adam" -> "Amsterdam Centraal")
Aliases are stored in the config file and can be used in place of station names
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Joehoel
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-10T04:53:24.074Z
- Expires at: 2026-05-17T04:53:24.074Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/trein)
- [Send to Agent page](https://openagent3.xyz/skills/trein/agent)
- [JSON manifest](https://openagent3.xyz/skills/trein/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/trein/agent.md)
- [Download page](https://openagent3.xyz/downloads/trein)