/atomistic-skills:mat-synthesis-extractionfrom Atomistic Skills
Extracts structured synthesis procedures from scientific PDFs using the GeneralSynthesisOntology schema, outputting one JSON file per paper with per-material synthesis records.
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.
Read when SKILL.md points to them; scripts run unread.
Given a folder of scientific paper PDFs, extract all synthesis procedures described in each paper and structure them according to the GeneralSynthesisOntology developed in LeMat-Synth [1]. Output is one JSON file per paper containing a list of per-material synthesis records.
The ontology captures: target compound, compound type, synthesis method, starting materials (with amounts/units/purity), sequential process steps (with actions, conditions, equipment), and overall equipment list.
Run the PDF parser to extract plain text from all PDFs in the input folder.
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/parse_pdfs.py \
--pdf-dir /path/to/pdf_folder \
--output-dir /path/to/output/texts
This produces:
.txt file per PDF (named <paper_stem>.txt)parse_summary.json listing extraction status and character countsInspect parse_summary.json to confirm all PDFs extracted successfully. Papers with "status": "empty" are likely scanned images — skip them or obtain a text-layer PDF.
For each .txt file produced in Step 1, identify which materials are synthesized in the paper. Read the paper text and extract a comma-separated list of synthesized compound names.
System prompt to use:
You are a materials science expert. Given the full text of a scientific paper, identify ALL distinct materials that are synthesized (not just characterized or used as reagents). Return ONLY a comma-separated list of chemical names or formulas (e.g. "NiCo2O4, CoFe2O4, Fe3O4"). If no synthesis is described, return an empty string.
Input: full paper text from Step 1 Output: comma-separated string of material names → split into a Python list
For each (paper_text, material_name) pair from Step 2, extract the structured synthesis ontology. Use the system prompt and JSON schema below.
System prompt:
You are a helpful assistant that extracts the structured synthesis for a specific material from the paper text.
Focus ONLY on the synthesis procedure for the specified material. Search through the entire paper text to find the synthesis procedure that describes how this specific material is made.
IMPORTANT: You must output ONLY a valid JSON object with a "structured_synthesis" field. Do not include any reasoning, explanations, or markdown formatting.
If you cannot find a synthesis procedure for the specified material, return a minimal structure with the material name and an empty synthesis.
User message template:
Paper text:
<PAPER_TEXT>
Extract the synthesis procedure for: <MATERIAL_NAME>
Required JSON output schema (GeneralSynthesisOntology):
{
"structured_synthesis": {
"target_compound": "string (required) — composition and description of the target",
"target_compound_type": "one of: 'metals & alloys' | 'ceramics & glasses' | 'polymers & soft matter' | 'composites' | 'semiconductors & electronic' | 'nanomaterials' | 'two-dimensional materials' | 'framework & porous materials' | 'biomaterials & biological' | 'liquid materials' | 'hybrid & organic-inorganic' | 'functional materials & catalysts' | 'energy & sustainability' | 'smart & responsive materials' | 'emerging & quantum materials' | 'other'",
"synthesis_method": "one of: 'PVD' | 'CVD' | 'arc discharge' | 'ball milling' | 'spray pyrolysis' | 'electrospinning' | 'sol-gel' | 'hydrothermal' | 'solvothermal' | 'precipitation' | 'coprecipitation' | 'combustion' | 'microwave-assisted' | 'sonochemical' | 'template-directed' | 'solid-state' | 'flux growth' | 'float zone & Bridgman' | 'arc melting & induction melting' | 'spark plasma sintering' | 'electrochemical deposition' | 'chemical bath deposition' | 'liquid-phase epitaxy' | 'self-assembly' | 'atomic layer deposition' | 'molecular beam epitaxy' | 'pulsed laser deposition' | 'ion implantation' | 'lithographic patterning' | 'wet impregnation' | 'incipient wetness impregnation' | 'mechanical mixing' | 'solution-based' | 'mechanochemical' | 'other'",
"starting_materials": [
{
"name": "string",
"amount": "number or null",
"unit": "string or null — e.g. 'g', 'mL', 'mmol', 'wt%'",
"purity": "string or null — e.g. '99.9%', 'ACS grade'",
"vendor": "string or null"
}
],
"steps": [
{
"step_number": "integer",
"action": "one of: 'add' | 'mix' | 'heat' | 'cool' | 'reflux' | 'age' | 'filter' | 'wash' | 'dry' | 'reduce' | 'calcine' | 'dissolve' | 'precipitate' | 'centrifuge' | 'sonicate' | 'anneal' | 'ion exchange' | 'impregnate'",
"description": "string or null",
"materials": [{"name": "string", "amount": "number or null", "unit": "string or null", "purity": "string or null", "vendor": "string or null"}],
"equipment": [{"name": "string", "instrument_vendor": "string or null", "settings": "string or null"}],
"conditions": {
"temperature": "number or null",
"temp_unit": "string or null — 'C', 'K', or 'F'",
"duration": "number or null",
"time_unit": "string or null — 'h', 'min', 's', 'days'",
"pressure": "number or null",
"pressure_unit": "string or null",
"atmosphere": "string or null — e.g. 'air', 'N2', 'Ar'",
"stirring": "boolean or null",
"stirring_speed": "number or null",
"ph": "number or null"
}
}
],
"equipment": [{"name": "string", "instrument_vendor": "string or null", "settings": "string or null"}],
"notes": "string or null"
}
}
Retry strategy: If extraction fails or JSON is invalid, retry with slightly increased temperature (0.3, then 0.5). If all retries fail, write a minimal record:
{"target_compound": "<material_name>", "target_compound_type": "other", "synthesis_method": "other", "starting_materials": [], "steps": [], "equipment": [], "notes": "Extraction failed."}
After extracting all materials for a paper, write one JSON output file per paper.
Output file: <output_dir>/<paper_stem>_synthesis.json
Output format:
{
"paper": "<paper_stem>",
"source_pdf": "<original_pdf_filename>",
"materials_found": ["Material A", "Material B"],
"syntheses": [
{
"material": "Material A",
"synthesis": { ... }
},
{
"material": "Material B",
"synthesis": { ... }
}
]
}
Write all output JSONs to the same --output-dir used in Step 1 (or a dedicated subdirectory).
Inspect the extracted JSONs. Key things to verify:
target_compound matches the material identified in Step 2synthesis_method is not "other" unless genuinely ambiguoussteps list is non-empty for papers that clearly describe synthesisstarting_materials includes amounts/units where reported in the paperFlag papers where steps is empty and notes contains "Extraction failed" for manual review.
See examples/pt-cu-alloy-co-oxidation/ for a worked example using a catalysis paper from ChemRxiv.
parse_pdfs.py) requires cpu (pymupdf installed).cpu for the parsing script.input_configs.yaml in the output directory for reproducibility.[1] Lederbauer et al., "LeMat-Synth: a multi-modal toolbox to curate broad synthesis procedure databases from scientific literature", arXiv, 2025. arXiv:2510.26824
Author: Magdalena Lederbauer Contact: GitHub @mlederbauer
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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