Community生產力與協作github.com

openrouterteam/openrouter-typescript-sdk

透過 OpenRouter TypeScript SDK 使用 callModel 模式,整合超過 300 個 AI 模型的完整參考指南。

openrouter-typescript-sdk 是什麼?

這個技能提供了完整的 OpenRouter TypeScript SDK 參考文件,專為使用 `callModel` 模式設計,讓開發者能夠順暢地與超過 300 個 AI 模型(如 GPT、Claude、Llama 等)進行互動。它支援在各種 TypeScript 環境中運行,包括 Node.js、Deno 和 Bun,並透過一個統一的 API 端點簡化多模組整合流程。技能的核心優勢在於其標準化的 `callModel` 方法,它封裝了模型選擇、參數設定和錯誤處理,大幅減少開發者需要編寫的樣板程式碼。此外,這個技能也與代理工具(如 Cursor 和 Codex)相容,能自動生成或調整呼叫程式碼,提升 AI 輔助開發的效率。對於需要即時切換模型或比較不同 AI 回應的團隊來說,這是一個不可或缺的參考資源。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/openrouterteam/agent-skills/tree/main/skills/openrouter-typescript-sdk

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

openrouter-typescript-sdk 是做什麼的?

透過 OpenRouter TypeScript SDK 使用 callModel 模式,整合超過 300 個 AI 模型的完整參考指南。

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

相關技能