chem-db-qmof
Skill174 starsChanged 6 months agoMITView on GitHub
Query the Quantum MOF (QMOF) database via Materials Project's MPContribs platform for DFT-computed properties (bandgap) and optimized crystal structures of Metal-Organic Frameworks.
- Reads credentials
In this repository133 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/atomisticskills.mdcCursor rule
- .cursor/rules/use-agent-skills.mdcCursor rule
- chem-bond-dissociationSkill
- chem-conformer-searchSkill
- chem-db-mofSkill
- chem-db-spectraSkill
- chem-dft-orca-advanced-calculationSkill
- chem-dft-orca-optimizationSkill
- chem-dft-orca-singlepointSkill
- chem-docking-voidSkill
- chem-hazard-toxicitySkill
- chem-irc-verificationSkill
- chem-msms-predictSkill
- chem-neb-barrierSkill
- chem-nmr-analysisSkill
- chem-nmr-predictSkill
- chem-react-otSkill
- chem-similarity-searchSkill
- chem-solution-mdSkill
- chem-sorption-gcmcSkill
- chem-sorption-relaxSkill
- chem-sorption-widomSkill
- chem-spectrum-matcherSkill
- chem-thermochemistrySkill
- chem-ts-optimizationSkill
- chem-vibrationSkill
- drug-admet-predictionSkill
- drug-binding-site-definitionSkill
- drug-bioactivity-assaySkill
- drug-complex-system-builderSkill
- drug-db-chemblSkill
- drug-db-pdbSkill
- drug-db-pubchemSkill
- drug-docking-analysisSkill
- drug-docking-vinaSkill
- drug-ligand-prepSkill
- drug-mmpbsa-gbsaSkill
- drug-molecular-fingerprintsSkill
- drug-pocket-detectionSkill
- drug-pose-validationSkill
- drug-protein-ligand-mdSkill
- drug-protein-prepSkill
- drug-redocking-rmsdSkill
- drug-retrosynthesisSkill
- drug-trajectory-analysisSkill
- general-arxiv-searchSkill
- general-biorxiv-searchSkill
- general-chemical-literatureSkill
- general-chemical-pricingSkill
- general-deep-researchSkill
- general-fair-data-reviewSkill
- general-patent-searchSkill
- general-peer-reviewSkill
- general-plot-digitizerSkill
- general-presentationSkill
- general-property-unitsSkill
- general-publisher-access-guardSkill
- general-query-literature-databaseSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Query Database: Use the provided script query_qmof.py to search by formula or identifier.
- Distinctive: line 66
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 …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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-clientmust be installed. - Environment: Execution happens in the
base-agentenvironment. - Credentials: Requires the standard Materials Project API key exported as
MP_API_KEY.
Instructions
- Query Database: Use the provided script
query_qmof.pyto 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_resultsAvailable 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.ciffiles.
Examples
Example 1: Automated testing script (Zinc MOF)
# Env: base-agent
bash .agents/skills/chem-db-qmof/examples/test_qmof.shExample 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_znExample 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_kaxqilConstraints
- API Limits: The Materials Project/MPContribs API has rate limits. Do not use extremely large values for
--max-resultsunless 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.
Author: Bowen Deng Contact: GitHub @learningmatter-mit
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

