Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →

openrouterteam/agent-skills

2 skills4.7k installs58 starsGitHub

Install

npx skills add https://github.com/openrouterteam/agent-skills

Skills in this repo

1Create Agentcreate-agent is an OpenRouter skill for bootstrapping a modular AI agent where a standalone Agent core runs headless while optional Ink TUI, HTTP API, or Discord interfaces attach on top. Architecture separates Agent Core with EventEmitter hooks from the OpenRouter SDK client that calls models with tools and step limits. Setup runs npm init, installs @openrouter/sdk, zod, eventemitter3, optional ink and react, configures TypeScript NodeNext module resolution, and adds start, start:headless, and dev scripts. src/agent.ts defines Message types, AgentEvents for stream, tool, reasoning, and error hooks, plus send() using getItemsStream with item:update emissions keyed by item id. src/tools.ts holds tool definitions; src/cli.tsx provides optional Ink UI; src/headless.ts demonstrates programmatic usage. The skill documents API key security via environment variables, default model openrouter/auto, configurable maxSteps with stepCountIs, runtime addTool registration, and reasoning item handling. Prerequisites point to openrouter.ai/settings/keys for credentials. File structure keeps UI optional so the same core serves CLI, server, or chat integrations without rewriting agent logic.2.7kinstalls2Openrouter Typescript SdkA comprehensive TypeScript SDK for interacting with OpenRouter s unified API providing access to 300 AI models through a single type safe interface This skill enables AI agents to leverage the callModel pattern for text generation tool usage streaming and multi turn conversations Get your API key from openrouter ai settings keys https openrouter ai settings keys then initialize typescript import OpenRouter from openrouter sdk const client new OpenRouter apiKey process env OPENROUTER_API_KEY The SDK supports two authentication methods API keys for server side applications and OAuth PKCE flow for user facing applications The openrouter typescript sdk agent skill provides documented workflows prerequisites triggers and safety guidance from its SKILL md source Agents load it when user requests match the description and follow step by step instructions without inventing capabilities It integrates with standard agent tooling for the tasks inputs outputs and failure modes described in the repository documentation2kinstalls

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.