← 返回 Skills 市场
aipoch-ai

Comparison Table Gen

作者 AIpoch · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
207
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install comparison-table-gen
功能描述
Auto-generates comparison tables for concepts, drugs, or study results in Markdown format.
使用说明 (SKILL.md)

Comparison Table Gen

Generates comparison tables for medical content.

Features

  • Side-by-side comparisons
  • Markdown table output
  • Drug comparison templates
  • Study result comparisons

Parameters

Parameter Type Default Required Description
--items, -i string - Yes Items to compare (comma-separated)
--attributes, -a string - Yes Comparison attributes (comma-separated)
--output, -o string - No Output JSON file path

Usage

# Compare two drugs
python scripts/main.py --items "Drug A,Drug B" --attributes "Mechanism,Dose,Side Effects"

# Save to file
python scripts/main.py --items "Surgery,Chemo,Radiation" --attributes "Cost,Efficacy" --output comparison.json

Input Format

  • items: Comma-separated list of items to compare (e.g., "Drug A,Drug B")
  • attributes: Comma-separated list of comparison attributes (e.g., "Mechanism,Dose")

Output Format

{
  "markdown_table": "string",
  "html_table": "string"
}

Risk Assessment

Risk Indicator Assessment Level
Code Execution Python/R scripts executed locally Medium
Network Access No external API calls Low
File System Access Read input files, write output files Medium
Instruction Tampering Standard prompt guidelines Low
Data Exposure Output files saved to workspace Low

Security Checklist

  • No hardcoded credentials or API keys
  • No unauthorized file system access (../)
  • Output does not expose sensitive information
  • Prompt injection protections in place
  • Input file paths validated (no ../ traversal)
  • Output directory restricted to workspace
  • Script execution in sandboxed environment
  • Error messages sanitized (no stack traces exposed)
  • Dependencies audited

Prerequisites

No additional Python packages required.

Evaluation Criteria

Success Metrics

  • Successfully executes main functionality
  • Output meets quality standards
  • Handles edge cases gracefully
  • Performance is acceptable

Test Cases

  1. Basic Functionality: Standard input → Expected output
  2. Edge Case: Invalid input → Graceful error handling
  3. Performance: Large dataset → Acceptable processing time

Lifecycle Status

  • Current Stage: Draft
  • Next Review Date: 2026-03-06
  • Known Issues: None
  • Planned Improvements:
    • Performance optimization
    • Additional feature support
安全使用建议
This skill appears to do what it claims: a small local Python script that builds Markdown tables from CLI arguments. Before installing/running: review the script if you plan to run it in a sensitive environment, and prefer supplying explicit safe output paths (avoid running as root or writing to system directories). Note the script does not sanitize the --output path, so avoid untrusted inputs that could cause directory traversal. If you will use it for medical content, also validate the generated content for clinical accuracy and consider running in a sandboxed environment.
功能分析
Type: OpenClaw Skill Name: comparison-table-gen Version: 0.1.0 The skill bundle provides a tool for generating Markdown comparison tables, but it includes risky file system write capabilities in `scripts/main.py` via the `--output` parameter. The script lacks path validation, which could allow for arbitrary file writes or path traversal. Additionally, there is a discrepancy between the documentation and the implementation: `SKILL.md` claims that input file paths are validated and restricted to the workspace, but no such security logic exists in the provided Python code.
能力评估
Purpose & Capability
Name/description (comparison tables for concepts/drugs/studies) align with the included script and SKILL.md. The only code (scripts/main.py) implements exactly that functionality and does not request unrelated resources or credentials.
Instruction Scope
Runtime instructions are limited to parsing CLI arguments and producing a JSON/Markdown table. The script reads CLI input and may write an output file path supplied by the user; it does not access network, environment secrets, or other system configuration. Minor caution: the script does not validate or sanitize the --output path (no explicit check against '../' traversal or enforcing a workspace-only directory).
Install Mechanism
No install spec is present (instruction-only with an included script). This is low-risk since nothing is downloaded or installed by the skill itself.
Credentials
The skill requires no environment variables, credentials, or config paths. That is proportionate to its simple local text-processing purpose.
Persistence & Privilege
always is false and the skill does not request any elevated or persistent platform privileges. It only runs when invoked and writes files only when the user supplies an output path.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install comparison-table-gen
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /comparison-table-gen 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- 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.
元数据
Slug comparison-table-gen
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Comparison Table Gen 是什么?

Auto-generates comparison tables for concepts, drugs, or study results in Markdown format. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 207 次。

如何安装 Comparison Table Gen?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install comparison-table-gen」即可一键安装,无需额外配置。

Comparison Table Gen 是免费的吗?

是的,Comparison Table Gen 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Comparison Table Gen 支持哪些平台?

Comparison Table Gen 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Comparison Table Gen?

由 AIpoch(@aipoch-ai)开发并维护,当前版本 v0.1.0。

💬 留言讨论