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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mol-paper-renderer

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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.5 $0.00022 $0.02399
Sonnet 5.5 $0.00011 $0.01199
Haiku 4.5 $0.00006 $0.00600

Measured 1mo ago against content hash b728f19416f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 1mo 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. 1mo 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 (53 stars, last pushed 6mo ago), licensed MIT. It adds 56 tokens to every session and 5,997 once invoked, about $0.0002 per session on Opus 5.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

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Performs bounded, local exploratory analysis of explicitly supported scientific files. Supports redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

matlab

Builds, reviews, migrates, and plans MATLAB or GNU Octave numerical workflows. Use for arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 44 tokens

phylogenetics

Builds and analyzes phylogenetic trees using MAFFT multiple sequence alignment, IQ-TREE maximum likelihood with ModelFinder and branch support, and FastTree approximate inference. Uses ETE3 for tree summaries and visualization. Applies to homologous nucleotide or protein sequences, microbial gene trees, protein…

K-Dense-AI/scientific-agent-skills · 71 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

presenting-conference-talks

Generates conference presentation slides (Beamer LaTeX PDF and editable PPTX) from a compiled paper with speaker notes and talk script. Use when preparing oral talks, spotlight presentations, or invited talks for ML and systems conferences.

Orchestra-Research/AI-Research-SKILLs · 53 tokens