What problem does it solve?
This Skill helps PinMe Worker projects call OpenRouter-backed LLM APIs safely from TypeScript without exposing the real OpenRouter key, while keeping requests scoped to the correct PinMe project.
Core Features & Use Cases
- Model discovery: List available OpenRouter models through the PinMe proxy.
- Chat completions: Build non-streaming or streaming chat routes that forward OpenRouter request bodies as-is.
- Web search via tools: Use OpenRouter web search from inside chat completions when a Worker needs live information.
- Robust worker integration: Handles PinMe environment variables, project-scoped authentication, request size limits, and passthrough error handling.
- Use case: A PinMe backend can answer user questions, stream tokens to the frontend, or fetch current information with web search while keeping secrets on the platform.
Quick Start
Ask the assistant to generate a PinMe Worker route that sends a chat completion request through the PinMe OpenRouter proxy with the correct environment variables and error handling.