LogoClawIndex
CasesSkillsAbout
LogoClawIndex

sp-openrouter - Use the OpenRouter TypeScript SDK

Provides guidance for integrating OpenRouter through its TypeScript agent and platform SDKs, including model calls, authentication, streaming, and API key management.

Tags

Updated: 2026-10-06

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Call supported AI models
  • Send multimodal inputs
  • Execute model tools
  • Stream model responses
  • Manage API keys
  • Start OAuth PKCE flows
  • Exchange OAuth authorization codes

Inputs

  • OpenRouter API key
  • OAuth callback URL
  • OAuth authorization code
  • Model identifier
  • Text or message inputs
  • System instructions
  • Image URLs

Outputs

  • Generated text
  • Full response with token usage
  • Streaming text deltas
  • Streaming reasoning tokens
  • Streaming tool calls
  • OAuth authorization URL
  • API key metadata
  • Managed API key state

Requirements

  • @openrouter/agent package
  • @openrouter/sdk package
  • OpenRouter API credentials
  • Access to supported AI 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 SDK
AI models
Agent SDK
OAuth PKCE
API keys
Streaming
Call supported AI models
Send multimodal inputs
Execute model tools
Stream model responses
OpenRouter API key
OAuth callback URL
OAuth authorization code
Generated text
Full response with token usage
Streaming text deltas