/atomistic-skills:general-atomisticskills-setupfrom Atomistic Skills
Sets up, checks, and troubleshoots the AtomisticSkills runtime environment including Python venvs, MCP server connections, uv/container selection, and API key configuration.
Ships in Atomistic Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Make every AtomisticSkills skill and MCP tool runnable on the current machine, and know how they run: which environment a command uses, where results go, and what to do when something fails to start.
${CLAUDE_SKILL_DIR}/../../venv/run <env> ..., where <env> is cpu, mlip
(MACE, MatGL) or fairchem, sometimes with an extra such as cpu+openmm. Run
commands exactly as a skill writes them; the launcher picks the environment, and
creates it on first use.ATOMISTIC_RUNTIME (or the plugin's runtime option) forces one.server.tool, e.g. mace.relax_structure.
If a server is not connected, the same tool runs from the shell; tools named in
one command share a process, so a loaded model stays loaded:
${CLAUDE_SKILL_DIR}/../../venv/run mlip python -m src.mcp_server.cli mace load_model relax_structure structure_data=POSCAR.
--list shows a server's tools and arguments.research/<date>_<topic>/ directory
(base.create_research_dir), and later outputs default to it. Never write
results inside the skill or plugin directory.${CLAUDE_SKILL_DIR}/../../venv/run --doctor
It reports the host (architecture, glibc, uv, container runtimes, GPU and driver) and, per environment, whether it runs with uv or a container and whether it is ready.
${CLAUDE_SKILL_DIR}/../../venv/run --setup
This creates cpu, mlip and fairchem -- several GB for the GPU environments, so
warn the user and use a long timeout. Name environments to create only some
(--setup cpu mlip). On aarch64 with a container runtime, --setup generative
also fetches the image behind the adit, diffcsp and mattergen servers.
If --doctor reports a missing prerequisite, fix it before retrying:
| Report | Fix |
|---|---|
uv is not installed | curl -LsSf https://astral.sh/uv/install.sh | sh (ask the user first) |
needs glibc >= … or needs a C compiler | install a container runtime (Apptainer on HPC, Docker elsewhere); auto then uses it |
| MCP server "being created in the background" | wait for --setup (or the background log it names) to finish, then reconnect the server with /mcp |
Settings live in ~/.config/atomistic_skills.yaml (environment variables of the
same name take precedence). Ask the user for the keys they need -- never invent
them:
MP_API_KEY: "..." # Materials Project
HF_TOKEN: "..." # gated Hugging Face models, e.g. FairChem UMA
ATOMISTIC_RUNTIME: auto # or uv, docker, podman, apptainer
${CLAUDE_SKILL_DIR}/../../venv/run cpu python -m src.mcp_server.cli base --list
${CLAUDE_SKILL_DIR}/../../venv/run mlip python -c "import torch; print('CUDA available:', torch.cuda.is_available())"
Then, with the MCP servers connected, relax a small structure: mace.load_model
followed by mace.relax_structure on a two-atom silicon cell should finish in
seconds on a GPU.
generative container image. venv/run --doctor lists what this host runs.Author: Bowen Deng Contact: GitHub @learningmatter-mit
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub learningmatter-mit/atomisticskills --plugin atomistic-skills133 skills in this plugin
/chem-bond-dissociationCalculate homolytic and heterolytic bond dissociation energies (BDEs) for all single bonds in a molecule using MLIPs with RDKit fragmentation./chem-conformer-searchGenerate molecular conformers with RDKit ETKDG, relax with MLIPs, and rank by energy with Boltzmann weighting./chem-db-mofQuery multiple MOF databases (QMOF via MPContribs; ARC-MOF DB7/Majumdar et al. via Materials Cloud) and download CIF structures with optional element or identifier filters.Other plugins' skills for the same job