Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
beita6969 avatar

Data Extractor

  • 18 installs
  • 869 repo stars
  • Updated June 8, 2026
  • beita6969/scienceclaw

data-extractor is a Claude skill that extracts numerical data from scientific figure images using Claude vision and OpenCV calibration.

About

This skill digitizes scientific figures, extracting numerical data from plot images using Claude vision and OpenCV calibration. A developer uses it to read values from bar charts, scatter plots, forest plots, and Kaplan-Meier curves for meta-analyses and systematic reviews. It runs a four-phase pipeline and outputs CSV or JSON, with an optional interactive web UI.

  • Extracts numerical data from scientific figure images using Claude vision plus OpenCV
  • Supports 26 plot types including bar, scatter, forest, and Kaplan-Meier
  • Outputs CSV/JSON with a 4-phase pipeline and optional web UI

Data Extractor by the numbers

  • 18 all-time installs (skills.sh)
  • Ranked #1,276 of 2,065 Data Science & ML skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
At a glance

data-extractor capabilities & compatibility

Requires an ANTHROPIC_API_KEY; uses Claude Sonnet for detection and Claude Opus for extraction

Capabilities
data analysis · data stats analysis
Works with
anthropic
Use cases
data analysis · research · pdf parsing
Platforms
macOS · Linux
Pricing
Bring your own API key
From the docs

What data-extractor says it does

Extract numerical data from scientific figure images using Claude vision + OpenCV calibration.
SKILL.md
Uses Claude Sonnet for pre-analysis/detection, Claude Opus for extraction
SKILL.md
npx skills add https://github.com/beita6969/scienceclaw --skill data-extractor

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs18
repo stars869
Last updatedJune 8, 2026
Repositorybeita6969/scienceclaw

What it does

Digitize a scientific figure image into CSV/JSON numerical data for a meta-analysis.

Who is it for?

Digitizing plots from papers into CSV/JSON for meta-analyses and systematic reviews

Skip if: Analyzing already-tabular data or full-text extraction

When should I use this skill?

You have a figure image and need to read chart values or convert a plot to CSV/JSON

What you get

Extracted structured numerical data from a scientific figure into CSV/JSON

  • extracted CSV data
  • structured JSON ExtractedData
  • interactive web UI table

By the numbers

  • 26 supported plot types
  • 4-phase extraction pipeline
  • 3 output formats (CSV, JSON, Web UI)

Files

SKILL.mdMarkdownGitHub ↗

📊 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

python data_extractor.py --image figure.png --output results/
python data_extractor.py --web --port 8765
python data_extractor.py --demo

API (importable)

from 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

Related skills

FAQ

How many plot types are supported?

26 types including scatter, bar, line, box, violin, histogram, heatmap, forest, and kaplan_meier.

How are error bars reported?

As plus/minus extent (delta from the mean), not absolute positions.

Data Science & MLpipelinesetlanalytics

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.