LogoClawIndex
CasesSkillsAbout
LogoClawIndex

sp-openrouter - Use the OpenRouter TypeScript SDK

Provides guidance for integrating OpenRouter's TypeScript SDK and Agent packages with models, tools, streaming, and multi-turn conversations.

Tags

Updated: 2026-10-06

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Call OpenRouter models
  • Send text and messages
  • Process multimodal inputs
  • Stream text and reasoning
  • Execute tools automatically
  • Manage API keys
  • Run OAuth PKCE flows

Inputs

  • OpenRouter API key
  • OAuth callback URL
  • OAuth authorization code
  • Model identifier
  • Prompt or message history
  • System instructions

Outputs

  • Generated text
  • Full response objects
  • Text streams
  • Reasoning streams
  • Tool call streams
  • Authorization URLs
  • Managed API key state

Requirements

  • TypeScript environment
  • @openrouter/agent package
  • @openrouter/sdk package
  • OpenRouter API credentials
  • Access to supported models

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
OpenRouter
TypeScript
AI models
LLM SDK
tool calling
streaming
OAuth
Call OpenRouter models
Send text and messages
Process multimodal inputs
Stream text and reasoning
OpenRouter API key
OAuth callback URL
OAuth authorization code
Generated text
Full response objects
Text streams