Agent skill

Data Extractor

by ClawBio in ClawBio/ClawBio

Extract numerical data from scientific figure images using Claude vision + OpenCV calibration.

MITAuto-check passedResearch & Science

Install Data Extractor

skills CLI
$ npx skills add ClawBio/ClawBio --skill data-extractor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ClawBio/ClawBio data-extractor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ClawBio/ClawBio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/data-extractor .claude/skills/data-extractor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
data-extractor
GitHub stars
1.2k
Token cost
~801 tokens
SKILL.md length
279 words
Files
13
Skills in repo
104
Repo updated
First seen
Licence
MIT

At a glance

Extract numerical data from scientific figure images using Claude vision + OpenCV calibration.

  • Works in 4 steps: Panel Detection — Identify sub-panels in… → Pre-Analysis — Identify axes, scale… → CV Calibration + Extraction — OpenCV… → …
  • Tasks that involve Data visualization
  • SKILL.md covers When to Use This Skill, Capabilities, Usage and Input Formats, plus 1 more section
  • Runs Python and JavaScript scripts from its folder; calls python; needs ANTHROPIC_API_KEY

What it does

Data Extractor is an agent skill from ClawBio/ClawBio. Extract numerical data from scientific figure images using Claude vision + OpenCV calibration. Supports 26+ plot types including bar charts, scatter plots, forest plots, Kaplan-Meier curves, box plots, and more.

Its SKILL.md is about 800 tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files (for example `data_extractor.py`, `data_extractor_api.py` and `data_extractor_core/__init__.py`).

It sits in Research & Science, covering Data visualization and Performance reviews. It works with OpenCV. The repository describes itself as: 🦖 ClawBio - The first bioinformatics-native AI agent skill library. Local-first. Reproducible. Open. Free. The licence is MIT.

When your agent uses it

  • Tasks that involve Data visualization
  • Tasks that involve Performance reviews

Example prompts

  • “/data-extractor”

Requirements

  • Python 3
  • Node.js
  • A credential in ANTHROPIC_API_KEY

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Panel Detection — Identify sub-panels in multi-panel figures (Claude vision)
  2. Pre-Analysis — Identify axes, scale (linear/log), legend entries, error bars (Claude tool calling)
  3. CV Calibration + Extraction — OpenCV detects markers/bars at pixel level, Claude extracts numerical data with calibration context
  4. Validation — Heuristic checks for axis range, series count, error bar polarity

What it can do on your machine

Read from SKILL.md and the folder at commit 5e045e3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python and JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • ANTHROPIC_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Data Extractor loads about 801 tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 279 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~801

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ClawBio/ClawBio at commit 5e045e3, republished under its MIT licence (© ClawBio). 279 words, ~801 tokens.

Download SKILL.mdSave it as .claude/skills/data-extractor/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.
name
data-extractor
description
Extract numerical data from scientific figure images using Claude vision + OpenCV calibration. Supports 26+ plot types including bar charts, scatter plots, forest plots, Kaplan-Meier curves, box plots, and more.
license
MIT
metadata.version
0.1.0

📊 Data Extractor

You are the Data Extractor, a ClawBio skill for digitizing scientific figures. Your role is to extract numerical data from plot images for meta-analyses and systematic reviews.

When to Use This Skill

Route to this skill when the user:

  • Provides an image file (PNG, JPG, TIFF) containing a scientific figure
  • Asks to "extract data from a figure", "digitize a plot", "read values from a chart"
  • Mentions "meta-analysis data extraction" or "figure digitization"
  • Wants to convert a bar chart, scatter plot, or other figure to CSV/JSON

Capabilities

Supported Plot Types (26)

scatter, bar, line, box, violin, histogram, heatmap, forest, kaplan_meier, dot_strip, stacked_bar, funnel, roc, volcano, waterfall, bland_altman, paired, bubble, area, dose_response, manhattan, correlation_matrix, error_bar, table, other

Pipeline (4 phases)
  1. Panel Detection — Identify sub-panels in multi-panel figures (Claude vision)
  2. Pre-Analysis — Identify axes, scale (linear/log), legend entries, error bars (Claude tool calling)
  3. CV Calibration + Extraction — OpenCV detects markers/bars at pixel level, Claude extracts numerical data with calibration context
  4. Validation — Heuristic checks for axis range, series count, error bar polarity
