← 返回 Skills 市场
351
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install r-stats
功能描述
82 statistical analysis methods in R — regression, survival, Bayesian, meta-analysis, causal inference, SEM, IRT, clinical trial design, and more. JSON spec...
安全使用建议
This skill appears internally consistent for R-based statistical workflows, but it relies on executing included shell/R scripts. Before installing or running on real or sensitive datasets: 1) Inspect scripts/run-rstats.sh and all install-*.R and other scripts for network calls (curl/wget/git/R devtools::install_github), data exfiltration (HTTP POSTs, unusual endpoints), or commands that access files outside the declared output_dir. 2) Verify that R package installs come from CRAN/Bioconductor or trusted GitHub repos (no URL shorteners or personal servers). 3) Run the skill first in an isolated environment (container or sandbox) with non-sensitive example data. 4) If you want to allow autonomous invocation, prefer giving it only non-sensitive access or require manual approval for running scripts. If you’d like, provide the contents of scripts/run-rstats.sh and any install-*.R files and I will review them for unsafe operations.
功能分析
Type: OpenClaw Skill
Name: r-stats
Version: 1.1.0
The skill bundle exhibits risky coding patterns and is missing core logic files, making a full security audit impossible. Specifically, 'tests/run_all_specs.sh' contains a command injection vulnerability where values from JSON files (like 'output_dir') are interpolated directly into an 'Rscript -e' command string without sanitization. This allows for arbitrary R and system code execution if a spec file is crafted maliciously. Furthermore, the primary execution scripts ('scripts/oc_rstats.R', 'scripts/doctor.R', and 'scripts/inspect_schema.R') are referenced by the bash wrappers but are absent from the bundle, which is a significant red flag for untrusted skill packages.
能力评估
Purpose & Capability
Name/description (82 R methods) match the declared requirements: Rscript and bash are reasonable and sufficient for driving R analyses and package installs. The referenced R packages and method table in the repo are consistent with the stated capabilities.
Instruction Scope
SKILL.md gives a bounded workflow: confirm dataset, run a local schema script, build a JSON spec, run analyze, and read output files. Those steps are within scope for a stats skill. However the runtime flow depends on executing scripts (scripts/run-rstats.sh and many install-*.R files). The provided SKILL.md listing shows many example data/spec files but the script contents were not fully visible here. Any shell script executed by the agent can perform arbitrary actions (network I/O, exec other commands, read arbitrary files) so their exact behavior should be inspected before use.
Install Mechanism
No platform install spec (instruction-only) reduces supply-chain risk. The skill likely installs R packages via included install-*.R scripts as needed; this is expected for R-based tooling. Still, package installation is networked (CRAN/bioconductor/GitHub) and the install scripts should be checked for unusual download URLs, URL shorteners, or external servers.
Credentials
The skill declares no required environment variables, no primary credential, and no config path access. That is proportional: statistical analyses typically do not require secrets. There is no evidence the SKILL.md asks for unrelated credentials or reads environment variables beyond the declared binaries.
Persistence & Privilege
always:false and no claims to modify other skills or global agent configuration. The skill will run autonomously by default (normal for skills), but it does not request permanent platform-level privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install r-stats - 安装完成后,直接呼叫该 Skill 的名称或使用
/r-stats触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
No user-facing changes. Version bump only.
v1.0.1
Fix: added runtime dependency declaration (Rscript, bash) to resolve OpenClaw security scan flag
v1.0.0
v1.0.0: Restructured per skill-creator spec. Method table moved to references/. Removed non-skill files. Added 10-language trigger keywords. Cleaner SKILL.md (<150 lines).
v0.7.0
82 reproducible statistical analysis methods in R. Covers regression, survival analysis, Bayesian inference, meta-analysis, causal inference, SEM, IRT, clinical trial design, and more. JSON spec driven with mandatory effect sizes, assumption checks, and standardized output.
元数据
常见问题
R Stats 是什么?
82 statistical analysis methods in R — regression, survival, Bayesian, meta-analysis, causal inference, SEM, IRT, clinical trial design, and more. JSON spec... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 351 次。
如何安装 R Stats?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install r-stats」即可一键安装,无需额外配置。
R Stats 是免费的吗?
是的,R Stats 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
R Stats 支持哪些平台?
R Stats 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 R Stats?
由 CuiweiG(@cuiweig)开发并维护,当前版本 v1.1.0。
推荐 Skills