关于 llm-models
llm-models 是通过 inference.sh 命令行工具 belt 调用 OpenRouter 语言模型的技能,面向构建模型驱动任务或工作流的开发者,并提供模型搜索及多种任务示例。
主要功能
- 01通过 belt 运行 OpenRouter 语言模型
- 02搜索可用的模型应用
- 03选择指定模型或自动选择
- 04传入提示词和系统指令
适用场景
- 01生成、审查或调试代码
- 02撰写和翻译内容
- 03解读数据并开展研究
- 04在 AI 工作流中添加模型调用
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ qu-skills/ superpowers --skill llm-models安装后在 Claude Code 中输入/llm-models确认已加载。
详细介绍
安装 belt CLI 技能:
npx skills add belt-sh/cli
通过 OpenRouter 使用 LLM 模型
通过 inference.sh CLI 访问 100 多种语言模型。

快速开始
需要 inference.sh CLI(
belt)。安装说明
belt login
# Call Claude Sonnet
belt app run openrouter/claude-sonnet-45 --input '{"prompt": "Explain quantum computing"}'
可用模型
| 模型 | App ID | 最适合 |
|---|---|---|
| Claude Opus 4.5 | openrouter/claude-opus-45 | 复杂推理、编码 |
| Claude Sonnet 4.5 | openrouter/claude-sonnet-45 | 均衡的性能 |
| Claude Haiku 4.5 | openrouter/claude-haiku-45 | 快速、经济 |
| Gemini 3 Pro | openrouter/gemini-3-pro-preview | Google 最新模型 |
| Kimi K2 Thinking | openrouter/kimi-k2-thinking | 多步推理 |
| GLM-4.6 | openrouter/glm-46 | 开源、编码 |
| Intellect 3 | openrouter/intellect-3 | 通用用途 |
| 任意模型 | openrouter/any-model | 自动选择最佳选项 |
搜索 LLM 应用
belt app search "openrouter"
belt app search "claude"
示例
Claude Opus(最高质量)
belt app run openrouter/claude-opus-45 --input '{
"prompt": "Write a Python function to detect palindromes with comprehensive tests"
}'
Claude Sonnet(均衡)
belt app run openrouter/claude-sonnet-45 --input '{
"prompt": "Summarize the key concepts of machine learning"
}'
Claude Haiku(快速且经济)
belt app run openrouter/claude-haiku-45 --input '{
"prompt": "Translate this to French: Hello, how are you?"
}'
Kimi K2(思考型 Agent)
belt app run openrouter/kimi-k2-thinking --input '{
"prompt": "Plan a step-by-step approach to build a web scraper"
}'
任意模型(自动选择)
# Automatically picks the most cost-effective model
belt app run openrouter/any-model --input '{
"prompt": "What is the capital of France?"
}'
使用系统提示词
belt app sample openrouter/claude-sonnet-45 --save input.json
# Edit input.json:
# {
# "system": "You are a helpful coding assistant",
# "prompt": "How do I read a file in Python?"
# }
belt app run openrouter/claude-sonnet-45 --input input.json
使用场景
- 编码: 生成、审查、调试代码
- 写作: 内容、摘要、翻译
- 分析: 数据解读、研究
- Agent: 构建 AI 驱动的工作流
- 聊天: 对话界面
相关技能
# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli
# Web search (combine with LLMs for RAG)
npx skills add inference-sh/skills@web-search
# Image generation
npx skills add inference-sh/skills@ai-image-generation
# Video generation
npx skills add inference-sh/skills@ai-video-generation
浏览所有应用:belt app list
文档
- Agent 概览 - 构建 AI Agent
- Agent SDK - 以编程方式控制 Agent
- 构建研究 Agent - LLM 与搜索集成指南
评论
支持 Markdown