/openrouter:openrouter-key-managementfrom OpenRouter
Administer OpenRouter from natural-language requests through current official APIs, including API keys and quotas, credits, organization members, workspaces and memberships, budgets, guardrails, BYOK provider credentials, observability destinations, and presets. Use for OpenRouter dashboard-style account, organization, access, privacy, routing, monitoring, or administrative operations, and to determine when an operation still requires the official website.
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; scripts run unread.
Use official MCP tools first when they expose the operation. For administration outside MCP, search current official documentation and OpenAPI, then use scripts/openrouter_access.py. Never reproduce its authentication, redaction, or request logic inline.
For API-backed operations without a dedicated command, use api-request. It accepts only allowlisted administration path families, blocks billable inference paths, requires --confirm-write for non-GET requests, and redacts secrets and identifiers from output. Confirm the exact method, path, authentication type, and request body against current official documentation immediately before use.
Do not treat private dashboard network calls as supported APIs. Account sign-in and security, the first Management API Key, purchases and payment methods, auto top-up, invoices and tax details, subscriptions, enterprise contracting, SSO setup, and support actions may require the official website when no current public endpoint exists. Open only the exact required page and complete everything else through MCP or the official API.
Never request a provider key, observability secret, payment credential, password, or token in chat. For a secret-bearing API request, have the user prepare a local JSON body file with mode 0600, pass its path to api-request, and remove it after the user confirms success. If a safe local handoff is not practical, use the official secret-entry page.
current with OPENROUTER_API_KEY for an assigned inference key. Report limits, remaining allowance, reset period, usage, expiry, and scope without displaying the environment value.OPENROUTER_MANAGEMENT_API_KEY only for endpoints documented as management operations. A regular member may not have organization-administrator permissions.403 responses as permission boundaries rather than authentication failures.Before every non-GET request, show the target resource, exact changes, financial or privacy effect, reversibility, and authentication scope. Execute only after explicit confirmation. Require especially clear confirmation before deleting resources, removing limits, changing budgets or privacy controls, assigning guardrails, storing provider or observability credentials, or changing workspace membership.
create-key never prints the one-time plaintext key. It writes the secret to a mode-0600 file or copies it to the macOS clipboard with --clipboard. Tell the user to store it immediately and delete any temporary file only after safe receipt is confirmed.
python3 scripts/openrouter_access.py current
python3 scripts/openrouter_access.py list-keys
python3 scripts/openrouter_access.py credits
python3 scripts/openrouter_access.py list-members
python3 scripts/openrouter_access.py list-workspaces
python3 scripts/openrouter_access.py list-budgets --workspace WORKSPACE
python3 scripts/openrouter_access.py create-key --name NAME --limit 25 --limit-reset monthly --clipboard
python3 scripts/openrouter_access.py update-key --hash HASH --limit 50 --limit-reset monthly
python3 scripts/openrouter_access.py delete-key --hash HASH --confirm-hash HASH
python3 scripts/openrouter_access.py set-budget --workspace WORKSPACE --interval monthly --limit-usd 100
python3 scripts/openrouter_access.py delete-budget --workspace WORKSPACE --interval monthly --confirm
python3 scripts/openrouter_access.py api-request --method GET --path /guardrails
python3 scripts/openrouter_access.py api-request --method POST --path /workspaces --body-file request.json --confirm-write
python3 scripts/openrouter_access.py api-request --auth inference --method GET --path /presets
Use the explicit key and budget commands when available. Use api-request only after checking the current official endpoint. Run python3 scripts/openrouter_access.py --self-check after changing the script.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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./