← 返回 Skills 市场
511
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install survival-analysis-km
功能描述
Generates Kaplan-Meier survival curves, calculates survival statistics (log-rank test, median survival time), and estimates hazard ratios for clinical and bi...
安全使用建议
This package is coherent with its stated purpose and uses appropriate libraries. Before installing/using: (1) run the script in an isolated sandbox (non-production) with non-sensitive test data; (2) review the full scripts/main.py (the provided copy was truncated in the bundle you gave me) to confirm there are no network calls, hidden subprocess invocations, or filesystem accesses beyond the declared input/output; (3) pin dependency versions in requirements.txt to reduce supply-chain risk; (4) ensure the output directory and input paths are validated/sandboxed to avoid accidental path traversal or overwriting important files; and (5) if you will analyze real clinical data, get a biostatistician to review results and ensure you meet privacy/regulatory requirements.
功能分析
Type: OpenClaw Skill
Name: survival-analysis-km
Version: 1.0.0
The skill bundle is classified as suspicious due to path traversal vulnerabilities in `scripts/main.py`. The `--input` and `--output` arguments are used directly with `pd.read_csv`, `os.path.exists`, `os.makedirs`, `plt.savefig`, `df.to_csv`, and `open()` without proper sanitization, allowing an attacker to potentially read or write files to arbitrary locations on the file system (e.g., using `../` sequences). While this represents a significant security flaw, there is no clear evidence of intentional malicious behavior such as data exfiltration, backdoor installation, or unauthorized remote control. The `SKILL.md` documentation itself does not contain prompt injection attempts and accurately claims no external network access, which is verified by the code.
能力评估
Purpose & Capability
Name/description, SKILL.md, requirements.txt, sample data, and scripts/main.py all align with a survival-analysis tool. Declared dependencies (lifelines, pandas, numpy, matplotlib, seaborn) are appropriate and expected.
Instruction Scope
The SKILL.md instructs running the included Python script with a CSV input and writing outputs to a results directory — this matches the code. Minor inconsistencies in SKILL.md (parameter table flags: e.g., `--group` and `--risk-table` marked as required in the table while elsewhere optional) are documentation issues but do not indicate malicious intent. The doc requests input-path validation and restricting output to workspace, but the visible code performs only basic path existence and CSV validation; there is no explicit sanitization of output path nor explicit enforcement against `../` traversal in the shown code.
Install Mechanism
No install spec; skill is instruction-only and ships a requirements.txt for pip. This is standard for Python scripts and is low risk compared to downloading arbitrary binaries from unknown hosts.
Credentials
The skill requests no environment variables or credentials. Dependencies are reasonable for the stated purpose. There are no signs of unrelated credential access in the provided code.
Persistence & Privilege
always:false and no install hooks were provided. The skill does not request persistent/privileged presence or modification of other skill configs based on the supplied files.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install survival-analysis-km - 安装完成后,直接呼叫该 Skill 的名称或使用
/survival-analysis-km触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the survival-analysis-km skill for biomedical survival data analysis.
- Generates Kaplan-Meier survival curves and publication-ready plots
- Performs log-rank, Wilcoxon, and Peto-Peto statistical tests
- Calculates hazard ratios and median survival times
- Supports multi-group analysis and optional at-risk tables
- Outputs include plots, statistical summaries, hazard ratios, and human-readable reports
- Designed for clinical and biological time-to-event data analysis in Python
元数据
常见问题
Survival Analysis (KM) 是什么?
Generates Kaplan-Meier survival curves, calculates survival statistics (log-rank test, median survival time), and estimates hazard ratios for clinical and bi... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 511 次。
如何安装 Survival Analysis (KM)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install survival-analysis-km」即可一键安装,无需额外配置。
Survival Analysis (KM) 是免费的吗?
是的,Survival Analysis (KM) 完全免费(开源免费),可自由下载、安装和使用。
Survival Analysis (KM) 支持哪些平台?
Survival Analysis (KM) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Survival Analysis (KM)?
由 AIpoch(@aipoch-ai)开发并维护,当前版本 v1.0.0。
推荐 Skills