openrouter-generations
Installation
SKILL.md
openrouter-generations
Retrieve detailed metadata and stored content for individual OpenRouter generations. Use this skill when you need to inspect a specific request — its cost, latency, token usage, provider routing, or the actual prompt/completion text.
Prerequisites
- Any valid OpenRouter API key (regular or management key). Get one at openrouter.ai/settings/keys.
- Pass it via
--api-key <key>or set theOPENROUTER_API_KEYenvironment variable - Generation IDs look like
gen-1234567890orgen-aBcDeFgHiJkLmNoPqRsT.
First-Time Setup
cd <skill-path>/scripts && npm install