← Back to Skills Marketplace
207
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install comparison-table-gen
Description
Auto-generates comparison tables for concepts, drugs, or study results in Markdown format.
README (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
- Basic Functionality: Standard input → Expected output
- Edge Case: Invalid input → Graceful error handling
- 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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install comparison-table-gen - After installation, invoke the skill by name or use
/comparison-table-gen - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Comparison Table Gen?
Auto-generates comparison tables for concepts, drugs, or study results in Markdown format. It is an AI Agent Skill for Claude Code / OpenClaw, with 207 downloads so far.
How do I install Comparison Table Gen?
Run "/install comparison-table-gen" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Comparison Table Gen free?
Yes, Comparison Table Gen is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Comparison Table Gen support?
Comparison Table Gen is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Comparison Table Gen?
It is built and maintained by AIpoch (@aipoch-ai); the current version is v0.1.0.
More Skills