TriMet Transit CLI for Openclaw

A command-line interface for accessing real-time Portland TriMet transit data, including arrivals, trip routing, and system alerts.

mjrussell
v0.1.0
Jan 8, 2026
1
2.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install trimet

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install trimet using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is TriMet Transit CLI?

The TriMet CLI skill provides developers and power users with direct terminal access to the Portland transit network. By integrating this tool into your collection of Openclaw Skills, you can programmatically query bus and rail schedules, plan complex trips across the city, and stay updated on service disruptions without leaving your workspace. It serves as a streamlined wrapper for official transit APIs, optimized for speed and developer productivity.

This skill is particularly valuable for residents and commuters in the Portland metro area who want to automate their transit checks. Whether you are building a custom dashboard or just need a quick way to check the next MAX train, this addition to your Openclaw Skills toolkit provides reliable, real-time data directly from TriMet's official web services.

TriMet Transit CLI Use Cases

  • Checking real-time MAX or bus arrival times for specific stop IDs while coding.
  • Planning commutes between landmarks like Pioneer Square and PDX Airport using terminal commands.
  • Monitoring service alerts and delays for specific transit lines to avoid travel disruptions.
  • Calculating optimal departure times for meetings using the arrive-by flag.
  • Exporting transit data in JSON format for use in custom scripts and personal automation workflows.

How TriMet Transit CLI Works

  1. The user inputs a transit command such as arrivals, trip, or alerts through the command-line interface.
  2. The skill uses the configured TRIMET_APP_ID to authenticate and send a request to the TriMet Web Services API.
  3. Real-time data is retrieved concerning stop schedules, vehicle locations, or system-wide service impacts.
  4. The CLI parses the API response and renders the information in a human-readable format or a structured JSON object for further processing.

TriMet Transit CLI Setup

To add this tool to your Openclaw Skills environment, follow these installation steps:

Install the CLI globally via npm:

npm install -g trimet-cli

Configuration:

  1. Register for a free API key at the TriMet Developer Portal.
  2. Configure your environment variable by adding this line to your shell profile:
export TRIMET_APP_ID="your-key"

TriMet Transit CLI Data Schema & Taxonomy

The skill processes data from TriMet's real-time feeds and organizes it based on stop IDs and route numbers. Below is the metadata structure used when retrieving transit information:

Category Data Points
Arrivals stop-id, route-line, estimated time, scheduled time
Trip Planning from/to locations, depart-at/arrive-by timestamps, transfer details
Service Alerts route-specific delays, system-wide notices, description text
Route Identifiers MAX Blue (100), Red (90), Yellow (190), Orange (290), Green (200)

All commands support a --json flag to return raw data for integration with other Openclaw Skills.

TriMet Transit CLI Advanced Features

  • Natural language time parsing support for formats like "5:30 PM" or "17:30".
  • Multi-option trip routing that allows users to view several alternate paths for a single journey.
  • Granular route filtering that enables users to isolate specific bus or rail lines at high-traffic transit centers.
  • Full JSON output compatibility, making it easy to pipe transit data into other CLI tools or Openclaw Skills.
  • Support for both specific Stop IDs and general address strings for flexible trip planning.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*