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
累計下載
2979
星標
-
全站排名
#3,745
全站前 74% · 「專業領域」前 68%
平台累計安裝累計下載星標評論
ClawHub ↗321180--
SkillHub ↗1362979-—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

支援柱狀圖、折線圖、散點圖、箱線圖、熱圖、顯微圖像、流式細胞術和 Western blot 等型別。圖注可包含標題、主要描述、資料細節、方法、統計資訊或比例尺;可選擇文字、Markdown、LaTeX 等輸出格式,並指定語言或輸出檔案。此工具只生成圖註文字,不生成圖像或視覺化。敏感研究圖像的網路/API處理方式尚不清楚;在審查前不要上傳未發表或敏感圖像。輸出到檔案時應限定在工作區並避免覆蓋已有檔案。

資料釋出於 2026-10-29

可以用來做什麼

  • 為科研圖表、顯微圖像或實驗結果撰寫圖注

什麼時候用

  • 需要統一圖注的標題、資料說明、統計資訊和符號說明時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

根據這張圖及我提供的實驗資訊起草圖注;未提供的樣本數、統計檢驗和結果不要推測。

月度資料趨勢

累計下載2979
234170831822026-03 · 累計下載 4372026-05 · 累計下載 7722026-06 · 累計下載 8722026-07 · 累計下載 12382026-08 · 累計下載 19032026-09 · 累計下載 297926-0326-09
星標-
0112026-03 · 星標 -2026-05 · 星標 -2026-06 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -26-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-092979—-
2026-081903+53.7%-
2026-071238+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),按月更新。口徑說明見資料方法。