Skip to content

Dominic789654/scientific-figure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

scientific-figure

A Claude Code skill for generating AI-rendered scientific figures for academic papers.

What it does

  • Generates polished scientific illustrations (method overviews, conceptual diagrams, barrel/iceberg metaphors) via OpenAI-images-compatible endpoints
  • Saves every iteration's prompt, request body, response, and PNG with timestamps for reproducibility
  • Supports iterative prompt refinement with diff-able history

Installation

# Clone to Claude Code skills directory
mkdir -p ~/.claude/skills/scientific-figure
cp skills/scientific-figure/* ~/.claude/skills/scientific-figure/

Configuration

Set the required environment variable:

export IMAGE_API_KEY="your-api-key"

Optional overrides:

Variable Default
IMAGE_API_HOST vip.yi-zhan.top
IMAGE_API_PATH /v1/images/generations
IMAGE_API_MODEL gpt-image-2
IMAGE_API_SIZE 1824x1024

Usage

After installation, Claude will invoke this skill when you ask to generate a scientific figure. The skill will:

  1. Help draft the prompt using the structured template
  2. Call the image generation endpoint
  3. Save all outputs to reports/scientific_illustrations/

License

Apache License 2.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages