Open
Conversation
Add biome.json (adapted from openrouter-web, stripped of monorepo/React specifics), root package.json with lint/typecheck scripts, and GitHub Actions CI for lint + typecheck on PR and push to main.
Expand description with many more trigger phrases so Claude activates the skill even when users don't mention OpenRouter explicitly. Add "why" explanations to Presenting Results guidelines. Add Common Workflows table showing how to chain scripts for typical user intents.
…idance Expand description to cover more trigger phrases (logo, sketch, mockup, etc.) so the skill activates in more relevant contexts. Add prompt tips section for better image results. Add "why" explanations to presenting results section. Cross-reference openrouter-models skill for model discovery.
Replace generic "Using a Different Model" section with a Model Selection table showing when to pick different models. Add "why" explanations to Presenting Results and suggest iterative refinement workflow.
…ive disclosure Reduce SKILL.md from 1316 to 401 lines by extracting detailed content into reference files: - references/authentication.md: OAuth PKCE flow, API key management - references/event-shapes.md: full stream event types and interfaces - references/message-shapes.md: request/response type interfaces - references/advanced-patterns.md: format conversion, dynamic params, generator/manual tools Updated description to be more discoverable with trigger phrases. Added clear pointers in SKILL.md to each reference file.
…ions Position callModel as a high-level framework comparable to Vercel AI SDK, explaining why it should be the default choice and when to use lower-level methods like client.chat.send() as escape hatches.
Switch image generation and editing scripts from client.chat.send() (Chat Completions API) to client.callModel() (Responses API), as recommended in the Slack review. callModel provides automatic tool execution, type safety, and is the SDK's primary high-level interface. Also fixes biome formatting in biome.json.
… API Align SKILL.md and reference files with @openrouter/sdk v0.9.11: - Fix multimodal input to Responses API format (input_text/input_image) - Add getItemsStream, getToolCalls, getFullResponsesStream, cancel methods - Add Model Fallback, Image Generation, Structured Output, Reasoning sections - Remove invalid stop parameter from Generation Parameters - Fix context object properties in advanced-patterns.md - Add requireApproval, type inference utilities, additional stop conditions - Add deprecation note for getNewMessagesStream in event-shapes.md - Add reasoning/image_generation/web_search/file_search output types
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.