Openroutercli banner
aaronjmars aaronjmars

Openroutercli

AI community

Description

Every OpenRouter endpoint, on the command line - for humans and LLM agents

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

openrouter-cli

openrouter-cli

Unofficial - not affiliated with or endorsed by OpenRouter.

npm version npm downloads GitHub stars GitHub forks Powered by OpenRouter

Every OpenRouter endpoint, on the command line - for humans and LLM agents
Browser-based OAuth login, full access to chat / messages / responses / embeddings / rerank / audio / video / models / providers / generations / credits / activity / keys / guardrails / workspaces, and a raw request escape hatch. --json on every command. Zero npm dependencies.


What it does

  • One CLI for the entire OpenRouter API - every endpoint in the OpenAPI spec is reachable.
  • Login once with browser-based OAuth (PKCE), paste an existing key, or use env vars. Separate slot for management/provisioning keys.
  • Streams chat completions in a TTY; emits clean JSON whe