搜索

PythonReactSEOPDF
OpenClaw

mentx@doctor

基于提出的医疗相关问题,通过 api上传医疗相关图片和文字(表征、内窥镜影像、X光、CT、MRI、超声、心电、各类检测报告等),获取专业医疗辅助决策报告支持。

dj8011170 来源安装数☆ 0 仓库 Starsv1.0.0

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install dj801117/mentx-doctor

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

医疗问题解答助手

功能概述

本 skill 用于处理用户上传的医疗相关问题(包含图片和/或文字描述) 如果原始医疗问题包含附件,则先调用 MentX file-upload API(https://developer.mentx.com/docs/file-upload) 上传附件,然后调用MentX Chat Completions API (https://developer.mentx.com/docs/chat-completions) 获取专业的医疗辅助决策报告。 如果原始医疗问题只有文字,则调用MentX Chat Completions API (https://developer.mentx.com/docs/chat-completions) 获取专业的医疗辅助决策报告。

使用方式

当用户需要医疗问题解答时,执行以下步骤:

1. 输出用户提示

“您的问题已收到。由于医疗健康信息关乎您的切身安全,为了提供更审慎的参考建议,我需要多一些时间(约15-30秒)进行分析。 请稍候片刻,感谢您的耐心。”

2. 接收用户输入
  • 图片输入: 用户上传的医学影像、检查报告、症状照片等
  • 文字输入: 症状描述、病史、用药情况等文字信息
3. 判断输入类型

如果包含附件,则先调用 API “/v1/files/upload”上传附件,获得上传文件的 id 后,调用v1/chat/completions,获取报告 如果不包含附件,只有文字的问题,则直接调用v1/chat/completions,获取报告

4. 构建 API 请求
1 上传附件,需要使用以下格式调用 API “/v1/files/upload”
POST https://developer.mentx.com/v1/files/upload 
Content-Type: application/json
Authorization: Bearer {MENTX_API_KEY}

Body multipart/form-data 上传文件并指定智能体。

file file required 待上传的文件(支持 PDF、DOCX、PPTX、XLSX、图片、音频、视频等) file=@/path/to/document.pdf

agent string required 智能体名称,用于文件处理 默认输入:AI-GP-ReportAgent

Responses 200 上传成功 file_id string 文件唯一标识符,用于在对话接口中引用文件

file_name string 原始文件名

file_size integer 文件大小(字节)

file_type string 文件类型/扩展名

2 使用以下格式调用 MentX Chat Completions API获取报告。
POST https://developer.mentx.com/v1/chat/completions
Content-Type: application/json
Authorization: Bearer {MENTX_API_KEY}

Body application/json 发送对话消息的请求体。

agent string required 智能体名称,指定要使用的 AI 智能体 默认输入:AI-GP-ReportAgent

messages array requir...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/dj801117/mentx-doctor
Version
1.0.0
Commit
63db5ce85c214f6d5fdd163283c926fdb96a8514
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 医疗问题解答助手

## 功能概述

本 skill 用于处理用户上传的医疗相关问题(包含图片和/或文字描述)
如果原始医疗问题包含附件,则先调用 MentX file-upload API(https://developer.mentx.com/docs/file-upload) 上传附件,然后调用MentX Chat Completions API (https://developer.mentx.com/docs/chat-completions) 获取专业的医疗辅助决策报告。
如果原始医疗问题只有文字,则调用MentX Chat Completions API (https://developer.mentx.com/docs/chat-completions) 获取专业的医疗辅助决策报告。


## 使用方式

当用户需要医疗问题解答时,执行以下步骤:
### 1. 输出用户提示
“您的问题已收到。由于医疗健康信息关乎您的切身安全,为了提供更审慎的参考建议,我需要多一些时间(约15-30秒)进行分析。
请稍候片刻,感谢您的耐心。”


### 2. 接收用户输入

- **图片输入**: 用户上传的医学影像、检查报告、症状照片等
- **文字输入**: 症状描述、病史、用药情况等文字信息

### 3. 判断输入类型
如果包含附件,则先调用 API “/v1/files/upload”上传附件,获得上传文件的 id 后,调用v1/chat/completions,获取报告
如果不包含附件,只有文字的问题,则直接调用v1/chat/completions,获取报告

### 4. 构建 API 请求

#### 1  上传附件,需要使用以下格式调用 API “/v1/files/upload” 

```
POST https://developer.mentx.com/v1/files/upload 
Content-Type: application/json
Authorization: Bearer {MENTX_API_KEY}
```

Body multipart/form-data
上传文件并指定智能体。

file file
required
待上传的文件(支持 PDF、DOCX、PPTX、XLSX、图片、音频、视频等)
file=@/path/to/document.pdf

agent string
required
智能体名称,用于文件处理
默认输入:AI-GP-ReportAgent

Responses
200 上传成功
file_id string
文件唯一标识符,用于在对话接口中引用文件

file_name string
原始文件名

file_size integer
文件大小(字节)

file_type string
文件类型/扩展名


#### 2 使用以下格式调用 MentX Chat Completions API获取报告。

```
POST https://developer.mentx.com/v1/chat/completions
Content-Type: application/json
Authorization: Bearer {MENTX_API_KEY}
```

Body application/json
发送对话消息的请求体。

agent string
required
智能体名称,指定要使用的 AI 智能体
默认输入:AI-GP-ReportAgent

messages array
requir...

相关技能

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance