安装与下载
1 ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install prescription-price-research
2 手动安装
将技能文件夹复制到以下位置之一
~/.openclaw/skills/
{'/skills/'}
优先级:工作区 › 全局 › 内置
3 提示词安装
将此提示词复制到 Openclaw 即可自动安装。
请帮我使用 Clawhub 安装 skill-prescription-price-research。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
更倾向于下载?
获取包含原生技能文件的ZIP压缩包。
基本信息
prescription-price-research
安装指南
- ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install prescription-price-research - 手动安装
将技能文件夹复制到以下位置之一
全局模式
~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置 - 提示词安装
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 prescription-price-research。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
更倾向于下载?
获取包含原生技能文件的ZIP压缩包。
下载技能 (.zip)
什么是
处方药价格查询使用 Crawlora 查找用户要求的确切 GoodRx 产品选项,并比较指定药物、剂型、规格、数量和美国地点的公开药房价格快照。它通过解析 GoodRx 产品标识符,并记录药房、价格条件、来源 URL 和采集时间,帮助确保比较具有参考价值。
此 Openclaw Skills 工具仅用于只读价格查询。它不会选择或推荐药物、剂量、剂型或替代品;不会判断临床适用性;不会保证库存或结账价格;不会解读保险福利;不会兑换优惠券;也不会购买药物。
应用场景
比较用户指定药物及包装的已发布药房价格。
在明确指定的美国地点,检查同一解析出的品牌或仿制产品在不同药房的价格。
区分现金价或标价、优惠券折扣价、会员价和保险共付额。
当产品使用相同单位和剂型时计算单位成本,同时显示包装总价。
提供附有来源、采集时间以及需要确认的资格条件问题的价格快照。
工作原理
确认用户要求的药物、包装详情和美国地点;不得选择或更改任何临床产品详情。
使用按首字母查询药物目录的路由,将药物名称解析为 GoodRx slug,除非该 slug 来自经过验证的 GoodRx 来源。
读取药物选项路由,并确认确切的品牌或仿制药标签、剂型、规格、包装数量和选项标识符。不得随意组合选项。
使用已解析的产品选项和明确地点查询只读价格路由。对于基于坐标的请求,必须同时提供纬度和经度;不得根据大致城市推断坐标。
同时检查 HTTP 状态和应用程序代码。遇到身份验证错误时停止,遇到 HTTP 429 时退避,并对暂时性的上游故障重试一次。
仅比较已解析且可一一对应的产品,并将现金价或标价、优惠券价、会员价和保险价格分别列出。未知价格应报告为未知。
返回可比较的药房价格表、已解析选项记录、来源 URL、时间戳,以及需要确认的资格条件或问题。
配置指南
此技能使用随附的 scripts/crawlora.sh 辅助脚本,并要求在执行环境中配置 CRAWLORA_API_KEY。无需安装软件或提升权限。辅助脚本通过 HTTPS 向 api.crawlora.net 的 x-api-key 标头发送密钥;密钥不会发送给 GoodRx。仅在用户请求价格比较时运行,因为成功请求可能消耗额度。
仅使用 reference/endpoints.md 中记录的三个只读 GoodRx 价格路由。辅助脚本接受 GET 请求,并拒绝允许列表以外的路由。发现和查询命令示例:
scripts/crawlora.sh /goodrx/drugs letter=a
选择用户要求的药物 slug 后,查找确切的产品选项:
scripts/crawlora.sh /goodrx/drug-options slug="$DRUG_SLUG"
使用已解析的选项和明确的美国地点查询价格:
scripts/crawlora.sh /goodrx/drug-prices slug="$DRUG_SLUG" form="$FORM" dosage="$DOSAGE" quantity="$QUANTITY" zip_code="$ZIP"
dosage 参数是 GoodRx 产品选项标识符,并非剂量建议。辅助脚本仅读取 TMPDIR 来选择临时配置位置,写入权限为 600 的 curl 配置,并在命令退出时将其删除。它不会枚举环境变量或文件、安装软件,也不会以提升的权限运行。
数据架构
维护已解析选项记录和可比较的药房价格表。保留来源标识符、URL 和采集时间;不得将缺失价格视为零,也不得据此认定药物无法获得。
记录字段 需记录的内容
产品身份 GoodRx 药物 slug 和已解析的产品选项标识符
药物详情 品牌或仿制药标签、剂型、规格、包装数量和数量单位
地点 明确的州或 ZIP 依据,或用户要求的纬度和经度坐标对
价格报价 金额、药房、价格类型,以及任何优惠券、会员或其他资格条件
来源信息 来源 URL 和采集时间戳
比较 包装总价;仅当单位和剂型相同时计算单位成本
未指定持久化输出文件格式。请在答复中呈现结果,并保留评估报价是否可比所需的来源信息和已解析产品详情。保险共付额应与优惠券价格分开,不得假设优惠券可与保险同时使用。
高级特性
通过辅助脚本的允许列表,将访问范围限制为三个已记录的只读 GoodRx 路由;拒绝其他路由,且仅接受 GET 请求。
在查询价格前解析 GoodRx 产品选项,避免比较名称相似但剂型不同的产品,或随意组合选项。
谨慎处理请求:除 HTTP 状态外还会检查应用程序代码;遇到身份验证错误时停止;对 429 响应进行退避;对暂时性的上游故障重试一次。
保留来源 URL、标识符和采集时间,以便追溯价格快照。
区分价格类型;仅在单位和剂型相同的情况下支持单位成本比较,并同时提供包装总价。
将价格视为快照,而非药房库存、最终结账费用或保险承保情况的保证;临床问题应咨询具备资质的临床医生或药剂师。
name: prescription-price-research description: Compare public GoodRx pharmacy price snapshots using Crawlora drug and option discovery. Use to compare posted prices for a specified medication, form, strength, quantity, and US location; excludes diagnosis, dosing advice, medication changes, and purchases. allowed-tools: Bash(scripts/crawlora.sh:*)
Prescription price research
Access and contract
Use only the three read-only GoodRx price routes listed in reference/endpoints.md. The optional bundled helper is the only shell command this skill asks to run; its allowlist rejects every other route and it accepts GET requests only. When invoked, it reads CRAWLORA_API_KEY and sends it as an x-api-key header over HTTPS to api.crawlora.net; it reads TMPDIR only to choose a temporary config location. The key is not sent to GoodRx. The helper writes a mode-600 curl config under TMPDIR and removes it when the command exits. It does not enumerate environment variables or files, install software, or run with elevated privileges. Run it only for a requested price comparison; successful requests can consume credits. Check application code as well as HTTP status, stop on authentication errors, back off on 429, and retry a transient upstream failure once. Preserve source URLs, identifiers, and collection times.
Compare posted pharmacy prices for the user's specified medication and package. A price comparison does not select a medication, dose, or clinical substitute.
Resolve the exact priced product
Use the drug directory's initial-letter route only to resolve a slug for the medication the user named, or use a slug supplied by a verified GoodRx source. Read goodrx_drug_options before using the exact label (brand/generic), form, strength, and package quantity. Valid option values form combinations; do not build an arbitrary cross-product or equate similarly named formulations.
Keep the medication and product choices fixed to the user's request. The dosage API parameter is a GoodRx product-option identifier; it is not a dosing instruction or recommendation. Do not select a medication, dose, formulation, or substitute for the user.
Query prices with those resolved choices and explicit US location. Coordinate queries require latitude and longitude together; retain state/ZIP evidence rather than inventing coordinates from an approximate city. Missing choices can select source defaults, so inspect and report the resolved product before treating two quoted prices as comparable.
Record quantity, units, brand/generic label, strength, form, location, pharmacy, coupon or other eligibility conditions, source URL, and timestamp.
scripts/crawlora.sh /goodrx/drugs letter=a
# Select the requested drug slug, then discover its exact options:
# scripts/crawlora.sh /goodrx/drug-options slug="$DRUG_SLUG"
# scripts/crawlora.sh /goodrx/drug-prices slug="$DRUG_SLUG" form="$FORM" dosage="$DOSAGE" quantity="$QUANTITY" zip_code="$ZIP"
Compare costs and limitations
Keep cash/list prices, discounted coupon prices, membership prices, and insurance copays separate; do not assume a coupon combines with insurance. Calculate unit cost only for the same unit and formulation, and show the package total alongside it. A snapshot is not guaranteed pharmacy stock, a final checkout price, or an insurer's benefit determination. Missing prices remain unknown; do not substitute zero or assume a drug is unavailable. Return a comparable pharmacy-price table, resolved-option ledger, source/time, and eligibility questions to confirm. Price alone does not establish clinical suitability. Questions about changing medicines, doses, or clinical suitability require a qualified clinician/pharmacist. Do not redeem a coupon, buy medication, or transmit medical or prescription data from this research.
Chess-Results
急救包审查器