返回顶部
c

comparison-table-gen对比表生成

Auto-generates comparison tables for concepts, drugs, or study results

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
163
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

comparison-table-gen

比较表生成器

为医疗内容生成比较表格。

功能特性

  • - 并排比较
  • Markdown表格输出
  • 药物比较模板
  • 研究结果比较

参数

参数类型默认值必填描述
--items, -i字符串-待比较项目(逗号分隔)
--attributes, -a
字符串 | - | 是 | 比较属性(逗号分隔) | | --output, -o | 字符串 | - | 否 | 输出JSON文件路径 |

使用方法

bash

比较两种药物


python scripts/main.py --items 药物A,药物B --attributes 作用机制,剂量,副作用

保存到文件

python scripts/main.py --items 手术,化疗,放疗 --attributes 成本,疗效 --output comparison.json

输入格式

  • - items: 待比较项目的逗号分隔列表(例如:药物A,药物B)
  • attributes: 比较属性的逗号分隔列表(例如:作用机制,剂量)

输出格式

json
{
markdown_table: 字符串,
html_table: 字符串
}

风险评估

风险指标评估等级
代码执行Python/R脚本在本地执行
网络访问
无外部API调用 | 低 | | 文件系统访问 | 读取输入文件,写入输出文件 | 中 | | 指令篡改 | 标准提示词指南 | 低 | | 数据泄露 | 输出文件保存到工作区 | 低 |

安全检查清单

  • - [ ] 无硬编码凭据或API密钥
  • [ ] 无未经授权的文件系统访问(../)
  • [ ] 输出不泄露敏感信息
  • [ ] 已实施提示注入防护
  • [ ] 输入文件路径已验证(无../遍历)
  • [ ] 输出目录限制在工作区
  • [ ] 在沙盒环境中执行脚本
  • [ ] 错误消息已清理(不暴露堆栈跟踪)
  • [ ] 依赖项已审计

前置条件

无需额外Python包。

评估标准

成功指标

  • - [ ] 成功执行主要功能
  • [ ] 输出符合质量标准
  • [ ] 优雅处理边缘情况
  • [ ] 性能可接受

测试用例

  1. 1. 基本功能:标准输入 → 预期输出
  2. 边缘情况:无效输入 → 优雅的错误处理
  3. 性能:大数据集 → 可接受的处理时间

生命周期状态

  • - 当前阶段:草案
  • 下次审核日期:2026-03-06
  • 已知问题:无
  • 计划改进
- 性能优化 - 增加更多功能支持

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 comparison-table-gen-1776218955 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 comparison-table-gen-1776218955 技能

通过命令行安装

skillhub install comparison-table-gen-1776218955

下载

⬇ 下载 comparison-table-gen v0.1.0(免费)

文件大小: 3.63 KB | 发布时间: 2026-4-17 14:28

v0.1.0 最新 2026-4-17 14:28
- Initial release of comparison-table-gen.
- Generates side-by-side comparison tables in Markdown format for medical concepts, drugs, or study results.
- Supports customizable items and attributes via command-line parameters.
- Outputs both Markdown and HTML table formats.
- Optional output file saving in JSON format.
- No additional Python package dependencies required.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部