mcpField
L
llm-models

llm-models

github.com/qu-skillsAgent 工作流442 次安装12 周前更新
代码仓库

关于 llm-models

llm-models 是通过 inference.sh 命令行工具 belt 调用 OpenRouter 语言模型的技能,面向构建模型驱动任务或工作流的开发者,并提供模型搜索及多种任务示例。

主要功能

  1. 01通过 belt 运行 OpenRouter 语言模型
  2. 02搜索可用的模型应用
  3. 03选择指定模型或自动选择
  4. 04传入提示词和系统指令

适用场景

  1. 01生成、审查或调试代码
  2. 02撰写和翻译内容
  3. 03解读数据并开展研究
  4. 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 多种语言模型。

通过 OpenRouter 使用 LLM 模型

快速开始

需要 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.5openrouter/claude-opus-45复杂推理、编码
Claude Sonnet 4.5openrouter/claude-sonnet-45均衡的性能
Claude Haiku 4.5openrouter/claude-haiku-45快速、经济
Gemini 3 Proopenrouter/gemini-3-pro-previewGoogle 最新模型
Kimi K2 Thinkingopenrouter/kimi-k2-thinking多步推理
GLM-4.6openrouter/glm-46开源、编码
Intellect 3openrouter/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

文档

评论

支持 Markdown