Agent skill · OpenRouter

OpenRouter TypeScript SDK skill for Claude Code, Codex and Cursor

Reference for calling many AI models through OpenRouter's TypeScript SDK and agent packages.

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

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

40 sections
  • 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

2
  • 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

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