/openrouter:install-ori-harnessfrom OpenRouter
Installs Ori and runs existing coding agent CLIs (Claude Code, Codex, etc.) through OpenRouter with OAuth sign-in, model selection, and upgrade support.
Ships in OpenRouter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this recipe when the user wants to install Ori, run an existing coding agent through Ori, sign in to Ori, upgrade Ori, or select an OpenRouter model for a local agent. Do not use it for model evaluations, plain unit tests, or when the user only wants to run an already-installed agent directly without Ori.
Run the official installer:
curl -fsSL https://openrouter.ai/labs/ori/install.sh | bash
The installer puts the ori executable in the user's local install location.
Do not use sudo unless the user explicitly chooses a system-wide install
location.
Run:
ori --version
The command must print a version and exit successfully. If the shell cannot
find ori, inspect the installer's reported directory and ensure the user's
local binary directory is on PATH, then start a new shell or update PATH
before continuing.
Run:
ori login
Ori opens the user's browser for OAuth sign-in with their existing OpenRouter
account and stores the resulting credential for the CLI. The user does not
need to create, copy, or paste an API key. If a browser cannot open, use
ori login --no-browser and give the user the printed URL.
Do not ask the user to paste a key when OAuth is available. An explicitly
exported OPENROUTER_API_KEY can still be used by Ori when the user already
has one, but it is not required for this setup.
Ori runs the agent CLI already installed on the user's PATH. It does not
replace the user's agent or make them learn a new agent workflow. Supported
launch commands today are:
ori claude
ori codex
ori opencode
ori hermes
If the selected agent is missing, Ori prints the recommended install command
and documentation link for that agent. Follow that instruction, then rerun the
same ori <harness> command.
Pass the user's normal agent arguments after the Ori flags. Everything Ori does not consume is forwarded to the agent unchanged. For example:
ori claude -p "Review the authentication changes"
ori codex --full-auto
ori opencode
Use --model with any valid OpenRouter model id:
ori claude --model claude-opus-latest
ori codex --model gpt-5.2
ori hermes --model gemini-3-pro
The model value is routed through OpenRouter. Keep the user's existing agent arguments after the Ori flags.
Upgrade an installed release with:
ori update
Then verify the active version again:
ori --version
Do not use ori update from a source checkout as a substitute for installing
the released CLI.
After sign-in, run the selected agent with a harmless prompt that proves the request reaches OpenRouter:
ori claude --model openrouter/auto -p "Reply with exactly: Ori is connected"
Use the equivalent ori codex, ori opencode, or ori hermes command if the
user chose another agent. Confirm that the agent starts, the prompt completes,
and the response is returned. If the agent is missing, authentication fails,
or the model id is rejected, report the exact command output and fix that
specific setup issue before claiming the install worked.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub kyxzhe/openrouter-plugin --plugin openrouter21 skills in this plugin
/create-agent-tuiScaffolds a complete agent TUI in TypeScript using @openrouter/agent — like create-react-app for terminal agents. Generates a customizable terminal interface with three input styles, four tool display modes, ASCII banners, streaming output, session persistence, and configurable tools. Use when building an agent, creating a TUI, scaffolding an agent project, or building a coding assistant./create-headless-agentScaffolds a headless agent in TypeScript using @openrouter/agent and Bun — for CLI tools, API servers, queue workers, and pipelines. No terminal UI. Use when building a headless agent, programmatic agent, CLI tool that uses AI, batch agent, pipeline agent, API agent, agent without a UI, or agent service./openrouter-agent-migrationMigration guide from @openrouter/sdk to @openrouter/agent for callModel, tool(), stop conditions, and agent features. This skill should be used when code imports callModel, tool(), or stop conditions from @openrouter/sdk and needs to migrate to @openrouter/agent./openrouter-analyticsAnswer natural-language questions about a user's OpenRouter usage data — spend, request volume, model breakdown, latency, token usage, and cost optimization. Use when the user asks about their API usage, billing, costs, top models, traffic patterns, or wants to optimize their OpenRouter spend./openrouter-analytics-queryConstruct and execute analytics queries against the OpenRouter API — full parameter reference for metrics, dimensions, filters, time ranges, ordering, and pagination. Use when building or debugging an analytics query, understanding the request/response shape, or handling query errors./openrouter-analytics-schemaDiscover the OpenRouter analytics schema — available metrics, dimensions, filter operators, and granularities. Use when you need to know what analytics data is queryable, what dimensions you can break down by, or how to map a user's question to the right metric/dimension combination.2 plugins ship this exact skill · first indexed Aug 2, 2026
Other plugins' skills for the same job