Molecular Properties Predictor logo

Molecular Properties Predictor

Organization
InternScience
molecular_properties_predictor

预测小分子多种物化性质(沸点、折射率、密度、黏度、表面张力等),当前已真实接入 bamboo_mixer 单分子物性模型后端。

Overview

PublisherInternScience
RepositoryChemClaw
Skill namemolecular_properties_predictor
Stars
53
Forks
13
Bundled files
70
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 70 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by InternScience on GitHub. Read the source before you install it.

Installation

Install the Molecular Properties Predictor AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/InternScience/ChemClaw/tree/main/skills/molecular-properties-predictor
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/InternScience/ChemClaw.git /tmp/ChemClaw
mkdir -p .claude/skills
cp -r /tmp/ChemClaw/skills/molecular-properties-predictor .claude/skills/molecular_properties_predictor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Molecular Properties Predictor in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Molecular Properties Predictor on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Molecular Properties Predictor is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Molecular Properties Predictor

功能概述

该 skill 用于预测小分子多种物化性质。

当前版本通过 Bamboo-Mixer 单分子模型返回以下 11 个性质:

  • Tm:熔点(K)
  • bp:沸点(K)
  • nD:折射率(无单位)
  • nD_liquid:液体折射率(无单位)
  • dc:介电常数(无单位)
  • ST:表面张力(mN/m)
  • density:密度(g/cm^3)
  • vis:黏度(cP)
  • vapP:蒸气压(Pa)

适用场景

当用户有如下需求时适合调用:

  • 查询一个分子的多种物化性质
  • 一次性获取熔点、沸点、密度、黏度等多个性质
  • 为下游分子筛选提供多指标输入
  • 作为拆分单项物性 skill 之前的总入口

输入形式

单分子输入

  • smiles:必填
  • name:可选
  • temperature:可选,默认 25.0

批量输入

支持 JSON 列表输入,每项至少包含:

  • smiles
  • name(可选)

输出字段

每个结果条目通常包含:

  • name
  • smiles
  • canonical_smiles
  • status
  • temperature_celsius
  • backend_used
  • model_source
  • properties
  • property_units
  • raw_backend_output

⚠️ pKa 预测特别说明

本 skill 虽然输出 pka_a 和 pka_b 字段,但不推荐用于 pKa 预测。

推荐方案: 请使用专门的 pka-predictor skill 进行 pKa 预测。

原因:

对比项molecular-properties-predictorpka-predictor
pKa 准确度中等(误差 ~0.4 单位)高(误差 ~0.17 单位)
后端Bamboo-Mixer 多任务模型Uni-pKa 专用模型
微观态处理无支持微观态枚举 + 自由能计算
输出详细度仅返回数值电荷态、去质子化方向、置信度等

示例:

bash
# ❌ 不推荐:用本 skill 预测 pKa
python scripts/main_script.py --smiles "CC(=O)O" --name "乙酸"

# ✅ 推荐:用 pka-predictor 预测 pKa
cd ../pka-predictor && ./run_with_venv.sh --smiles "CC(=O)O" --name "乙酸" --backend unipka

⚠️ 表面张力预测特别说明

本 skill 可预测表面张力 (ST),但对于单一表面张力预测需求,推荐使用专门的 surface-tension-predictor skill。

推荐策略:

需求场景推荐 Skill/后端
仅预测表面张力surface-tension-predictor
表面张力 + 多种物性molecular-properties-predictor (Bamboo-Mixer)
小分子 (<10 重原子)surface-tension-predictor (baseline)
大分子 (≥10 重原子)surface-tension-predictor (public_joblib)

原因:

对比项molecular-properties-predictorsurface-tension-predictor
表面张力准确度好(误差 ~5%)好(误差 ~5% baseline)
后端Bamboo-Mixer 多任务模型baseline / public_joblib
特征数隐式描述符8 个 (baseline) / 130 个 (public_joblib)
灵活性固定 11 个性质可切换后端,针对表面张力优化
适用场景多种物性一次性预测单一表面张力预测

测试对比(苯甲酸):

Skill/后端预测值文献值偏差
surface-tension-predictor (baseline)41.63 mN/m~44 mN/m-5.4% ✅
molecular-properties-predictor (Bamboo)41.38 mN/m~44 mN/m-5.9% ✅
surface-tension-predictor (public_joblib)33.19 mN/m~44 mN/m-24.6% ⚠️

示例:

bash
# ✅ 推荐:仅预测表面张力,用 surface-tension-predictor
cd ../surface-tension-predictor
python scripts/main_script.py --smiles "O=C(O)c1ccccc1" --name "苯甲酸" --backend baseline

# ✅ 推荐:同时预测多种物性,用本 skill
cd ../molecular-properties-predictor
python scripts/main_script.py --smiles "O=C(O)c1ccccc1" --properties bp,ST,density

后端说明

bamboo_mixer

定位

这是当前 skill 的真实模型后端,用于对接 Bamboo-Mixer 单分子物性模型。

当前已完成的真实接入链路

当前版本已完成以下流程:

  1. 准备单分子输入 JSON
  2. 调用 Bamboo-Mixer 的:
    • scripts/prepare_data/prepare_data.py --data_type mono
  3. 调用 Bamboo-Mixer 的:
    • scripts/test_results/mono.py
  4. 使用 mono checkpoint:
    • hf_bamboo_mixer/ckpts/mono/optimal.pt
  5. 解析输出 output_mono.json
  6. 返回 11 个物性结果

当前使用的环境变量

  • BAMBOO_MIXER_ADAPTER_PY
  • BAMBOO_MIXER_REPO
  • BAMBOO_MIXER_PYTHON
  • BAMBOO_MIXER_MONO_CKPT

推荐写法:

bash
export BAMBOO_MIXER_ADAPTER_PY=scripts/adapters/bamboo_mixer_properties_adapter.py
export BAMBOO_MIXER_REPO=assets/bamboo_mixer
export BAMBOO_MIXER_PYTHON=assets/bamboo_mixer/.venv/bin/python
export BAMBOO_MIXER_MONO_CKPT=assets/bamboo_mixer/hf_bamboo_mixer/ckpts/mono/optimal.pt

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

and 10 more files.

Frequently asked questions

What does the Molecular Properties Predictor AI skill do?

预测小分子多种物化性质(沸点、折射率、密度、黏度、表面张力等),当前已真实接入 bamboo_mixer 单分子物性模型后端。

Why use Molecular Properties Predictor on TypingMind?

Because you install it once and use it with any model. Molecular Properties Predictor is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Molecular Properties Predictor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/InternScience/ChemClaw/tree/main/skills/molecular-properties-predictor. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Molecular Properties Predictor?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Molecular Properties Predictor?

As many as you like. As long as a model supports skills, you can use Molecular Properties Predictor with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Molecular Properties Predictor AI skill free?

Yes. It is published on GitHub by InternScience under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