chem-db-qmof

chem-db-qmof is a skill for Claude Code, Codex from learningmatter-mit/AtomisticSkills. It costs 47 tokens per session (691 once invoked), scanned A, original, MIT.

A database search for metal-organic frameworks (MOFs)—crystalline materials made from metal ions and organic linkers—with properties calculated using density functional theory (DFT).

In plain words
What is it for?
Use it to search MOFs by formula, elements, name, or database identifier and download their crystal structures in CIF format.
Why use it?
It provides computed band gaps and relaxed crystal structures without requiring those calculations to be run from scratch.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/learningmatter-mit/atomisticskills/chem-db-qmof
Any agent
npx skills add learningmatter-mit/AtomisticSkills --skill chem-db-qmof
Clone the repo
git clone --depth 1 https://github.com/learningmatter-mit/AtomisticSkills

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 chem-db-qmof

README.md
[![agentmods](https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/chem-db-qmof.svg)](https://agentmods.dev/skills/learningmatter-mit/atomisticskills/chem-db-qmof)
Your own site
<a href="https://agentmods.dev/skills/learningmatter-mit/atomisticskills/chem-db-qmof"><img src="https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/chem-db-qmof.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 691 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00047 $0.00691
Opus 5 $0.00023 $0.00345
Sonnet 5 $0.00009 $0.00138
Haiku 4.5 $0.00005 $0.00069

Measured 5d ago against content hash 51a3b2cf4eba, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

chem-db-qmof 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 5d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (examples/test_qmof.sh, scripts/query_qmof.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.

.agents/skills/chem-db-qmof/SKILL.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

chem-db-qmof

Goal

To retrieve computational data and relaxed crystal structures (.cif) for roughly 20,000 Metal-Organic Frameworks (MOFs) that have been thoroughly characterized using DFT. QMOF is hosted by the Materials Project under the "MPContribs" project (qmof). This skill allows you to retrieve relaxed CIF structures by reference name, CSD refcode, or specific structural/electronic properties like bandgap.

Prerequisites

  • Dependency: mpcontribs-client must be installed.
  • Environment: Execution happens in the base-agent environment.
  • Credentials: Requires the standard Materials Project API key exported as MP_API_KEY.

Instructions

  1. Query Database: Use the provided script query_qmof.py to search by formula or identifier.
# Env: base-agent
python .agents/skills/chem-db-qmof/scripts/query_qmof.py \
    --formula "Zn" \
    --max-results 5 \
    --output-dir ./research/qmof_results

Available Arguments:

  • --formula: Search by chemical formula or elements (e.g., Zn,O,C).
  • --identifier: Search by specific CSD refcode or MOF common name (e.g., KAXQIL).
  • --max-results: Maximum number of structures to download (default: 5).
  • --output-dir: Directory to save the resulting .cif files.

Examples

Example 1: Automated testing script (Zinc MOF)

# Env: base-agent
bash .agents/skills/chem-db-qmof/examples/test_qmof.sh

Example 2: Query for 5 MOFs containing Zinc manually

# Env: base-agent
python .agents/skills/chem-db-qmof/scripts/query_qmof.py \
    --formula "Zn" \
    --max-results 5 \
    --output-dir ./results/qmof_zn

Example 2: Retrieve a specific MOF by identifier

# Env: base-agent
python .agents/skills/chem-db-qmof/scripts/query_qmof.py \
    --identifier "KAXQIL" \
    --max-results 1 \
    --output-dir ./results/qmof_kaxqil

Constraints

  • API Limits: The Materials Project/MPContribs API has rate limits. Do not use extremely large values for --max-results unless necessary.
  • Availability: If you cannot find a MOF in QMOF via the script, or if the API query is overly complex, you can also search the QMOF database manually through the Materials Project web interface under the "Contributions" section.

Read the full file on GitHub · 72 lines

Files

What ships with it

2 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. 5d ago First seen · 72 lines · 47 tokens per session scan A 51a3b2cf4eba

Subscribe to this mod's changes

chem-db-qmof is a skill published in the GitHub repository learningmatter-mit/AtomisticSkills (160 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 691 once invoked, about $0.0002 per session on Opus 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

lamindb

Use when working with LaminDB, the open-source lineage-native lakehouse for biological datasets and models. Covers setup, artifact registration, query/search, lineage tracking, validation, ontology-backed annotation with Bionty, collections, branches, storage, and workflow integrations.

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

tiledbvcf

Efficient storage and retrieval of genomic variant data using TileDB. Scalable VCF/BCF ingestion, incremental sample addition, compressed storage, parallel queries, and export capabilities for population genomics.

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

defining-cohort-phenotypes

Authors computable phenotype and cohort definitions in the OHDSI ATLAS / CIRCE style over the OMOP CDM, combining standard concept sets with NLP-derived features that OpenMed extracts. Use when the user wants to define a patient cohort, write a computable phenotype, reuse PheKB or OHDSI Phenotype Library logic, build…

maziyarpanahi/openmed · 191 tokens

datamol

Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…

synthetic-sciences/openscience · 67 tokens

deepchem

Molecular ML with diverse featurizers and pre-built datasets. Use for property prediction (ADMET, toxicity) with traditional ML or GNNs when you want extensive featurization options and MoleculeNet benchmarks. Best for quick experiments with pre-trained models, diverse molecular representations. For graph-first…

synthetic-sciences/openscience · 78 tokens

hypogenic

Automated LLM-driven hypothesis generation and testing on tabular datasets. Use when you want to systematically explore hypotheses about patterns in empirical data (e.g., deception detection, content analysis). Combines literature insights with data-driven hypothesis testing. For manual hypothesis formulation use…

synthetic-sciences/openscience · 69 tokens