poe-chat

0
0
Source

使用 @gemini/@gpt/@claude 等触发词调用 Poe 模型(含 Gemini/GPT/claude/kimi/Deepseek等主流模型),自动选择 model_id 并说明使用了哪一个,支持文件上传。

Install

mkdir -p .claude/skills/poe-chat && curl -L -o skill.zip "https://mcp.directory/api/skills/download/6944" && unzip -o skill.zip -d .claude/skills/poe-chat && rm skill.zip

Installs to .claude/skills/poe-chat

About this skill

Poe Chat Skill

适用场景

  • 用户输入包含 @gemini@gpt 等 @触发词,希望用 Poe 上的具体模型回答问题。
  • 需要自动匹配最合适的具体模型名称(例如 gemini-3-flash)。
  • 支持把本地文件上传给模型分析。

使用方式

1) 安装依赖(只需一次)

pip install -r scripts/requirements.txt

如系统没有 python 命令,请改用 python3 执行下列命令。

2) 设置 Poe API Key(如未设置)

export POE_API_KEY="your_api_key"

也可以在调用时通过 --api-key 传入(优先生效)。

3) 查看可用模型(独立脚本)

python scripts/list_models.py

默认会在当前目录生成精简版 models.json(仅包含 id),并作为本地缓存(缓存时间 1 小时,基于文件修改时间)。

也可指定输出文件名:

python scripts/list_models.py --out models.json

如需查看完整模型信息(如 description 等),使用 --full

python scripts/list_models.py --full --out models-full.json

4) 根据模型列表选择模型 ID

models.json 中选择要使用的模型 ID:

  • 重点字段是 data[].id(这就是 model_id
  • 可结合 data[].description 判断用途和能力

示例(手动选择):

{
  "data": [
    {"id": "gemini-3-pro", "description": "..."},
    {"id": "claude-opus-4.6", "description": "..."}
  ]
}

当用户输入 @gemini ... 时,选择包含 Gemini 的模型,并遵循以下优先级:

  1. 默认优先非 Pro(例如优先 gemini-3-flash 而不是 gemini-3-pro
  2. 优先最新版本号(例如 2.5 优于 2.0)
  3. 只有用户明确要求 Pro/Ultra 时才选 Pro/Ultra(例如用户输入 @gemini-pro 或明确说“用Pro”)

5) 调用脚本(直接传入模型 ID)

python scripts/poe_client.py \
  --message "请解释量子计算" \
  --model-id "gemini-3-flash" \
  --api-key "your_api_key" \
  --file "/path/to/document.pdf"

说明

  • --message 必填,内容中包含 @xxx 触发词即可(如 @gemini、@gpt)。
  • --file 可选,可重复多次上传多个文件。

行为准则

  1. 解析触发词:从用户消息中提取第一个 @xxx 触发词。
  2. 模型选择:根据 models.json 里的 data[].id 手动选择最相关的具体模型。
  3. 模型列表:通过 list_models.py 获取模型列表,内存缓存 1 小时(不持久化)。
  4. API Key:若环境变量 POE_API_KEY 未设置,poe_client.py 会提示用户输入。
  5. 文件上传:如提供 --filepoe_client.py 使用 fastapi-poe 上传并附加到请求。
  6. 响应输出:回答正文前必须标注 具体模型名(例如 Model used: gemini-3-flash)。

输出格式

Model used: <具体模型名>

<模型回答内容>

如存在模型返回的附件,列出附件信息(名称、类型、URL)。

seedream-image-gen

openclaw

Generate images via Seedream API (doubao-seedream models). Synchronous generation.

2359

ffmpeg-cli

openclaw

Comprehensive video/audio processing with FFmpeg. Use for: (1) Video transcoding and format conversion, (2) Cutting and merging clips, (3) Audio extraction and manipulation, (4) Thumbnail and GIF generation, (5) Resolution scaling and quality adjustment, (6) Adding subtitles or watermarks, (7) Speed adjustment (slow/fast motion), (8) Color correction and filters.

6623

context-optimizer

openclaw

Advanced context management with auto-compaction and dynamic context optimization for DeepSeek's 64k context window. Features intelligent compaction (merging, summarizing, extracting), query-aware relevance scoring, and hierarchical memory system with context archive. Logs optimization events to chat.

3622

a-stock-analysis

openclaw

A股实时行情与分时量能分析。获取沪深股票实时价格、涨跌、成交量,分析分时量能分布(早盘/尾盘放量)、主力动向(抢筹/出货信号)、涨停封单。支持持仓管理和盈亏分析。Use when: (1) 查询A股实时行情, (2) 分析主力资金动向, (3) 查看分时成交量分布, (4) 管理股票持仓, (5) 分析持仓盈亏。

9121

himalaya

openclaw

CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).

7921

garmin-connect

openclaw

Syncs daily health and fitness data from Garmin Connect into markdown files. Provides sleep, activity, heart rate, stress, body battery, HRV, SpO2, and weight data.

7321

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

643969

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

591705

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

318398

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

339397

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

451339

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

304231

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.