Registry / openrouterteam

openrouterteam/skills/openrouter-agent-migration

Migration guide from @openrouter/sdk to @openrouter/agent for callModel, tool(), stop conditions, and agent features. This skill should be used when code imports callModel, tool(), or stop conditions from @openrouter/sdk and needs to migrate to @openrouter/agent.

Agent skill · version 0.0.0-main.1794523603.ga110aad · from OpenRouterTeam/skills

Install

npx yarkr-cli add skill:openrouterteam/skills/openrouter-agent-migration

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:openrouterteam/skills/openrouter-agent-migration
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:openrouterteam/skills/openrouter-agent-migration

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:openrouterteam/skills/openrouter-agent-migration

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.