Output Formats
  • CSV — One row per data point with series name, x/y values, error bars
  • JSON — Structured ExtractedData objects with full metadata
  • Web UI — Interactive table + SVG preview with editable cells

Usage

CLI
bash
python data_extractor.py --image figure.png --output results/
python data_extractor.py --web --port 8765
python data_extractor.py --demo
API (importable)
python
from data_extractor_api import run
result = run(options={"image_path": "figure.png", "output_dir": "results/"})
Web UI

Launch with --web flag. Upload images, draw boxes around plots, extract and edit data interactively.

Input Formats

  • PNG, JPG, JPEG, TIFF image files
  • Screenshots from papers, posters, slides
  • Multi-panel composite figures (auto-detected and split)

Notes

  • Requires ANTHROPIC_API_KEY environment variable
  • Uses Claude Sonnet for pre-analysis/detection, Claude Opus for extraction
  • OpenCV calibration improves accuracy for scatter/bar plots with clear markers
  • Error bars are reported as ± extent (delta from mean), not absolute positions

© ClawBio, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 12 other files in skills/data-extractor of ClawBio/ClawBio.

  • SKILL.md
  • data_extractor.py
  • data_extractor_api.py
  • data_extractor_core/__init__.py
  • data_extractor_core/cv_calibration.py
  • data_extractor_core/digitizer.py
  • data_extractor_core/models.py
  • requirements.txt
  • tests/test_extractor.py
  • web/app.js
  • web/index.html
  • web/server.py
  • web/styles.css

Open the folder on GitHubat commit 5e045e3

Compare with similar skills

Data Extractor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Data Extractor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Data Extractor this skillClawBio/ClawBio1.2k—~801Automated safety check: PassMIT
Decision Curve Analysisaipoch/medical-research-skills2k—~2.8kAutomated safety check: PassMIT
Nature-Style Scientific FiguresYuan1z0825/nature-skills46k—~2.9kAutomated safety check: PassApache-2.0
Engineering Figure Agentheyu-233/engineering-figure-agent305—~1.1kAutomated safety check: PassMIT
Scientific Figure GeneratorDeepshare-Official/CCF-Figure225—~1.8kAutomated safety check: PassMIT
Scanpy Single-Cell Analysisdavila7/claude-code-templates32k16 repos~2.8kAutomated safety check: PassMIT

Similar skills

  • Decision Curve Analysis

    aipoch/medical-research-skills

    A skill your agent uses when evaluating the clinical utility of a binary prediction model from a single clinical CSV file by fitting a logistic decision-curve model, plotting decision and…

    2k GitHub stars~2.8k tokensUpdated 21 days ago
    Data & AnalyticsAuto-check passed
  • Nature-Style Scientific Figures

    Yuan1z0825/nature-skills

    Creates, revises, audits and exports manuscript-ready scientific figures in Python or R, and routes AI-generated graphical abstracts to a separate workflow.

    46k GitHub stars~2.9k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Engineering Figure Agent

    heyu-233/engineering-figure-agent

    A skill your agent uses when the user needs engineering or research-paper figures: system architecture diagrams, algorithm workflows, hardware schematics, benchmark charts, ablation plots, figure…

    305 GitHub stars~1.1k tokensUpdated 4 mo ago
    Research & ScienceAuto-check passed
  • Scientific Figure Generator

    Deepshare-Official/CCF-Figure

    Generate publication-ready scientific figures for AI/CS research papers.

    225 GitHub stars~1.8k tokensUpdated 3 mo ago
    Research & ScienceAuto-check passed
  • Scanpy Single-Cell Analysis

    davila7/claude-code-templates

    Walks through single-cell RNA-seq analysis with Scanpy: loading .h5ad and 10X data, QC, normalization, PCA and UMAP, Leiden clustering, marker genes and cell type annotation.

    32k GitHub starsUsed in 16 repos~2.8k tokens
    Research & ScienceAuto-check passed
  • deepTools NGS Toolkit

    davila7/claude-code-templates

    Guides use of deepTools on sequencing data: BAM to bigWig conversion, QC, sample correlation, and heatmaps or profiles around TSS and peaks for ChIP-seq, RNA-seq and ATAC-seq.

    32k GitHub starsUsed in 13 repos~4.5k tokens
    Research & ScienceAuto-check passed

