Agent skill · OpenRouter
OpenRouter TypeScript SDK skill for Claude Code, Codex and Cursor
Officialname: openrouter-typescript-sdk★ 304 (repo)pushed 2026-10-24SKILL.md on GitHubchecked 2026-11-07
What it does, in the publisher's words
Complete reference for integrating with 300+ AI models through the OpenRouter TypeScript SDK and Agent packages using the callModel pattern
The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.
Install OpenRouter TypeScript SDK
The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs
npx skills add OpenRouterTeam/skills --skill openrouter-typescript-sdk
This repo is a plugin marketplace. Inside Claude Code, add it and install the plugin that holds the skill (openrouter), or copy only this skill into ~/.claude/skills. docs
/plugin marketplace add OpenRouterTeam/skills /plugin install <plugin>@openrouter # or only this skill: npx skills add OpenRouterTeam/skills --skill openrouter-typescript-sdk -a claude-code
Download the skill folder, zip it, then Customize > Skills > + > Create skill > Upload a skill. Code execution must be on (Settings > Capabilities). docs
git clone --depth 1 https://github.com/OpenRouterTeam/skills.git /tmp/openrouter-typescript-sdk-src cp -r /tmp/openrouter-typescript-sdk-src/skills/openrouter-typescript-sdk ./openrouter-typescript-sdk zip -r openrouter-typescript-sdk.zip openrouter-typescript-sdk
Codex reads skills from .agents/skills in the repo or ~/.agents/skills. Type $ in Codex to use one. docs
npx skills add OpenRouterTeam/skills --skill openrouter-typescript-sdk -a codex
gh skill (GitHub CLI 2.90+, preview) installs it for Copilot in VS Code, the CLI and the cloud agent. Copilot also reads .github/skills and ~/.copilot/skills. docs
gh skill install OpenRouterTeam/skills openrouter-typescript-sdk
Cursor reads .cursor/skills, .agents/skills and ~/.cursor/skills (and .claude/skills). It does not install loose skills from a GitHub URL, so copy it in. docs
npx skills add OpenRouterTeam/skills --skill openrouter-typescript-sdk -a cursor
Installs from the GitHub repo; --path picks this skill out of the repo. Default scope is user (all projects). docs
gemini skills install https://github.com/OpenRouterTeam/skills.git --path skills/openrouter-typescript-sdk
OpenCode reads .opencode/skills, ~/.config/opencode/skills and the Claude and .agents folders. docs
npx skills add OpenRouterTeam/skills --skill openrouter-typescript-sdk -a opencode
Windsurf (now Devin Desktop) reads .devin/skills, .windsurf/skills and ~/.codeium/windsurf/skills. docs
npx skills add OpenRouterTeam/skills --skill openrouter-typescript-sdk -a windsurf
Works with
Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.
What's in the SKILL.md
- Installation
- Setup
- Authentication
- API Key Authentication
- OAuth Authentication (PKCE Flow)
- Security Best Practices
- Core Concepts: callModel
- Basic Usage
- Key Benefits
- Input Formats
- String Input
- Message Arrays
- Multimodal Content
- System Instructions
- Response Methods
- getText()
- getResponse()
- getTextStream()
- Tool System
- Defining Tools
- Using Tools with callModel
- Tool Types
- Multi-Turn Conversations with Stop Conditions
- Available Stop Conditions
- + 16 more
Bundled files
- README.md
- metadata.json
Loaded only when the instructions point to them.
Facts
- Skill name
- openrouter-typescript-sdk
- Publisher
- OpenRouter (official)
- Repo
- OpenRouterTeam/skills
- Version
- 2.0.0
- SKILL.md size
- 1,475 words, 1262 lines
- Bundled files
- 2, 1 docs
- Repo stars
- 304 (as of 2026-10-24)
- SKILL.md checked
- 2026-11-07
Related ai & ml skills
- Claude API · Anthropic
- ChatGPT Apps · OpenAI
- OpenAI Docs · OpenAI
- Hugging Face CLI · Hugging Face
- Gradio · Hugging Face
- Hugging Face LLM Trainer · Hugging Face
- Transformers.js · Hugging Face
- Gemini API · Google (Gemini)
FAQ
What does the openrouter-typescript-sdk skill do?+
Reference for calling many AI models through OpenRouter's TypeScript SDK and agent packages. In its own SKILL.md, OpenRouter describes it as: "Complete reference for integrating with 300+ AI models through the OpenRouter TypeScript SDK and Agent packages using the callModel pattern"
How do I install the openrouter-typescript-sdk skill?+
Run npx skills add OpenRouterTeam/skills --skill openrouter-typescript-sdk and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/openrouter-typescript-sdk/SKILL.md; in Codex and Cursor in .agents/skills/openrouter-typescript-sdk/.
Does OpenRouter TypeScript SDK work in Codex, Cursor and Copilot, or only Claude?+
It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.
Who maintains OpenRouter TypeScript SDK?+
OpenRouter, the company or project behind it, in the OpenRouterTeam/skills repo on GitHub, last pushed 2026-10-24.
Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers