← 返回 Skills 市场
TCM Prescription API
作者
Phal studio
· GitHub ↗
· v1.0.5
· MIT-0
110
总下载
0
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install tcm-prescription-api
功能描述
中医药方剂API查询技能。通过HTTP API查询中医药方剂数据库中的方剂资料。支持方剂搜索、方剂详情查看、分类浏览、症状推荐等功能。This skill should be used when the user mentions: 查方剂、搜索方剂、方剂详情、中药方、方剂分类、症状推荐方剂、中医药方查询、方剂数...
安全使用建议
This skill appears to do what it says (query a prescriptions API) but take these precautions before installing or using it: 1) Verify the API endpoint and publisher: the service is addressed by a raw IP (https://119.91.226.122) rather than a domain — confirm you trust that host and the developer (email listed is [email protected]). 2) Be aware of the declared mismatch: SKILL.md and the script expect TCM_API_KEY, but the registry metadata did not list required env vars; treat the API key as a secret and only set it in a safe environment variable for testing. 3) Consider privacy: queries may include sensitive health information that will be sent to the remote host. 4) Test with no API key first (search/detail endpoints are documented as public) and monitor network requests (or use a dedicated sandbox) to confirm expected behavior. 5) If you need higher assurance, ask the publisher for a canonical domain, HTTPS certificate info, and proof of reputation, or avoid installing the skill until its origin and host are validated.
功能分析
Type: OpenClaw Skill
Name: tcm-prescription-api
Version: 1.0.5
The skill provides a legitimate interface for querying a Traditional Chinese Medicine (TCM) prescription database via a REST API (hosted at 119.91.226.122). The implementation in `scripts/query_prescriptions.sh` follows security best practices by using environment variables for API keys and employing Python-based URL encoding and JSON construction to safely handle user inputs, mitigating shell injection risks. The instructions in `SKILL.md` are well-aligned with the stated purpose and do not contain any prompt-injection or exfiltration attempts.
能力标签
能力评估
Purpose & Capability
The name/description match the implementation: the SKILL.md and included script call a prescriptions API and provide search/detail/recommend functions. However, SKILL.md (metadata.clawdbot.requires.envs) and the scripts expect an environment variable TCM_API_KEY for authenticated endpoints, while the registry summary lists no required env vars/primary credential — this inconsistency is notable.
Instruction Scope
Runtime instructions are narrowly scoped to building and running curl requests against the stated API and formatting JSON with python3. The SKILL.md explicitly instructs using an env var for API key (and not to ask users to paste keys), and does not direct reading unrelated local files or secrets. It does instruct the agent to invoke shell commands (curl/python3) which is expected for this skill.
Install Mechanism
No install spec — instruction-only with a small helper script. No third-party downloads or archive extraction. This lowers risk. The included script is readable and uses standard tools (curl, python3).
Credentials
The skill requires an API key (TCM_API_KEY) to access the 'recommend' endpoint and SKILL.md includes instructions to set one, yet the registry metadata reported to you listed no required env vars / primary credential. That mismatch reduces transparency. Also the skill will send any query contents (potentially sensitive health info) to the remote service; this is expected for the purpose but worth noting as a privacy consideration.
Persistence & Privilege
The skill does not request 'always: true', does not modify other skills or system-wide settings, and is user-invocable. It does not persist credentials itself; it relies on the environment variable TCM_API_KEY as described.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tcm-prescription-api - 安装完成后,直接呼叫该 Skill 的名称或使用
/tcm-prescription-api触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
Fix: use https://119.91.226.122 as API base URL (HTTPS with IP) to resolve connectivity test failure
v1.0.4
Use HTTPS domain tcm-prescription.cloud instead of HTTP IP address, resolve plaintext transmission warning
v1.0.3
Security: fix command injection in query_prescriptions.sh by using stdin pipe instead of string interpolation for python3 calls
v1.0.2
Security: use environment variable for API key, remove chat-paste instructions, declare TCM_API_KEY in metadata
v1.0.1
Fix: remove hardcoded API key pattern from documentation to resolve static analysis warning
v1.0.0
Initial release: prescription search, detail, categories, symptom-based recommendation
元数据
常见问题
TCM Prescription API 是什么?
中医药方剂API查询技能。通过HTTP API查询中医药方剂数据库中的方剂资料。支持方剂搜索、方剂详情查看、分类浏览、症状推荐等功能。This skill should be used when the user mentions: 查方剂、搜索方剂、方剂详情、中药方、方剂分类、症状推荐方剂、中医药方查询、方剂数... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 110 次。
如何安装 TCM Prescription API?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tcm-prescription-api」即可一键安装,无需额外配置。
TCM Prescription API 是免费的吗?
是的,TCM Prescription API 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
TCM Prescription API 支持哪些平台?
TCM Prescription API 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 TCM Prescription API?
由 Phal studio(@slamw)开发并维护,当前版本 v1.0.5。
推荐 Skills