Openrouter Function Calling
jeremylongshore/tons-of-skills-marketplace
Implement function/tool calling with OpenRouter models. An agent skill from jeremylongshore/tons-of-skills-marketplace.
Design, build, debug, and optimize OpenRouter API integrations.
$ npx skills add davidondrej/skills --skill openrouter -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install davidondrej/skills openrouter --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/davidondrej/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ops-and-setup/openrouter .claude/skills/openrouter && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "openrouter" agent skill from https://github.com/davidondrej/skills/tree/main/skills/ops-and-setup/openrouter into .claude/skills/openrouter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openrouter", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/davidondrej/skills/tree/main/skills/ops-and-setup/openrouterType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add davidondrej/skills --skill openrouter -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install davidondrej/skills openrouter --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davidondrej/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/ops-and-setup/openrouter .agents/skills/openrouter && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "openrouter" agent skill from https://github.com/davidondrej/skills/tree/main/skills/ops-and-setup/openrouter into .agents/skills/openrouter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openrouter", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add davidondrej/skills --skill openrouter -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install davidondrej/skills openrouter --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davidondrej/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/ops-and-setup/openrouter .cursor/skills/openrouter && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "openrouter" agent skill from https://github.com/davidondrej/skills/tree/main/skills/ops-and-setup/openrouter into .cursor/skills/openrouter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openrouter", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/davidondrej/skills.git --path skills/ops-and-setup/openrouter--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add davidondrej/skills --skill openrouter -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install davidondrej/skills openrouter --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davidondrej/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/ops-and-setup/openrouter .gemini/skills/openrouter && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "openrouter" agent skill from https://github.com/davidondrej/skills/tree/main/skills/ops-and-setup/openrouter into .gemini/skills/openrouter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openrouter", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install davidondrej/skills openrouterInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add davidondrej/skills --skill openrouter -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/davidondrej/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/ops-and-setup/openrouter .github/skills/openrouter && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "openrouter" agent skill from https://github.com/davidondrej/skills/tree/main/skills/ops-and-setup/openrouter into .github/skills/openrouter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openrouter", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add davidondrej/skills --skill openrouter -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install davidondrej/skills openrouter --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davidondrej/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/ops-and-setup/openrouter .opencode/skills/openrouter && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "openrouter" agent skill from https://github.com/davidondrej/skills/tree/main/skills/ops-and-setup/openrouter into .opencode/skills/openrouter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openrouter", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
openrouterDesign, build, debug, and optimize OpenRouter API integrations.
Openrouter is an agent skill from davidondrej/skills. Design, build, debug, and optimize OpenRouter API integrations. Use for any OpenRouter API work, including models, reasoning, routing, media, tools, structured output, cost, or performance.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/api-field-map.md`, `references/media-and-tools.md` and `references/reasoning-and-output.md`).
It sits in AI & LLM Engineering, covering Model routing and gateways, Third-party API integration and Structured output and tool calling. It works with OpenRouter. The repository describes itself as: access to david ondrej's personal agent skills. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 7874889. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
openrouter.aiFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Openrouter loads about 1.3k tokens when it runs, and up to ~10k if it reads all its reference files. Until then it costs about 50 tokens; SKILL.md has 646 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from davidondrej/skills at commit 7874889, republished under its MIT licence (© davidondrej). 646 words, ~1,296 tokens.
.claude/skills/openrouter/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.Make model behavior explicit. Preserve the user's quality, cost, privacy, and reliability requirements across every route and retry.
reasoning object. reasoning.exclude: true hides reasoning; it does not turn reasoning off or make it free. Mandatory reasoning models cannot be disabled.models request shares configuration across candidates. If models need different efforts or budgets, implement bounded application-level attempts with separate configs.provider.order is a preference; only restricts providers; ignore excludes them. Use provider.require_parameters: true when silently dropping requested parameters would break correctness. Recheck endpoint support; this is not a semantic guarantee.provider.sort: "price" for price, "latency" for TTFT, "throughput" for tokens/second. :nitro also permits priority tiers; :floor also permits flex tiers. They can change price or availability beyond plain sorting.Capture the serialized request in a redacted local test. Verify explicit reasoning, output limits, fallbacks, and routing constraints survive SDK serialization. Test the actual failure boundary: limit reached, null/tool output, malformed JSON, missing required capability, or mid-stream error. Run a small real smoke test when inference is authorized; do not describe mock validation as a production test.
For tuning, compare representative tasks using valid-result rate, cost per valid result, time to first visible answer, and total duration. Include retries and failed attempts. Lower effort or a faster route is acceptable only if required quality and safety still pass.
Report the chosen primary/fallback models, explicit effort and caps, routing goal, and what was verified. Distinguish confirmed API evidence from hypotheses.
© davidondrej, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files (references) in skills/ops-and-setup/openrouter of davidondrej/skills.
Open the folder on GitHubat commit 7874889
Openrouter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Openrouter this skilldavidondrej/skills | 4.1k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Openrouter Function Callingjeremylongshore/tons-of-skills-marketplace | 2.8k | — | ~2.6k | Automated safety check: Pass | MIT | |
| Freetoken Botslimin112/min-skill | 412 | — | ~1.3k | Automated safety check: Pass | None | |
| Add Modelget-convex/convex-evals | 130 | — | ~1.5k | Automated safety check: Notes | Apache-2.0 | |
| Agents And MiddlewareVectorSpaceLab/AREX-Skill | 330 | — | ~1.2k | Automated safety check: Pass | MIT | |
| To Imgrtadewald/skills | 185 | — | ~673 | Automated safety check: Notes | None |
jeremylongshore/tons-of-skills-marketplace
Implement function/tool calling with OpenRouter models. An agent skill from jeremylongshore/tons-of-skills-marketplace.
limin112/min-skill
Discover, verify, and maintain zero-priced OpenRouter models for Pi child-agent workflows used by Muse, Grokbot, or Dot.
get-convex/convex-evals
Add a new model to the convex-evals coding leaderboard, and optionally the decision benchmark, through a PR, then dispatch its baseline runs.
VectorSpaceLab/AREX-Skill
Work on the actively maintained LangChain v1 agent package: initchatmodel, createagent, structured output, tools, middleware, embeddings initialization, provider routing, and agent runtime…
rtadewald/skills
Gera imagens em paralelo via OpenRouter a partir de um pedido simples ou de um batch com prompts e filenames definidos.
claude-office-skills/skills
Build AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns
davidondrej/skills
Launch a new bb worker thread with the right project, model, worktree, and task brief.
davidondrej/skills
Direct browser control via CDP. An agent skill from davidondrej/skills.
davidondrej/skills
Manage persistent dev servers, APIs, and other local processes on a port using macOS LaunchAgents.
davidondrej/skills
Reset a stuck Cursor ACP thread in <chat-system and reload its configuration.
davidondrej/skills
Keep a Mac awake for a set duration or while a process runs.
davidondrej/skills
Use this when controlling bb. An agent skill from davidondrej/skills.
Works with
Categories
Design, build, debug, and optimize OpenRouter API integrations. Openrouter is an agent skill from davidondrej/skills. Design, build, debug, and optimize OpenRouter API integrations.
Openrouter fits situations like: any OpenRouter API work; including models; structured output.
Run `npx skills add davidondrej/skills --skill openrouter -a claude-code`. Or copy the skill folder (skills/ops-and-setup/openrouter in davidondrej/skills) into .claude/skills/openrouter in your project. Claude Code loads it when a task matches its description.
Run `npx skills add davidondrej/skills --skill openrouter -a codex`. Or copy the skill folder (skills/ops-and-setup/openrouter in davidondrej/skills) into .agents/skills/openrouter in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davidondrej/skills --skill openrouter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openrouter, .gemini/skills/openrouter, .github/skills/openrouter and .opencode/skills/openrouter in your project.
SKILL.md names no scripts, command-line tools or credentials: Openrouter is instructions for the agent only. Our summary lists: Python 3.
SKILL.md names 1 domain. As links in the text: openrouter.ai. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Openrouter is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Openrouter: Openrouter Function Calling (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Freetoken Bots (limin112/min-skill, 412 stars), Add Model (get-convex/convex-evals, 130 stars) and Agents And Middleware (VectorSpaceLab/AREX-Skill, 330 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
davidondrej (a GitHub user) maintains it in davidondrej/skills, which has 4,112 GitHub stars. The repository holds 51 skills in this directory. The repository was last updated on October 8, 2026.
Source: davidondrej/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.