preset-skill-openrouter

Documents the OpenRouter preset template's model, endpoint, and capability configuration.

692|60|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/Lingtai-AI/lingtai --skill preset-skill-openrouter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: preset-skill-openrouter
Source: https://github.com/Lingtai-AI/lingtai/tree/main/tui/internal/preset/skills/lingtai-preset-skill/reference/openrouter
Command: npx skills add https://github.com/Lingtai-AI/lingtai --skill preset-skill-openrouter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Operators configuring the TUI openrouter preset need accurate, official-source-backed facts about its shipped model, provider, base URL, and capability flags, especially around whether vision is supported.

Core Features & Use Cases

  • Template Reference: Documents that openrouterPreset() ships gateway model z-ai/glm-5.1, provider openrouter, a provider-resolved base URL, and the OPENROUTER_API_KEY credential.
  • Vision Capability Clarification: Explains that the stock template is text-only, and that image support depends on the selected downstream model even if a user-owned saved preset adds capabilities.vision.
  • Failure Guidance: Describes how the sanitized vision tool reports failure types and points to vision(action="manual") instead of silently switching models or auto-loading an MCP.
  • Use Case: An operator wonders why image requests fail on the OpenRouter preset; this Skill explains the capability flags and directs verification of provider, model, and endpoint resolution in TUI source.

Quick Start

Ask the agent to explain whether the OpenRouter preset supports vision and how to verify its model and endpoint configuration.

Frequently Asked Questions about preset-skill-openrouter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Does the OpenRouter preset support vision or image inputs?

The stock OpenRouter template is text-only and does not invoke the vision tool. Image support only becomes possible if a user-owned saved preset explicitly adds capabilities.vision and the selected downstream model actually accepts images.

What model and provider does the OpenRouter preset ship with?

The openrouterPreset() function ships gateway model z-ai/glm-5.1, provider openrouter, a provider-resolved base URL, and uses the OPENROUTER_API_KEY credential. The shipped slug is text-in/text-out with no vision capability in the manifest.

Why do image requests fail on the OpenRouter preset?

Failures occur because the stock template lacks vision capability or the downstream model does not accept images. The sanitized vision tool reports the failure type and points to vision(action="manual") for explicit alternatives.

Can gateway-wide multimodality guarantee a downstream model accepts images?

No. Gateway-wide multimodality is not proof that a particular downstream model accepts images. You must verify the provider, model, endpoint resolution, and capability flags in the TUI source and official OpenRouter documentation.

Should the agent switch models automatically when a vision request fails?

No. The guidance explicitly forbids silently changing the model or provider and auto-loading or invoking an MCP. Instead, verify configuration in source and use vision(action="manual") for explicit alternatives.