mcpField
L
llm-models

llm-models

github.com/magentoshAgent 工作流444 次安装12 周前更新
代码仓库

关于 llm-models

llm-models 是一份通过 inference.sh CLI 和 OpenRouter 调用语言模型的指南,面向构建应用、分析与工作流的开发者。它列出多种模型,并展示搜索、调用和自动选择模型的方式。

主要功能

  1. 01通过 OpenRouter 调用多种 LLM
  2. 02列出 Claude、Gemini 等模型
  3. 03搜索模型应用
  4. 04按任务选择或自动选择模型
  5. 05展示系统提示词用法

适用场景

  1. 01生成、审查或调试代码
  2. 02撰写、摘要和翻译内容
  3. 03分析数据或开展研究
  4. 04构建基于 AI 的工作流

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/magentosh/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