Show HN: OpenRouter Skill – Reusable integration for AI agents using OpenRouter

TL;DR

Hi HN, I kept rebuilding the same OpenRouter integration across side projects – model discovery, image generation, cost tracking via the generation endpoint, routing with fallbacks, multimodal chat with PDFs.

Key Points

  • Every time I'd start fresh, the agent would get some things right and miss others (wrong response parsing, missing attribution headers, etc.).
  • So I packaged the working patterns into a skill – a structured reference that AI coding agents (Claude, Cursor, etc.) read before writing code.
  • It includes quick snippets, production playbooks, Next.
  • js and Express starter templates, shared TypeScript helpers, and smoke tests.

Nauti's Take

Skill stops the endless rebuild: OpenRouter agents now ship with playbooks, starter templates, and shared helpers so response parsing, attribution, and cost tracking do not implode on every project. PMs can hand off patterns instead of debugging half-baked agents.

Sources