Trimet

Get Portland transit information including arrivals, trip planning, and alerts. Use when user asks about buses, MAX, trains, or transit in Portland.

MIT-0 · Free to use, modify, and redistribute. No attribution required.
1 · 1.6k · 0 current installs · 0 all-time installs
byMatt Russell@mjrussell
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
The SKILL.md describes a TriMet CLI wrapper (arrivals, trip planning, alerts). Requiring a 'trimet' CLI binary and a TRIMET_APP_ID API key is coherent with that purpose. However, the registry metadata included with the skill lists no required binaries or environment variables, which conflicts with the SKILL.md requirements.
Instruction Scope
Instructions are narrowly scoped to using the trimet CLI and an API key. They do not ask the agent to read unrelated files, other environment variables, or exfiltrate data to unexpected endpoints.
Install Mechanism
The skill is instruction-only (no install spec). SKILL.md tells users to 'npm install -g trimet-cli' — a reasonable, common install path but not enforced by the skill metadata. Because the skill relies on an external npm package, you should verify that 'trimet-cli' on npm is the expected, maintained package.
!
Credentials
The SKILL.md requires a single TRIMET_APP_ID env var (the TriMet API key), which is proportionate. The concern is that the skill's registry metadata did not declare this required env var; that mismatch could confuse automated permission checks or hide that a secret is needed.
Persistence & Privilege
The skill does not request persistent privileges, always:true is not set, and it is user-invocable only. There is no indication it modifies other skills or system-wide settings.
What to consider before installing
This skill appears to simply wrap the TriMet CLI and needs a TriMet developer API key (TRIMET_APP_ID). Before installing or supplying an API key: 1) confirm the 'trimet-cli' npm package is legitimate (check npmjs.org, maintainer, download counts, and source code). 2) Note the registry metadata omitted the required binary/env — ask the publisher or maintainers to correct that. 3) Only provide your TriMet API key (not other credentials); if you are uncomfortable, run the CLI locally yourself rather than giving the key to an agent. 4) If you plan to allow autonomous agent actions, be aware the agent will try to run the 'trimet' binary and may attempt global installs if not present — prefer manual install and review the installed package code first.

Like a lobster shell, security has layers — review code before you run it.

Current versionv0.1.0
Download zip
latestvk97c3yhse3t1rj548r56qsttq17yte2m

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

🚃 Clawdis
Binstrimet
EnvTRIMET_APP_ID

SKILL.md

TriMet CLI

CLI for TriMet Portland transit data. Check arrivals, plan trips, and view alerts.

Installation

npm install -g trimet-cli

Setup

  1. Get free API key from https://developer.trimet.org/
  2. Set environment variable: export TRIMET_APP_ID="your-key"

Commands

Arrivals

trimet arrivals <stop-id>              # Real-time arrivals
trimet arrivals 8383 --line 90         # Filter by route
trimet arrivals 8383 --json

Trip Planning

trimet trip -f <from> -t <to>
trimet trip -f 8383 -t 9969
trimet trip -f "Pioneer Square" -t "PDX Airport"
trimet trip -f 8383 -t 9969 --arrive-by "5:30 PM"
trimet trip -f 8383 -t 9969 --depart-at "2:00 PM"
trimet trip -f 8383 -t 9969 --json

Next Departures

trimet next -f <from> -t <to>          # Simplified view
trimet next -f 8383 -t 9969 -c 5       # Show 5 options
trimet next -f 8383 -t 9969 --line 90  # Filter by route

Service Alerts

trimet alerts                          # All alerts
trimet alerts --route 90               # Alerts for route
trimet alerts --json

Common Stop IDs

  • Pioneer Courthouse Square: 8383 (westbound), 8384 (eastbound)
  • PDX Airport: 10579
  • Portland Union Station: 7787
  • Beaverton TC: 9969

Usage Examples

User: "When's the next MAX?"

trimet arrivals 8383

User: "How do I get to the airport?"

trimet trip -f "Pioneer Square" -t "PDX Airport"

User: "I need to be downtown by 5pm"

trimet trip -f <user-location-stop> -t 8383 --arrive-by "5:00 PM"

User: "Are there any delays on the Blue Line?"

trimet alerts --route 100

User: "Next trains to Beaverton"

trimet next -f 8383 -t 9969

Route Numbers

  • MAX Blue Line: 100
  • MAX Red Line: 90
  • MAX Yellow Line: 190
  • MAX Orange Line: 290
  • MAX Green Line: 200

Notes

  • Stop IDs are displayed at TriMet stops and on trimet.org
  • Addresses work for trip planning (e.g., "Pioneer Square, Portland")
  • Times support natural formats ("5:30 PM", "17:30")

Files

1 total
Select a file
Select a file to preview.

Comments

Loading comments…