More from ClawBio/ClawBio

All 104 skills in this repo
  • Fetch a region of cis-eQTL summary statistics from EBI eQTL Catalogue v7+ via tabix-on-FTP.

    1.2k GitHub starsUsed in 1 repo~4.3k tokens
    Auto-check passed
  • Xena Tcga Gene Query

    ClawBio/ClawBio

    Query TCGA tumor biology through the ucscxenatoolspy API. An agent skill from ClawBio/ClawBio.

    1.2k GitHub stars~4.7k tokensUpdated today
    Auto-check passed
  • Fetch a region of GWAS summary statistics from the NHGRI-EBI GWAS Catalog harmonised collection via tabix-on-FTP.

    1.2k GitHub starsUsed in 1 repo~3.5k tokens
    Auto-check passed
  • Dnasp

    ClawBio/ClawBio

    Population genetics of pre-aligned DNA sequences or multi-sample VCFs using selected DnaSP 6 methods.

    1.2k GitHub stars~5.1k tokensUpdated today
    Auto-check passed
  • Compute pairwise r² between a lead variant and every variant in a window using the 1000 Genomes Phase 3 GRCh38 reference panel, ancestry-stratified.

    1.2k GitHub stars~3.9k tokensUpdated today
    Auto-check passed
  • Ncbi Datasets

    ClawBio/ClawBio

    Download genomes, genes, virus sequences, and taxonomy data from NCBI using the datasets and dataformat CLI tools.

    1.2k GitHub starsUsed in 1 repo~2.8k tokens
    Auto-check passed

Works with

Questions about Data Extractor

What does Data Extractor do?

Extract numerical data from scientific figure images using Claude vision + OpenCV calibration. Data Extractor is an agent skill from ClawBio/ClawBio. Extract numerical data from scientific figure images using Claude vision + OpenCV calibration.

When should I use Data Extractor?

Data Extractor fits situations like: tasks that involve Data visualization; tasks that involve Performance reviews.

How do I install Data Extractor in Claude Code?

Run `npx skills add ClawBio/ClawBio --skill data-extractor -a claude-code`. Or copy the skill folder (skills/data-extractor in ClawBio/ClawBio) into .claude/skills/data-extractor in your project. Claude Code loads it when a task matches its description.

How do I install Data Extractor in Codex?

Run `npx skills add ClawBio/ClawBio --skill data-extractor -a codex`. Or copy the skill folder (skills/data-extractor in ClawBio/ClawBio) into .agents/skills/data-extractor in your project. Codex loads it when a task matches its description.

Can I use Data Extractor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ClawBio/ClawBio --skill data-extractor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/data-extractor, .gemini/skills/data-extractor, .github/skills/data-extractor and .opencode/skills/data-extractor in your project.

What does Data Extractor need to run?

Going by SKILL.md and its folder, Data Extractor needs Python and JavaScript for the scripts in its folder, the command-line tools its instructions call (python) and credentials named ANTHROPIC_API_KEY. Our summary lists: Python 3; Node.js; A credential in ANTHROPIC_API_KEY.

Does Data Extractor access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Data Extractor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Data Extractor use?

Data Extractor is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Data Extractor use?

About 801 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Data Extractor?

Skills that share tags, products or a category with Data Extractor: Decision Curve Analysis (aipoch/medical-research-skills, 2k stars), Nature-Style Scientific Figures (Yuan1z0825/nature-skills, 46k stars), Engineering Figure Agent (heyu-233/engineering-figure-agent, 305 stars) and Scientific Figure Generator (Deepshare-Official/CCF-Figure, 225 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Data Extractor?

ClawBio (a GitHub organization) maintains it in ClawBio/ClawBio, which has 1,154 GitHub stars. The repository holds 104 skills in this directory. The repository was last updated on October 7, 2026.

Source: ClawBio/ClawBio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.