Agent skill · software engineering · jeremylongshore

openrouter-prod-checklist

Validate production readiness of your OpenRouter integration. Use before

Why this skill is useful

Adds a pre-launch validation script and specific API checks for OpenRouter integrations that enhance operational readiness.

What it needs

Requires curl, jq, python3 installed locally. Requires openrouter account access. About 5k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

OpenRouter Production Checklist Overview A comprehensive production readiness checklist for OpenRouter integrations covering security, reliability, observability, cost management, and operational procedures. Each item includes the specific API endpoint or configuration needed to verify compliance. Prerequisites An OpenRouter API key (sk-or-v1-...) exported as OPENROUTERAPIKEY — see the openrouter-install-auth skill for setup A working OpenRouter integration ready to launch — this skill validates an existing integration, it doesn't build one curl and jq for the pre-launch validation script and the auth/credit-limit checks Python 3.8+ if you turn the checklist dicts (SECURITY, RELIABILITY, OBSERVABILITY) into automated CI checks A secret scanner in CI (gitleaks or trufflehog) — the security checklist verifies its presence Instructions 1. Work through the Security Checklist: keys in a secrets manager, 90-day rotation, per-key credit limits (GET /api/v1/auth/key → .data.limit), secret scanning in CI, HTTPS-only endpoints. 2. Verify the Reliability Checklist: a fallback chain (models array + route: "fallback"), SDK maxretries=3 with built-in backoff, timeout=30.0, a circuit breaker on the primary model, and maxtokens on every request. 3. Confirm the Observability Checklist: structured logs carrying generationid/model/latency/tokens/cost, error-rate alerts (>5% over 5 min), P50/P95 latency per model, daily cost tracking via GET /api/v1/generation?id=, and credit-balance alerts. 4. Run the Pre-Launch Validation Script — it exercises auth, credit limit, primary-model availability, a live test request, and a hardcoded-key scan. 5. Fix every FAIL and re-run until the script prints READY FOR PRODUCTION, then wire it into CI as a pre-deploy gate per Enterprise Considerations. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/openrouter-prod-checklist

View the source on GitHub

Browse the @skills marketplace