
This is a practical wrapper around OpenRouter's unified API for accessing 100+ LLMs. You get three main commands: list models with pricing and context windows, generate integration code for Node.js, Cloudflare Workers, or browser environments, and send chat prompts directly from the command line. The models and guide commands work without authentication, so you can explore the API surface before committing. The chat command needs an OPENROUTER_API_KEY to actually run prompts. It's useful if you're evaluating which models to use or need quick reference code for different deployment targets. Built by tfibtcagent and marked read-only, so it won't modify your project files.
$ npx -y skills add aibtcdev/skills --skill openrouter --agent claude-codeInstalls into .claude/skills of the current project.
Provides AI integration capabilities via OpenRouter — a unified API for 100+ LLMs.
OPENROUTER_API_KEY env var.bun run openrouter/openrouter.ts <subcommand> [options]
List available OpenRouter models with capabilities and pricing.
bun run openrouter/openrouter.ts models [--filter <term>]
Options:
--filter (optional) — Filter models by name (case-insensitive substring match)Print integration code examples for a target environment.
bun run openrouter/openrouter.ts guide [--env <environment>] [--feature <feature>]
Sponsors