← Back to Skills Marketplace
unisound-llm

unisound-med-synonym

by Unisound-LLM · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
42
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install unisound-med-synonym
Description
医学术语同义匹配。由调用方提供题目文本或含 `question` 字段的结构化输入,经内部医疗大模型按题干约束生成作答;仅含 `scripts/run.py`,可独立拷贝部署。
README (SKILL.md)

医学术语同义匹配

概述

在多种表述中识别等价或最接近的规范术语,并简要说明匹配依据。

本能力与具体业务请求解耦:平台或调用方如何组织用户输入由集成方决定;此处只约定如何把题目交给脚本(见下)。

题目输入(三选一)

  1. --question:直接传入完整题干字符串。
  2. --input PATH
    • .jsonl:每行一个 JSON 对象,须含非空字符串字段 question;可用 --index / --batch / --match-id 选取记录;
    • .json:单个对象,须含 question
    • 其他扩展名:按 UTF-8 纯文本整文件作为题干。
    • - 时从 stdin 读取一条 JSON(含 question)或纯文本。
  3. stdin(且未传 --question / --input、且 stdin 非 TTY):读入 JSON 对象或纯文本,规则同 -

模型

  • 默认 u1-insuremed,接口 https://maas-api.hivoice.cn/v1/chat/completions(可通过参数覆盖)。

用法示例

# 命令行直接给题
python3 scripts/run.py --question "题干……" --appkey YOUR_KEY

# 从任意路径的 jsonl 取一条(与文件名无关)
python3 scripts/run.py --input /path/to/items.jsonl --index 0 --appkey YOUR_KEY

参数

  • --question / --input:见上,与 stdin 三选一(--question--input 不可同时使用)。
  • --appkey STRING必填--dry-run 时除外)。内部医疗大模型鉴权 key。
  • --index--match-id--batch:仅对 .jsonl 生效。
  • --dry-run:不调用模型,仅输出解析后的题目 JSON。
  • --model--api-url--temperature--timeout--system-prompt:调模型参数。
  • --output PATH:另存完整 JSON(批量为 NDJSON)。
  • --text-only:标准输出仅打印模型答案文本。

输出

默认可解析 JSON:含 statusquestionanswerrecord_indexmetamodelinput_modeinput_path(来自文件时非空)等;skill 为本任务标题。

合规说明

输出为模型辅助信息,不构成正式诊疗决策;涉及真实患者数据须先脱敏并遵守院内流程。

Usage Guidance
This skill is reasonable for its stated purpose, but install/use it only if you trust the publisher and the maas-api.hivoice.cn endpoint. Provide a dedicated appkey, avoid changing --api-url unless you know the destination is trusted, and de-identify any real patient information before sending questions to the model.
Capability Analysis
Type: OpenClaw Skill Name: unisound-med-synonym Version: 1.0.0 The skill is a legitimate tool for medical terminology synonym matching using a Unisound medical LLM API (maas-api.hivoice.cn). The Python script (scripts/run.py) implements standard CLI functionality for processing local files or stdin and making authenticated HTTP requests to the specified endpoint. No indicators of malicious intent, data exfiltration, or prompt injection were found.
Capability Assessment
Purpose & Capability
The stated purpose and code are coherent: the script reads a user-supplied question or selected input file record, calls a disclosed chat-completions API, and returns an answer. Because the content may be medical, users should treat inputs and outputs as sensitive.
Instruction Scope
Inputs are caller-selected via --question, --input, or stdin, and batch use is explicit. The script also allows overriding --api-url and --system-prompt, so callers should ensure these are set intentionally.
Install Mechanism
There is no install script or dependency installation. However, the registry metadata and bundled _meta.json have different owner/slug values, and the source is listed as unknown, so provenance should be verified before sensitive use.
Credentials
The skill requires an appkey at runtime and sends requests to an external/default provider endpoint. This is proportionate for an LLM integration, but the registry metadata does not declare a primary credential.
Persistence & Privilege
No background service, persistence mechanism, credential storage, or privileged local modification is shown. The only file write is the user-directed --output result file.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install unisound-med-synonym
  3. After installation, invoke the skill by name or use /unisound-med-synonym
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of "med-eval-med-synonym" for medical terminology synonym matching. - Supports flexible question input via command line, JSON/JSONL files, or stdin. - Powered by the default "u1-insuremed" large medical model (API endpoint configurable). - Provides clear parameter options for input, batching, model settings, and result output. - Outputs structured JSON with matching results and relevant metadata. - Designed for easy integration and independent deployment; script can be copied as a single file.
Metadata
Slug unisound-med-synonym
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is unisound-med-synonym?

医学术语同义匹配。由调用方提供题目文本或含 `question` 字段的结构化输入,经内部医疗大模型按题干约束生成作答;仅含 `scripts/run.py`,可独立拷贝部署。 It is an AI Agent Skill for Claude Code / OpenClaw, with 42 downloads so far.

How do I install unisound-med-synonym?

Run "/install unisound-med-synonym" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is unisound-med-synonym free?

Yes, unisound-med-synonym is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does unisound-med-synonym support?

unisound-med-synonym is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created unisound-med-synonym?

It is built and maintained by Unisound-LLM (@unisound-llm); the current version is v1.0.0.

💬 Comments