Prepare and explain xTB semiempirical quantum-chemistry workflows for single-point energy, forces, charges, dipole, geometry optimization, and molecular dynamics.

LGPL-3.0-or-laterAuto-check passedResearch & Science

Install Xtb

skills CLI
$ npx skills add jinzhezenggroup/computational-chemistry-agent-skills --skill xtb -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jinzhezenggroup/computational-chemistry-agent-skills xtb --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jinzhezenggroup/computational-chemistry-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/quantum-chemistry/xtb .claude/skills/xtb && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
xtb
GitHub stars
148
Token cost
~1.2k tokens
SKILL.md length
411 words
Files
2 (incl. references)
Skills in repo
62
Repo updated
First seen
Licence
LGPL-3.0-or-later

At a glance

Prepare and explain xTB semiempirical quantum-chemistry workflows for single-point energy, forces, charges, dipole, geometry optimization, and molecular dynamics.

  • Works in 3 steps: Direct xTB-oriented tasks → xTB through the ASE bridge → xTB through dpdata
  • The user asks for xTB calculations directly
  • SKILL.md covers Scope, Supported usage patterns, Practical installation notes and Method selection guidance, plus 5 more sections
  • Calls uv

What it does

Xtb is an agent skill from jinzhezenggroup/computational-chemistry-agent-skills. Prepare and explain xTB semiempirical quantum-chemistry workflows for single-point energy, forces, charges, dipole, geometry optimization, and molecular dynamics. Use when the user asks for xTB calculations directly, or wants to use xTB through Python/ASE/dpdata bridges while keeping xTB as the primary method rather than as an ASE-only backend.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/commands-and-workflow.md`). Compatibility notes: Requires a runnable xTB environment. Python-based workflows can use the xtb package; for reproducible ad hoc runs with uv, prefer uv run --no-project --with…

It sits in Research & Science, covering Physical and earth sciences. It works with Python. The repository describes itself as: Agent skills to run computational-chemistry tasks, used in OpenClaw. The licence is LGPL-3.0-or-later.

When your agent uses it

  • The user asks for xTB calculations directly
  • Wants to use xTB through Python/ASE/dpdata bridges while keeping xTB as the primary method rather than as an ASE-only backend

Example prompts

  • “/xtb”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Requires a runnable xTB environment. Python-based workflows can use the `xtb` package; for reproducible ad hoc runs with uv, prefer `uv run --no-project --with ase --with xtb --with typing_extensions python ...` when using the ASE bridge.

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Direct xTB-oriented tasks
  2. xTB through the ASE bridge
  3. xTB through dpdata

What it can do on your machine

Read from SKILL.md and the folder at commit 5c19e75. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires a runnable xTB environment. Python-based workflows can use the `xtb` package; for reproducible ad hoc runs with uv, prefer `uv run --no-project --with ase --with xtb --with typing_extensions python ...` when using the ASE bridge.

    From compatibility in the SKILL.md frontmatter.

Context cost

Xtb loads about 1.2k tokens when it runs, and up to ~1.9k if it reads all its reference files. Until then it costs about 88 tokens; SKILL.md has 411 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~88
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jinzhezenggroup/computational-chemistry-agent-skills at commit 5c19e75, republished under its LGPL-3.0-or-later licence (© jinzhezenggroup). 411 words, ~1,200 tokens.

Download SKILL.mdSave it as .claude/skills/xtb/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
xtb
description
Prepare and explain xTB semiempirical quantum-chemistry workflows for single-point energy, forces, charges, dipole, geometry optimization, and molecular dynamics. Use when the user asks for xTB calculations directly, or wants to use xTB through Python/ASE/dpdata bridges while keeping xTB as the primary method rather than as an ASE-only backend.
compatibility
Requires a runnable xTB environment. Python-based workflows can use the `xtb` package; for reproducible ad hoc runs with uv, prefer `uv run --no-project --with ase --with xtb --with typing_extensions python ...` when using the ASE bridge.
license
LGPL-3.0-or-later
metadata.author
njzjz-bot
metadata.version
1.0
metadata.repository
https://github.com/grimme-lab/xtb-python

xTB

Use this skill as the top-level xTB orchestration layer.

Scope

This skill should:

  • identify whether the user wants direct xTB usage or a Python bridge workflow
  • classify the task as static, optimization, or MD-style usage
  • keep xTB as the primary method in the user-facing framing
  • provide runnable examples for direct Python/ASE integration when appropriate
  • document how to connect xTB to dpdata driver/minimizer flows

This skill should not:

  • force the user into ASE if they asked for xTB itself
  • hide xTB-specific scientific choices behind generic backend wording
  • submit jobs directly; use dpdisp-submit if execution/submission is requested

Supported usage patterns

1. Direct xTB-oriented tasks

Use this skill when the user asks for:

  • xTB single-point energy
  • xTB forces / charges / dipole
  • xTB geometry optimization
  • xTB molecular dynamics
  • xTB method choice such as GFN0-xTB, GFN1-xTB, or GFN2-xTB
  • xTB solvent settings
2. xTB through the ASE bridge

If the user wants Python scripting, ASE integration, or ASE workflows, use:

python
from xtb.ase.calculator import XTB

Treat ASE as an integration layer, not the primary identity of the method.

3. xTB through dpdata

If the user wants labeled data or geometry minimization through dpdata, bridge via the ASE driver/minimizer while still presenting xTB as the force/energy method.

Practical installation notes

For one-off Python scripts, prefer uv run instead of uvx because this is a Python package used inside a Python script, not a standalone CLI tool.

Recommended pattern for the ASE bridge:

bash
uv run --no-project --with ase --with xtb --with typing_extensions python your_script.py

Notes:

  • The PyPI package name is xtb.
  • The upstream docs/project are often referred to as xtb-python.
  • If ModuleNotFoundError: typing_extensions appears, add --with typing_extensions explicitly.
Show full SKILL.md (157 more words)Show less

Method selection guidance

  • GFN2-xTB: default choice for most molecular single-point and force evaluations
  • GFN1-xTB: use when there is a user or literature reason
  • GFN0-xTB: use when the workflow specifically needs xTB-level stress through the ASE bridge

Detailed runnable examples

For copy-paste-ready command and script patterns, see:

  • references/commands-and-workflow.md

Use that reference when the user specifically wants a minimal runnable example for:

  • single-point energy / forces
  • geometry optimization
  • dpdata driver labeling
  • dpdata minimization

ASE bridge example

python
from ase.build import molecule
from xtb.ase.calculator import XTB

atoms = molecule("H2O")
atoms.calc = XTB(method="GFN2-xTB")
print(atoms.get_potential_energy())
print(atoms.get_forces())
print(atoms.get_charges())

Common calculator arguments:

  • method
  • accuracy
  • electronic_temperature
  • max_iterations
  • solvent
  • cache_api

Property support through the ASE bridge includes:

  • energy / free_energy
  • forces
  • dipole
  • charges
  • stress for GFN0-xTB only

dpdata driver bridge

If the user wants dpdata labeling:

python
from dpdata.system import System
from xtb.ase.calculator import XTB

sys = System("input.xyz", fmt="xyz")
ls = sys.predict(driver="ase", calculator=XTB(method="GFN2-xTB"))

This connects naturally to tools/dpdata-driver.

dpdata minimizer bridge

If the user wants dpdata geometry minimization:

python
from dpdata.driver import Driver
from dpdata.system import System
from xtb.ase.calculator import XTB

sys = System("input.xyz", fmt="xyz")
ase_driver = Driver.get_driver("ase")(calculator=XTB(method="GFN2-xTB"))
ls = sys.minimize(minimizer="ase", driver=ase_driver, fmax=0.05, max_steps=200)

This connects naturally to tools/dpdata-minimizer.

Output expectations

Provide:

  1. the selected xTB usage mode
  2. runnable command or script pattern
  3. method/solvent/accuracy assumptions
  4. unresolved scientific choices
  5. handoff to dpdisp-submit if execution/submission is requested

© jinzhezenggroup, LGPL-3.0-or-later. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in quantum-chemistry/xtb of jinzhezenggroup/computational-chemistry-agent-skills.

  • SKILL.md
  • references/commands-and-workflow.md

Open the folder on GitHubat commit 5c19e75

Compare with similar skills

Xtb next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Xtb compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xtb this skilljinzhezenggroup/computational-chemistry-agent-skills148—~1.2kAutomated safety check: PassLGPL-3.0-or-later
AstropyzLanqing/codex-claude-academic-skills4.7k13 repos~2.9kAutomated safety check: PassBSD-3-Clause
Cantera Ignition DelayK-Dense-AI/scientific-agent-skills48k1 repos~2.2kAutomated safety check: PassMIT
Climate DsHongjian01/ClimWorkflow102—~1.2kAutomated safety check: PassCustom licence
Chemgraphargonne-lcf/ChemGraph162—~743Automated safety check: PassApache-2.0
FluidSim CFD Simulationsdavila7/claude-code-templates33k9 repos~2.3kAutomated safety check: PassMIT

Similar skills

  • Astropy

    zLanqing/codex-claude-academic-skills

    Comprehensive Python library for astronomy and astrophysics.

    4.7k GitHub starsUsed in 13 repos~2.9k tokens
    Research & ScienceAuto-check passed
  • Cantera Ignition Delay

    K-Dense-AI/scientific-agent-skills

    Runs Cantera constant-volume or constant-pressure ignition simulations and reports temperature-based ignition delay with mechanism provenance and checks.

    48k GitHub starsUsed in 1 repo~2.2k tokens
    Research & ScienceAuto-check passed
  • Climate Ds

    Hongjian01/ClimWorkflow

    ClimWorkflow climate-data workflow: map a natural-language climate goal to Plan-Agent / Data-Agent / Coding-Agent roles, then call the 7-tool DAG (optional read-only validate after report).

    102 GitHub stars~1.2k tokensUpdated 22 days ago
    Research & ScienceAuto-check passed
  • Chemgraph

    argonne-lcf/ChemGraph

    Use ChemGraph Python and CLI workflows, agent-written batch scripts, and attached chemistry MCP tools.

    162 GitHub stars~743 tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • FluidSim CFD Simulations

    davila7/claude-code-templates

    Runs computational fluid dynamics simulations with the FluidSim Python framework: 2D and 3D Navier-Stokes, shallow water and stratified flow solvers plus output analysis.

    33k GitHub starsUsed in 9 repos~2.3k tokens
    Research & ScienceAuto-check passed
  • Rowan

    K-Dense-AI/scientific-agent-skills

    Rowan is a cloud-native molecular modeling and medicinal-chemistry workflow platform with a Python API.

    48k GitHub starsUsed in 2 repos~4.3k tokens
    Research & ScienceAuto-check passed

More from jinzhezenggroup/computational-chemistry-agent-skills

All 62 skills in this repo
  • Quantum ESPRESSO DFT Task Builder

    jinzhezenggroup/computational-chemistry-agent-skills

    Turns a user-supplied atomic structure and DFT settings into a runnable Quantum ESPRESSO input file, stopping short of submitting the job.

    148 GitHub stars~1.8k tokensUpdated 2 days ago
    Auto-check passed
  • DP-GEN Simplify Workflow

    jinzhezenggroup/computational-chemistry-agent-skills

    Prepares, validates and runs DP-GEN simplify jobs that thin out repeated or redundant DeepMD datasets, generating param.json and machine.json for local or scheduler runs.

    148 GitHub stars~2.7k tokensUpdated 2 days ago
    Auto-check passed
  • LAMMPS with DeePMD-kit

    jinzhezenggroup/computational-chemistry-agent-skills

    Prepares and runs molecular dynamics simulations in LAMMPS with a DeePMD machine-learning potential, writing the input script and choosing NVE, NVT or NPT.

    148 GitHub stars~2.8k tokensUpdated 2 days ago
    Auto-check passed
  • LAMMPS ReaxFF Setup

    jinzhezenggroup/computational-chemistry-agent-skills

    Prepares and explains LAMMPS input scripts for reactive molecular dynamics with the ReaxFF potential, including charge equilibration and ensemble choice.

    148 GitHub stars~1.8k tokensUpdated 2 days ago
    Auto-check passed
  • RDKit Conformer Generator

    jinzhezenggroup/computational-chemistry-agent-skills

    Generates 3D molecular conformers from SMILES strings or files with RDKit, keeps the lowest-energy one per molecule, and falls back to 2D coordinates when embedding fails.

    148 GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed
  • RDKit Descriptors and Fingerprints

    jinzhezenggroup/computational-chemistry-agent-skills

    Computes RDKit physicochemical descriptors and molecular fingerprints from SMILES through a uv-run CLI script that skips and logs invalid molecules.

    148 GitHub stars~2.3k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Xtb

What does Xtb do?

Prepare and explain xTB semiempirical quantum-chemistry workflows for single-point energy, forces, charges, dipole, geometry optimization, and molecular dynamics. Xtb is an agent skill from jinzhezenggroup/computational-chemistry-agent-skills. Prepare and explain xTB semiempirical quantum-chemistry workflows for single-point energy, forces, charges, dipole, geometry optimization, and molecular dynamics.

When should I use Xtb?

Xtb fits situations like: the user asks for xTB calculations directly; wants to use xTB through Python/ASE/dpdata bridges while keeping xTB as the primary method rather than as an ASE-only backend.

How do I install Xtb in Claude Code?

Run `npx skills add jinzhezenggroup/computational-chemistry-agent-skills --skill xtb -a claude-code`. Or copy the skill folder (quantum-chemistry/xtb in jinzhezenggroup/computational-chemistry-agent-skills) into .claude/skills/xtb in your project. Claude Code loads it when a task matches its description.

How do I install Xtb in Codex?

Run `npx skills add jinzhezenggroup/computational-chemistry-agent-skills --skill xtb -a codex`. Or copy the skill folder (quantum-chemistry/xtb in jinzhezenggroup/computational-chemistry-agent-skills) into .agents/skills/xtb in your project. Codex loads it when a task matches its description.

Can I use Xtb in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jinzhezenggroup/computational-chemistry-agent-skills --skill xtb -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xtb, .gemini/skills/xtb, .github/skills/xtb and .opencode/skills/xtb in your project.

What does Xtb need to run?

Going by SKILL.md and its folder, Xtb needs the command-line tools its instructions call (uv). Our summary lists: Python 3. Compatibility (from SKILL.md): Requires a runnable xTB environment. Python-based workflows can use the `xtb` package; for reproducible ad hoc runs with uv, prefer `uv run --no-project --with ase --with xtb --with typing_extensions python ...` when using the ASE bridge..

Does Xtb access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Xtb safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Xtb use?

Xtb is published under the LGPL-3.0-or-later licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Xtb use?

About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 744 tokens, read only when the agent opens those files.

What are the alternatives to Xtb?

Skills that share tags, products or a category with Xtb: Astropy (zLanqing/codex-claude-academic-skills, 4.7k stars), Cantera Ignition Delay (K-Dense-AI/scientific-agent-skills, 48k stars), Climate Ds (Hongjian01/ClimWorkflow, 102 stars) and Chemgraph (argonne-lcf/ChemGraph, 162 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Xtb?

jinzhezenggroup (a GitHub organization) maintains it in jinzhezenggroup/computational-chemistry-agent-skills, which has 148 GitHub stars. The repository holds 62 skills in this directory. The repository was last updated on October 9, 2026.

Source: jinzhezenggroup/computational-chemistry-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.