Generic Drug

# generic_drug 技能

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Generic Drug" with this command: npx skills add generic-drug

generic_drug 技能

描述

通过搜索查询药品的通用名。当用户提供药品名称时,尝试查询其通用名。

功能

  • 接受药品名称作为参数
  • 使用 SearXNG 本地搜索服务进行查询
  • 搜索该药品的通用名信息
  • 如果查不到通用名,则默认该名称本身就是通用名

使用方法

# 查询药品通用名
~/.openclaw/workspace/skills/generic_drug/tool.sh <药品名称>

# 示例
~/.openclaw/workspace/skills/generic_drug/tool.sh 乳膏基质一号
~/.openclaw/workspace/skills/generic_drug/tool.sh 头孢克洛胶囊

查询逻辑

  1. 使用 SearXNG 搜索:<药品名称> 药品通用名
  2. 返回原始搜索结果,由当前会话(LLM)智能分析:
    • LLM 基于完整上下文判断通用名
    • 能理解"一般指"、"又称"、"俗称"等多种表述
    • 能区分药品和辅料
    • 能处理复杂情况

返回格式

脚本返回 JSON 格式(包含原始搜索结果):

{
  "drug_name": "药品原始名称",
  "search_count": 搜索结果数量,
  "search_context": "格式化后的搜索结果摘要",
  "note": "需要 LLM 分析"
}

LLM 最终输出格式

{
  "drug_name": "药品原始名称",
  "generic_name": "智能识别的通用名",
  "found": true/false,
  "type": "非药品(可选)",
  "note": "LLM 智能识别/未找到/非药品"
}

配置

  • SearXNG URL: http://localhost:8080
  • 搜索格式: <query> 药品通用名
  • 分析方式: 由当前会话 LLM 智能分析搜索结果上下文

注意事项

  • 药品名称应该准确输入
  • 对于非药品(如辅料、基质),可能查不到通用名,将返回原名称
  • SearXNG 服务需要正常运行

示例

# 查询"乳膏基质一号"
$ generic_drug 乳膏基质一号
{
  "drug_name": "乳膏基质一号",
  "generic_name": "乳膏基质一号",
  "found": true,
  "note": "未找到其他通用名,原名称即为通用名"
}

# 查询"头孢克洛胶囊"
$ generic_drug 头孢克洛胶囊
{
  "drug_name": "头孢克洛胶囊",
  "generic_name": "头孢克洛",
  "found": true,
  "note": "查得通用名为:头孢克洛"
}

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated