explaingit

mrlee2r/intelligrapher

16PythonAudience · researcherComplexity · 2/5Setup · easy

TLDR

A Claude Code skill plugin that generates publication-quality academic charts as ready-to-run Python code, encoding domain conventions, journal color palettes, and matplotlib templates so researchers skip manual formatting work.

Mindmap

mindmap
  root((intelligrapher))
    What it does
      Chart code generation
      Domain conventions
      Journal color palettes
    Supported charts
      Line plots with error bands
      Grouped bar charts
      Heatmaps
      Scatter plots
      Box plots
    Output formats
      PNG
      SVG
      PDF
      TIFF
    Domains
      Medicine
      Civil engineering
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Generate a survival curve with patient count labels for a medical paper without writing matplotlib code from scratch.

USE CASE 2

Create a grouped bar chart using The Lancet color palette, correctly formatted for a clinical journal figure.

USE CASE 3

Add a new research domain by running the updater command and filling in skeleton convention and color files.

USE CASE 4

Produce a scatter plot with regression line from a CSV file and export it as a publication-ready SVG or PDF.

Tech stack

PythonmatplotlibClaude Code

Getting it running

Difficulty · easy Time to first run · 5min

Requires Claude Code, install by cloning the repository into your project's .claude directory. No external API keys needed beyond Claude Code itself.

No license is mentioned in the project description.

In plain English

Intelligrapher is a skill plugin for Claude Code that generates publication-quality research charts as runnable Python code. The problem it addresses is the time researchers spend writing and tuning matplotlib code (the standard Python charting library) every time they need a figure for a paper, especially getting colors, axis labels, fonts, and formatting to match what academic journals expect. The README is written in Chinese and describes the tool as solving this frustration by encoding domain knowledge, aesthetic rules, and code templates into the agent's instructions. The skill has three internal libraries. The knowledge base contains field-specific conventions for each supported research domain, covering which chart types are standard, how axes should be labeled, and what notation conventions apply (for example, survival curves in medicine must include patient count labels). The aesthetic library stores color palettes extracted from real papers published in top journals, such as deep blue and brick red from Engineering Structures, or the color sets used by The Lancet and NEJM. The template library contains five Python files with placeholder variables for chart type, colors, labels, and output format. When you describe a chart in plain language, Claude reads the relevant knowledge and aesthetic files, selects the appropriate template, fills in the placeholders, and returns a complete Python script ready to run. You can point it at an existing data file or ask it to generate example data. Supported chart types include line plots with error bands, grouped bar charts with error bars, heatmaps, scatter plots with regression lines, and box plots. Output formats include PNG at specified resolution, SVG, PDF, and TIFF. Two slash commands are included. The main intelligrapher command handles chart generation. A companion intelligrapher-updater command lets you switch the active domain or add a new one by initializing skeleton files that you fill with conventions and colors relevant to your field. Civil engineering and medicine are included by default. The skill is installed by cloning the repository into the .claude directory of your project. No external services or API keys are required beyond Claude Code itself.

Copy-paste prompts

Prompt 1
Use Intelligrapher to generate a line plot with error bands from my results.csv file using the medicine domain palette, output as 300 DPI PNG.
Prompt 2
Create a grouped bar chart with error bars comparing three treatment groups using Lancet journal colors and proper axis labels for a clinical paper.
Prompt 3
I want to add a chemistry domain to Intelligrapher. Run the intelligrapher-updater command and show me which skeleton files I need to fill in.
Prompt 4
Generate a heatmap from my correlation matrix data formatted for publication, using civil engineering color conventions and PDF output.
Prompt 5
Make a box plot comparing five experimental conditions using NEJM colors and font sizes suitable for a Nature journal figure.
Open on GitHub → Explain another repo

← mrlee2r on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.