본문으로 건너뛰기
cccskills
무료GitHub에 공개

structure-fetch

Fetch crystal structures from Materials Project/OPTIMADE databases and molecules from PubChem. Search, select, and load structures into the CatGO viewer.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG스타 208(GitHub 208 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Structure Fetching Skill

When to Use

Use this skill when the user wants to:

  • Load a known crystal structure (e.g., "get TiO2 rutile")
  • Search for materials by composition or elements
  • Fetch a molecule by name or formula from PubChem
  • Browse structures from OPTIMADE-compliant databases

Data Sources

SourceTool actionWhat it has
Materials Projectcatgo_fetch(action: "crystal")~150k inorganic crystals, DFT-relaxed
Alexandriacatgo_fetch(action: "search", provider: "alexandria")~5M structures, PBE/PBEsol
MC3Dcatgo_fetch(action: "search", provider: "mc3d")Curated crystal database
2DMatPediacatgo_fetch(action: "search", provider: "twodmatpedia")2D materials
PubChemcatgo_fetch(action: "molecule")~110M molecules, 3D conformers

MCP Tool Examples

Fetch a crystal by formula (Materials Project)

catgo_fetch(action: "crystal", formula: "TiO2", provider: "mp")

This loads the lowest-energy TiO2 structure from Materials Project directly into the viewer. The formula is automatically normalized for OPTIMADE (alphabetical element order: "O2Ti").

Fetch a specific structure by ID

catgo_fetch(action: "crystal", structure_id: "mp-2657", provider: "mp")

Search for structures (returns list, does not auto-load)

catgo_fetch(action: "search", formula: "Fe2O3", provider: "mp", limit: 10)

Returns a list of matching structures with IDs, space groups, and energies. The user then picks one to load:

catgo_fetch(action: "crystal", structure_id: "mp-19770", provider: "mp")

Search by elements (any compound containing these elements)

catgo_fetch(action: "search", elements: ["Ti", "O"], provider: "mp", limit: 5)

This finds all compounds containing Ti and O (TiO2, Ti2O3, SrTiO3, etc.).

Search across multiple providers

catgo_fetch(action: "search", formula: "BaTiO3", provider: "alexandria", limit: 5)

Fetch a molecule from PubChem

By name:

catgo_fetch(action: "molecule", query: "aspirin")

By formula:

catgo_fetch(action: "molecule", query: "C6H12O6")

By PubChem CID:

catgo_fetch(action: "molecule", cid: 2244)

Add a molecule to existing structure

To add a molecule into the current structure (e.g., adding an adsorbate above a surface), use catgo_structure instead:

catgo_structure(action: "add_molecule", query: "water", count: 1)

This fetches from PubChem and merges into the current viewer structure. For multiple copies (e.g., a water layer):

catgo_structure(action: "add_molecule", query: "water", count: 5, spacing: 2.8)

Workflow: Search -> Select -> Load -> Build

A typical session for setting up a catalysis calculation:

  1. Search for the bulk crystal:
catgo_fetch(action: "search", formula: "RuO2", provider: "mp", limit: 5)
  1. Load the desired polymorph:
catgo_fetch(action: "crystal", structure_id: "mp-825", provider: "mp")
  1. Verify it loaded correctly:
catgo_view(action: "get_state")
  1. Build a slab for surface chemistry:
catgo_structure(action: "slab", miller_index: [1, 1, 0],
                min_slab_size: 10.0, min_vacuum_size: 15.0)
  1. Place an adsorbate:
catgo_structure(action: "add_molecule", query: "OH")

Formula Normalization

OPTIMADE requires formulas in alphabetical element order:

  • User says "TiO2" -> query sends "O2Ti"
  • User says "Fe2O3" -> query sends "Fe2O3" (already alphabetical)
  • User says "H2O" -> query sends "H2O" (already alphabetical)

Unicode subscripts are automatically converted: TiO₂ -> TiO2.

The catgo_fetch tool handles this normalization internally. You do not need to manually reorder formulas.

Provider-Specific Notes

Materials Project (mp)

  • Highest quality: structures are DFT-relaxed with standardized settings
  • Has computed properties: band gap, formation energy, stability
  • Preferred for common inorganic materials

Alexandria

  • Largest database (~5M structures)
  • Good for finding exotic compositions
  • PBE and PBEsol relaxed

PubChem

  • Molecules only (no periodic structures)
  • 3D conformers from MMFF94 or experimental data
  • Returns the first conformer; may not be the global minimum
  • Always optimize the geometry after fetching for DFT work

Common Mistakes

  • Searching with non-alphabetical formula on OPTIMADE (handled automatically)
  • Expecting PubChem molecules to be DFT-optimized (they are not)
  • Loading a crystal when a molecule is needed, or vice versa
  • Not checking catgo_view(action: "get_state") after loading to confirm the structure is correct

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

abinit

무료

Generate and manage ABINIT DFT calculations. Use when the user requests ABINIT, or needs DFPT phonons, GW calculations, or BSE optical spectra.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Use when the user asks to place an adsorbate molecule on a surface, find adsorption sites, or set up a surface+adsorbate model for DFT.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Use when the user asks for adsorption energy, binding energy, or wants to compare how strongly a molecule binds to a surface.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Use when the user asks to analyze computational results: Gibbs free energy, OER/HER/CO2RR overpotentials, adsorption energy, convergence tests, DOS/d-band analysis, or Bader charge analysis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Use AmberTools antechamber for molecular force field parameterization. Generates GAFF/GAFF2 parameters and AM1-BCC or RESP charges for use in AMBER or LAMMPS classical MD simulations.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

atom-ops

무료

One-shot recipes for adding, deleting, moving, and replacing individual atoms in the active CatGo viewer structure. Use whenever the user asks to "add an atom", "delete atoms", "remove this atom", "move atom N", "replace H with Li", or any single-atom edit — including "add a hydrogen on top of atom 12" / "delete atoms 5–9" / "swap the oxygen at site 3 for fluorine". Skips the discovery loop (no need to list structure tools or check adsorption sites first); goes straight to the matching `catgo_structure` action. Triggers in Chinese on 加原子, 删原子, 减原子, 移动原子, 替换原子, 增加氢, 删除氧, 把 ... 换成 ....

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Hello-QM의 스킬 모두 보기

이 스킬의 문제 신고