Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions skills/openrouter-agent-migration/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ Migrate if your code imports any of these from `@openrouter/sdk`:
npm install @openrouter/agent
```

The `tool()` examples below define schemas with [zod](https://zod.dev). If your project doesn't already depend on it, install it too:

```bash
npm install zod
```

If you only use agent features, you can remove `@openrouter/sdk`:

```bash
Expand Down
3 changes: 3 additions & 0 deletions skills/openrouter-typescript-sdk/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ npm install @openrouter/agent

# For platform features (models, credits, OAuth, API keys)
npm install @openrouter/sdk

# For defining tool schemas (used by the tool() examples below)
npm install zod
```

## Setup
Expand Down