AIpoch

Figure Legend Gen

专业领域v1.0.2
作者:AIpoch✓ SkillHub 认证更新于 2026-05-11共 3 个版本 · 最新版本发布于 2026-03-17figure-legend-gen@user_ae71b645/figure-legend-gen
医疗健康科研学术

据 AlphaMoat 统计,截至 2026-09,Figure Legend Gen 累计下载 2,979 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 3,745 位,在「专业领域」分类(465 个)中排名第 314 位。

累计安装
136
累计下载
2,979
星标
-
全站排名
#3,745
全站前 74% · 「专业领域」前 68%
平台累计安装累计下载星标评论
ClawHub ↗321,180--
SkillHub ↗1362,979-—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

支持柱状图、折线图、散点图、箱线图、热图、显微图像、流式细胞术和 Western blot 等类型。图注可包含标题、主要描述、数据细节、方法、统计信息或比例尺;可选择文本、Markdown、LaTeX 等输出格式,并指定语言或输出文件。此工具只生成图注文字,不生成图像或可视化。敏感研究图像的网络/API处理方式尚不清楚;在审查前不要上传未发表或敏感图像。输出到文件时应限定在工作区并避免覆盖已有文件。

资料发布于 2026-10-29

可以用来做什么

  • 为科研图表、显微图像或实验结果撰写图注

什么时候用

  • 需要统一图注的标题、数据说明、统计信息和符号说明时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

根据这张图及我提供的实验信息起草图注;未提供的样本数、统计检验和结果不要推测。

月度数据趋势

累计下载2,979
2341,7083,1822026-03 · 累计下载 4372026-05 · 累计下载 7722026-06 · 累计下载 8722026-07 · 累计下载 1,2382026-08 · 累计下载 1,9032026-09 · 累计下载 2,97926-0326-09
星标-
0112026-03 · 星标 -2026-05 · 星标 -2026-06 · 星标 -2026-07 · 星标 -2026-08 · 星标 -2026-09 · 星标 -26-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-092,979—-
2026-081,903+53.7%-
2026-071,238+42.0%-
2026-06872+13.0%-
2026-05772—-
2026-03437—-

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

4.2 KB · ClawHub v1.0.2
---
name: figure-legend-gen
description: Generate standardized figure legends for scientific charts and graphs.
  Trigger when user uploads/requesting legend for research figures, academic papers,
  or data charts. Supports bar charts, line graphs, scatter plots, box plots,
  heatmaps, and microscopy images. This tool generates text legends only, not visualizations.
version: 1.0.0
category: Research
tags: []
author: AIPOCH
展开全部(共 142 行)
license: MIT
status: Draft
risk_level: High
skill_type: Hybrid (Tool/Script + Network/API)
owner: AIPOCH
reviewer: ''
last_updated: '2026-02-06'
---

# Figure Legend Generator

Generate publication-quality figure legends for scientific research charts and images.

## Supported Chart Types

| Chart Type | Description |
|------------|-------------|
| Bar Chart | Compare values across categories |
| Line Graph | Show trends over time or continuous data |
| Scatter Plot | Display relationships between variables |
| Box Plot | Show distribution and outliers |
| Heatmap | Display matrix data intensity |
| Microscopy | Fluorescence/confocal images |
| Flow Cytometry | FACS plots and histograms |
| Western Blot | Protein expression bands |

## Usage

```bash
python scripts/main.py --input <image_path> --type <chart_type> [--output <output_path>]
```

### Parameters

| Parameter | Required | Description |
|-----------|----------|-------------|
| `--input` | Yes | Path to chart image |
| `--type` | Yes | Chart type (bar/line/scatter/box/heatmap/microscopy/flow/western) |
| `--output` | No | Output path for legend text (default: stdout) |
| `--format` | No | Output format (text/markdown/latex), default: markdown |
| `--language` | No | Language (en/zh), default: en |

### Examples

```bash
# Generate legend for bar chart
python scripts/main.py --input figure1.png --type bar

# Save to file
python scripts/main.py --input plot.jpg --type line --output legend.md

# Chinese output
python scripts/main.py --image.png --type scatter --language zh
```

## Legend Structure

Generated legends follow academic standards:

1. **Figure Number** - Sequential numbering
2. **Brief Title** - Concise description
3. **Main Description** - What the figure shows
4. **Data Details** - Key statistics/measurements
5. **Methodology** - Brief experimental context
6. **Statistics** - P-values, significance markers
7. **Scale Bars** - For microscopy images

## Technical Notes

- **Difficulty**: Low
- **Dependencies**: PIL, pytesseract (optional OCR)
- **Processing**: Vision analysis for chart type detection
- **Output**: Structured markdown by default

## References

- `references/legend_templates.md` - Templates by chart type
- `references/academic_style_guide.md` - Formatting guidelines

## Risk Assessment

| Risk Indicator | Assessment | Level |
|----------------|------------|-------|
| Code Execution | Python scripts with tools | High |
| Network Access | External API calls | High |
| File System Access | Read/write data | Medium |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Data handled securely | Medium |

## Security Checklist

- [ ] No hardcoded credentials or API keys
- [ ] No unauthorized file system access (../)
- [ ] Output does not expose sensitive information
- [ ] Prompt injection protections in place
- [ ] API requests use HTTPS only
- [ ] Input validated against allowed patterns
- [ ] API timeout and retry mechanisms implemented
- [ ] Output directory restricted to workspace
- [ ] Script execution in sandboxed environment
- [ ] Error messages sanitized (no internal paths exposed)
- [ ] Dependencies audited
- [ ] No exposure of internal service architecture
## Prerequisites

```bash
# Python dependencies
pip install -r requirements.txt
```

## 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

「专业领域」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。