with one click
在本地通过 OpenRouter API 调用多模型,支持单轮/多轮消息、系统提示词和结构化输出。
npx skills add https://github.com/Leoyishou/personal-ai-company --skill openrouter-chatCopy and paste this command into Claude Code to install the skill
在本地通过 OpenRouter API 调用多模型,支持单轮/多轮消息、系统提示词和结构化输出。
npx skills add https://github.com/Leoyishou/personal-ai-company --skill openrouter-chatCopy and paste this command into Claude Code to install the skill
火山引擎语音识别 - 将音频/视频转文字,支持长音频分段识别。
Use when publishing an Obsidian plugin to the community plugin store, creating GitHub Releases for Obsidian plugins, or submitting PRs to obsidianmd/obsidian-releases
一键部署静态网站到 Vercel 和 Cloudflare Pages。支持 HTML/React/Vue 等任意静态项目。
将 Expo/React Native 项目通过 EAS Build 构建 iOS 包并提交到 TestFlight。支持从零配置 EAS、构建、提交全流程。
综合画图工具 - AI 生图 (Nanobanana/Gemini) + 图片后处理(拼接/抠图/圆形裁剪/合成)。支持中英文自然语言画图。
统一搜索与抓取能力层 - 整合所有外部信息获取接口(搜索、抓取、下载)
| name | openrouter-chat |
| description | 在本地通过 OpenRouter API 调用多模型,支持单轮/多轮消息、系统提示词和结构化输出。 |
| allowed-tools | Bash(python:*), Read, Write |
将 OpenRouter API 封装为 Claude Code 可调用的本地 skill,用于 Nanobanana 作图、Gemini、GPT 模型的调用等场景。
设置 OpenRouter API key:
export OPENROUTER_API_KEY="sk-or-..."
或创建 .env 文件(放在 skill 根目录):
OPENROUTER_API_KEY=sk-or-...
OPENROUTER_MODEL=google/gemini-3-pro-preview
OPENROUTER_SITE_URL=https://your-site.example
OPENROUTER_APP_NAME=openrouter-chat
可选配置:
export OPENROUTER_MODEL="google/gemini-3-pro-preview"
export OPENROUTER_BASE_URL="https://openrouter.ai/api/v1/chat/completions"
export OPENROUTER_SITE_URL="https://your-site.example"
export OPENROUTER_APP_NAME="openrouter-chat"
python scripts/openrouter_chat.py --prompt "用三句话解释向量数据库"
python scripts/smoke_test.py
python scripts/openrouter_chat.py --messages messages.json
python scripts/openrouter_chat.py \
--system "你是资深产品经理" \
--prompt "总结这段需求" \
--model "anthropic/claude-sonnet-4.5"
google/gemini-3-pro-image-preview (Nanobanana)google/gemini-3-pro-previewanthropic/claude-sonnet-4.5当用户请求调用 OpenRouter 时,遵循以下流程:
与用户确认:
根据场景选择输入方式:
--prompt 或管道输入messages.json 并使用 --messages--extra JSON 载荷(如 response_format)cd .claude/skills/openrouter-chat
python scripts/openrouter_chat.py --prompt "..."
输出模型回复,并按用户要求整理或格式化。
--print-json:输出完整 JSON--output result.json:保存完整响应cd .claude/skills/openrouter-chat
pip install -r scripts/requirements.txt
在 Claude Code 中直接说:
用 OpenRouter 生成一段产品介绍
用 Claude 3.5 Sonnet 翻译这段话
把这段需求整理成 JSON 结构
Claude 会调用该 skill 完成请求。