[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MN6NVG6PZX26K1YFJGJSD":3,"skill-same:01M77MN6NVG6PZX26K1YFJGJSD":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M77MN6NVG6PZX26K1YFJGJSD","openrouter",null,"Design, build, debug, and optimize OpenRouter API integrations. Use for any OpenRouter API work, including models, reasoning, routing, media, tools, structured output, cost, or performance.","davidondrej\u002Fskills","davidondrej","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F131768515?v=4","01M77MHARFKYVNT9FV22807T8F","David Ondrej","01M77MHASHNDV507F9NTVKR2CY",4310,"MIT","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fopenrouter\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: openrouter\ndescription: 'Design, build, debug, and optimize OpenRouter API integrations. Use for any OpenRouter API work, including models, reasoning, routing, media, tools, structured output, cost, or performance.'\n---\n\n# OpenRouter\n\nMake model behavior explicit. Preserve the user's quality, cost, privacy, and reliability requirements across every route and retry.\n\n## Before changing configuration\n\n1. Inspect the actual outgoing request, SDK version, existing configuration, and user preferences. Redact credentials and content. A setting in a UI or config file does not prove the SDK sends it.\n2. Verify exact model IDs and live capabilities through the [models API](https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\u002Fmodels). Inspect the selected model's provider endpoints too. Check input\u002Foutput modalities, context and output limits, supported parameters, reasoning options, prices, and provider availability for **both primary and fallback models**.\n3. Choose and record an explicit reasoning setting for each reasoning model. Use the user's requested effort. If unspecified, choose a supported value for the task and state the choice; do not silently inherit a provider default or impose one effort on every model. Read [reasoning and output](references\u002Freasoning-and-output.md) before setting these fields.\n4. Set an output ceiling, total deadline, bounded retry policy, and cost limits appropriate to the workload. Reasoning uses output tokens too. A model's context window is not its maximum output length.\n5. Read the relevant reference below. Consult current official docs for unfamiliar fields; do not invent model IDs, provider slugs, parameter support, or SDK syntax.\n\n## Rules that prevent expensive mistakes\n\n- Use the unified `reasoning` object. `reasoning.exclude: true` hides reasoning; it does **not** turn reasoning off or make it free. Mandatory reasoning models cannot be disabled.\n- Check every fallback against the same required capabilities and privacy\u002Fcost constraints. A single `models` request shares configuration across candidates. If models need different efforts or budgets, implement bounded application-level attempts with separate configs.\n- Separate provider failover from model fallback. `provider.order` is a preference; `only` restricts providers; `ignore` excludes them. Use `provider.require_parameters: true` when silently dropping requested parameters would break correctness. Recheck endpoint support; this is not a semantic guarantee.\n- Match routing to the real goal: `provider.sort: \"price\"` for price, `\"latency\"` for TTFT, `\"throughput\"` for tokens\u002Fsecond. `:nitro` also permits priority tiers; `:floor` also permits flex tiers. They can change price or availability beyond plain sorting.\n- HTTP 200 is not application success. Check errors, finish reason, expected output type, schema, and task-specific validity. Null text may be a valid tool call. A truncated or unreviewed answer must not become a successful artifact.\n- Do not repeat a deterministic failure unchanged. On a confirmed output-limit failure, consider a supported lower effort, smaller task, or compatible fallback within the quality budget. Increasing the cap is one option, not the automatic answer. Preserve fail-closed validation on every attempt.\n- Keep keys server-side. Log diagnostic metadata, not prompts, attachments, raw reasoning, or provider errors that may contain private content. Never weaken safety\u002Fprivacy restrictions just to get a successful response.\n\n## Read only what the task needs\n\n- [Reasoning and output](references\u002Freasoning-and-output.md): effort selection, token budgets, schemas, empty answers, adaptive retries, Python request example.\n- [Routing, cost, and speed](references\u002Frouting-cost-speed.md): model fallbacks, provider filters, suffixes, tiers, performance thresholds, caching.\n- [Images, other media, and tools](references\u002Fmedia-and-tools.md): image generation and aspect ratios, URL\u002Fbase64 attachments, PDFs\u002Faudio\u002Fvideo, tool loops, reasoning preservation.\n- [Reliability and observability](references\u002Freliability.md): error handling, SSE, deadlines, billing, telemetry, privacy, deployment checks.\n- [API field map and sources](references\u002Fapi-field-map.md): endpoint selection, request parameter families, SDK passthrough, live schemas and authoritative sources.\n\n## Verify the integration\n\nCapture the serialized request in a redacted local test. Verify explicit reasoning, output limits, fallbacks, and routing constraints survive SDK serialization. Test the actual failure boundary: limit reached, null\u002Ftool output, malformed JSON, missing required capability, or mid-stream error. Run a small real smoke test when inference is authorized; do not describe mock validation as a production test.\n\nFor tuning, compare representative tasks using **valid-result rate, cost per valid result, time to first visible answer, and total duration**. Include retries and failed attempts. Lower effort or a faster route is acceptable only if required quality and safety still pass.\n\nReport the chosen primary\u002Ffallback models, explicit effort and caps, routing goal, and what was verified. Distinguish confirmed API evidence from hypotheses.\n","# OpenRouter\n\nMake model behavior explicit. Preserve the user's quality, cost, privacy, and reliability requirements across every route and retry.\n\n## Before changing configuration\n\n1. Inspect the actual outgoing request, SDK version, existing configuration, and user preferences. Redact credentials and content. A setting in a UI or config file does not prove the SDK sends it.\n2. Verify exact model IDs and live capabilities through the [models API](https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\u002Fmodels). Inspect the selected model's provider endpoints too. Check input\u002Foutput modalities, context and output limits, supported parameters, reasoning options, prices, and provider availability for **both primary and fallback models**.\n3. Choose and record an explicit reasoning setting for each reasoning model. Use the user's requested effort. If unspecified, choose a supported value for the task and state the choice; do not silently inherit a provider default or impose one effort on every model. Read [reasoning and output](references\u002Freasoning-and-output.md) before setting these fields.\n4. Set an output ceiling, total deadline, bounded retry policy, and cost limits appropriate to the workload. Reasoning uses output tokens too. A model's context window is not its maximum output length.\n5. Read the relevant reference below. Consult current official docs for unfamiliar fields; do not invent model IDs, provider slugs, parameter support, or SDK syntax.\n\n## Rules that prevent expensive mistakes\n\n- Use the unified `reasoning` object. `reasoning.exclude: true` hides reasoning; it does **not** turn reasoning off or make it free. Mandatory reasoning models cannot be disabled.\n- Check every fallback against the same required capabilities and privacy\u002Fcost constraints. A single `models` request shares configuration across candidates. If models need different efforts or budgets, implement bounded application-level attempts with separate configs.\n- Separate provider failover from model fallback. `provider.order` is a preference; `only` restricts providers; `ignore` excludes them. Use `provider.require_parameters: true` when silently dropping requested parameters would break correctness. Recheck endpoint support; this is not a semantic guarantee.\n- Match routing to the real goal: `provider.sort: \"price\"` for price, `\"latency\"` for TTFT, `\"throughput\"` for tokens\u002Fsecond. `:nitro` also permits priority tiers; `:floor` also permits flex tiers. They can change price or availability beyond plain sorting.\n- HTTP 200 is not application success. Check errors, finish reason, expected output type, schema, and task-specific validity. Null text may be a valid tool call. A truncated or unreviewed answer must not become a successful artifact.\n- Do not repeat a deterministic failure unchanged. On a confirmed output-limit failure, consider a supported lower effort, smaller task, or compatible fallback within the quality budget. Increasing the cap is one option, not the automatic answer. Preserve fail-closed validation on every attempt.\n- Keep keys server-side. Log diagnostic metadata, not prompts, attachments, raw reasoning, or provider errors that may contain private content. Never weaken safety\u002Fprivacy restrictions just to get a successful response.\n\n## Read only what the task needs\n\n- [Reasoning and output](references\u002Freasoning-and-output.md): effort selection, token budgets, schemas, empty answers, adaptive retries, Python request example.\n- [Routing, cost, and speed](references\u002Frouting-cost-speed.md): model fallbacks, provider filters, suffixes, tiers, performance thresholds, caching.\n- [Images, other media, and tools](references\u002Fmedia-and-tools.md): image generation and aspect ratios, URL\u002Fbase64 attachments, PDFs\u002Faudio\u002Fvideo, tool loops, reasoning preservation.\n- [Reliability and observability](references\u002Freliability.md): error handling, SSE, deadlines, billing, telemetry, privacy, deployment checks.\n- [API field map and sources](references\u002Fapi-field-map.md): endpoint selection, request parameter families, SDK passthrough, live schemas and authoritative sources.\n\n## Verify the integration\n\nCapture the serialized request in a redacted local test. Verify explicit reasoning, output limits, fallbacks, and routing constraints survive SDK serialization. Test the actual failure boundary: limit reached, null\u002Ftool output, malformed JSON, missing required capability, or mid-stream error. Run a small real smoke test when inference is authorized; do not describe mock validation as a production test.\n\nFor tuning, compare representative tasks using **valid-result rate, cost per valid result, time to first visible answer, and total duration**. Include retries and failed attempts. Lower effort or a faster route is acceptable only if required quality and safety still pass.\n\nReport the chosen primary\u002Ffallback models, explicit effort and caps, routing goal, and what was verified. Distinguish confirmed API evidence from hypotheses.\n",{"name":5,"description":7},"main","a9d4ad810cf3c303fde23bdcd5fc86df7c57daf3","skills\u002Fopenrouter",626,"https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills","https:\u002F\u002Fwww.cloudroom.dev","https:\u002F\u002Fgithub.com\u002Fdavidondrej","https:\u002F\u002Fwww.cloudroom.dev\u002F","founder of Cloudroom","2026-11-14 10:00:36",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add davidondrej\u002Fskills --skill openrouter",{"tool":40,"command":41},"bunx","bunx skills add davidondrej\u002Fskills --skill openrouter",{"tool":43,"command":44},"pnpm","pnpm dlx skills add davidondrej\u002Fskills --skill openrouter","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fopenrouter\u002FSKILL.md",true,[48,54,58,62,66],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fapi-field-map.md","REFERENCE","参考文档",7459,"https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fopenrouter\u002Freferences\u002Fapi-field-map.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fmedia-and-tools.md",7210,"https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fopenrouter\u002Freferences\u002Fmedia-and-tools.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Freasoning-and-output.md",7296,"https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fopenrouter\u002Freferences\u002Freasoning-and-output.md",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Freliability.md",6929,"https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fopenrouter\u002Freferences\u002Freliability.md",{"path":67,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Frouting-cost-speed.md",6073,"https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fopenrouter\u002Freferences\u002Frouting-cost-speed.md",[71,78,85,92,99,106],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M77MPMR6DE13EZFSMY76S6YB","varied-search","Research a topic across the web, GitHub, and X\u002FTwitter with DeepAPI and produce a concise Markdown report. Use for varied-search or requests to compare web coverage, relevant repositories, and social discussion.","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fvaried-search\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M77MPG5F9H2JBW4VFHBY1VSM","total-review","Run five independent max-effort reviews (Fable 5.1, Opus 5.5, GPT-6 Astra, GPT-6.1 Sol, Muse Wonder), merge their findings, and fix only what the user approves. Use for \u002Ftotal-review, or when the user or another agent asks for a total review.","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftotal-review\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M77MP8XZJ42ZJZQV8C76B353","stop-overthinking","Manually-invoked skill that stops overthinking and forces a short, practical decision. Use only when the user explicitly invokes stop-overthinking.","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fstop-overthinking\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M77MP5EGQSNF1VS9SY8CK60Q","state","Manually-invoked skill that recaps what the current thread is doing and how far along it is. Use when the user says \"state\", \"where are we\", or \"what % are we done\".","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fstate\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M77MP2H479SWAP7687RAVG7T","setup-help","Guide setup one step at a time and show what remains. Use only when the user explicitly asks for it by name.","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-help\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M77MNZV9X8NPC9JZMWP8WAF8","self-archive","Archive the current Cloudroom thread and release its runtime. Use only when the user explicitly asks to self-archive, archive yourself, or archive this thread.","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fself-archive\u002FSKILL.md",[],[]]