mol-paper-renderer

mol-paper-renderer is a skill for Claude Code, Codex from InternScience/ChemClaw. It costs 56 tokens per session (5,997 once invoked), scanned A, original, MIT.

A tool for turning molecular structure and chemistry calculation files into publication-quality images and animations. It can produce SVG, PNG, PDF, and GIF files, including views of transition states, molecular orbitals, crystal structures, and electron properties.

In plain words
What is it for?
Use it to render structures from formats such as XYZ, SMILES, PDB, CIF, and calculation outputs, and to make figures showing bonds, interactions, orbitals, surfaces, measurements, or animations.
Why use it?
It helps researchers create consistent figures from chemistry data without manually assembling complex molecular diagrams.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/mol_2d_viewer.py -s "CCO" -o ethanol_preview.png.

Good fit Use it to render structures from formats such as XYZ, SMILES, PDB, CIF, and calculation outputs, and to make figures showing bonds, interactions, orbitals, surfaces, measurements, or animations.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/InternScience/ChemClaw
agentmods
npx agentmods add skills/internscience/chemclaw/mol-paper-renderer

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mol-paper-renderer

README.md
[![agentmods](https://agentmods.dev/badge/skills/internscience/chemclaw/mol-paper-renderer.svg)](https://agentmods.dev/skills/internscience/chemclaw/mol-paper-renderer)
Your own site
<a href="https://agentmods.dev/skills/internscience/chemclaw/mol-paper-renderer"><img src="https://agentmods.dev/badge/skills/internscience/chemclaw/mol-paper-renderer.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,997 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.05997
Opus 5 $0.00028 $0.02998
Sonnet 5 $0.00011 $0.01199
Haiku 4.5 $0.00006 $0.00600

Measured 7d ago against content hash b728f19416f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

mol-paper-renderer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/mol_paper_renderer.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mol-paper-renderer/SKILL.md · 647 lines

How it starts

The opening of the file, as written. The whole thing — 647 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Publication-Quality Molecular Renderer

使用 xyzrender 生成论文级分子结构图。这不是普通的分子查看器,而是专门为科研出图设计的自动渲染工具。

触发条件

  • 用户明确要求"论文级"、"出版质量"、"publication-quality"的图片
  • 需要过渡态(TS)结构、非共价相互作用(NCI)展示
  • 需要分子轨道(MO)、电子密度、静电势表面
  • 需要晶体结构、晶胞、周期性结构
  • 需要旋转 GIF 动画用于演示
  • 需要凸包(convex hull)标注芳香环或配位 sphere
  • 提供 cube 文件、ORCA/Gaussian/Q-Chem 输出文件
  • 普通分子可视化但要求高质量输出

功能

输入格式

  • XYZ - 标准坐标文件
  • mol/SDF/MOL2 - 化学标准格式
  • PDB - 蛋白质数据银行格式
  • SMILES - 自动 3D 嵌入(需 rdkit)
  • CIF - 晶体结构(需 ase)
  • cube - 分子轨道、电子密度、ESP
  • ORCA/Gaussian/Q-Chem 输出 - 直接渲染计算结果
  • extXYZ - 带晶格信息的周期性结构
  • VASP/Quantum ESPRESSO - 第一性计算结构

输出格式

  • SVG - 矢量图(默认,适合出版物)
  • PNG - 位图(适合网页、PPT)
  • PDF - 矢量图(适合 LaTeX)
  • GIF - 旋转动画、TS 振动、轨迹动画

高级功能

  • 过渡态键 - 自动检测形成/断裂的键(虚线表示)
  • 非共价相互作用 - 氢键、π-堆积等(点线表示)
  • 分子轨道 - HOMO/LUMO 轨道渲染
  • 电子密度表面 - 深度渐变半透明等值面
  • 静电势(ESP) - 映射到密度表面
  • 凸包(Convex Hull) - 标注芳香环、配位 sphere
  • 晶体结构 - 晶胞盒、ghost atoms、晶轴箭头
  • vdW 表面 - 范德华球体叠加
  • GIF 动画 - 旋转、TS 振动、轨迹
  • 原子性质着色 - 电荷、自旋密度等
  • 测量标注 - 键长、键角、二面角
  • 矢量箭头 - 偶极矩、力、电场

使用方法

对话框中使用

生成 caffeine 的论文级分子结构图
用 xyzrender 渲染这个 XYZ 文件,输出 SVG
画出过渡态结构,显示 TS 键
显示非共价相互作用(NCI)
生成 HOMO 轨道图(从 cube 文件)
创建旋转 GIF 动画用于 PPT
画出晶胞结构,显示周期性
标注芳香环的凸包

命令行使用

# 基础渲染(XYZ → SVG)
xyzrender molecule.xyz -o output.svg

# 指定输出格式
xyzrender molecule.xyz -o output.png
xyzrender molecule.xyz -o output.pdf

# 过渡态(自动检测 TS 键)
xyzrender ts.out --ts -o ts_figure.png

# 非共价相互作用
xyzrender hbond.xyz --nci -o nci.svg

# 旋转 GIF 动画
xyzrender molecule.xyz --gif-rot -o rotation.gif

# TS 振动 GIF
xyzrender ts.out --gif-ts -o ts_vibration.gif

# 分子轨道(HOMO/LUMO)
xyzrender caffeine_homo.cube --mo -o homo.svg

# 电子密度表面
xyzrender caffeine_dens.cube --dens -o density.svg

# 静电势映射
xyzrender caffeine_dens.cube --esp caffeine_esp.cube -o esp.svg

# 晶体结构
xyzrender caffeine_cell.xyz -o crystal.svg

# 凸包(标注芳香环)
xyzrender benzene.xyz --hull 1-6 -o benzene_hull.svg

# vdW 表面
xyzrender molecule.xyz --vdw -o vdw.svg

# 显示氢原子
xyzrender ethanol.xyz --hy -o ethanol_all_h.svg

# 凯库勒化(显示双键)
xyzrender benzene.xyz --kekule -o benzene_kekule.svg

# 原子索引标注
xyzrender caffeine.xyz --idx -o caffeine_indexed.svg

# 键长测量标注
xyzrender ethanol.xyz --measure -o ethanol_measured.svg

# 从 SMILES 生成(自动 3D 嵌入)
xyzrender --smi "C1CC(O)CCC1O" --hy -o molecule.svg

# 使用预设样式
xyzrender molecule.xyz --config flat -o flat.svg
xyzrender molecule.xyz --config paton -o paton.svg

Read the full file on GitHub · 647 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 647 lines · 56 tokens per session scan A b728f19416f2

Subscribe to this mod's changes

mol-paper-renderer is a skill published in the GitHub repository InternScience/ChemClaw (52 stars, last pushed 5mo ago), licensed MIT. It adds 56 tokens to every session and 5,997 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

html-ppt-zhangzara-monochrome

A grant proposal on CRISPR base-editing for sickle-cell disease — the hypothesis, the approach, the milestones, and the risk. Built as a decision-grade academic research deck for grant review committee.

nexu-io/open-design · 54 tokens

html-ppt-zhangzara-pin-and-paper

A field-biology capstone on urban pollinator decline — the survey design, the data, the contribution, and the caveats. Built as a decision-grade coursework defense deck for faculty reviewers.

nexu-io/open-design · 51 tokens

paper-illustration

A workflow for generating academic illustrations, such as architecture diagrams and method visuals, with image generation and repeated review. Claude plans and checks the figure during the process.

wanshuiyin/Auto-claude-code-research-in-sleep · 67 tokens

paper-illustration-image2

Generate publication-quality academic illustrations through a local Codex app-server bridge that uses Codex native image generation. This is a separate experimental alternative to paper-illustration, intended for Claude Code users who want a GPT-image-style renderer without modifying the original skill.

wanshuiyin/Auto-claude-code-research-in-sleep · 59 tokens

paper2video

Turn a research paper, a paper2assets package, or an existing PPT deck into a narrated MP4 video by fully delegating slide authoring to the installed ppt-master skill and fully delegating rendering, subtitles, timeline assembly, and strict media QA to the installed pptx2video skill and its public CLI. Resolves one…

microsoft/ResearchStudio · 157 tokens

figure-composer

Compose one publication-grade multi-panel figure. Start from a one-line claim plus immutable data Artifact Version references, or inspect an existing figure and draft its outline directly. Plan a 12-column panel outline, delegate one worker per panel, compose and inspect the result, then run at most three adversarial…

aipoch/open-science · 93 tokens