Skip to content
cccskills
FreePublished on GitHub

moire-superlattice

Use when the user asks to create a moire pattern, twisted bilayer structure, magic angle graphene, or any twisted 2D heterostructure.

The English summary is being prepared. Showing the original description.

Hello-QM/catgo-LRG208 stars(GitHub 208 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md4.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Moire Superlattice

Overview

A moire superlattice forms when two identical 2D layers are stacked with a relative twist angle. The resulting interference pattern creates a periodic supercell with properties that depend strongly on the twist angle.

Common applications:

  • Twisted bilayer graphene (TBG): magic-angle superconductivity (~1.1 deg)
  • Twisted TMDs: MoS2/MoS2, WSe2/WSe2 moire excitons
  • Flat-band engineering: correlated electron physics
  • Strain-engineered devices: tunable band gaps

MCP Tools

catgo_moire_search -- Find commensurate angles

{"tool": "catgo_moire_search", "arguments": {
  "structure": "<current viewer structure>",
  "max_angle": 30,
  "tolerance": 0.01
}}

Searches for twist angles that produce commensurate superlattices (exact periodic boundary conditions). Returns a list of angles with supercell sizes, atom counts, and lattice mismatch.

ParameterDescriptionDefault
structure2D monolayer structure (auto-fetched from viewer)(required)
max_angleMaximum twist angle to search (degrees)30
toleranceCommensurability tolerance0.01

catgo_moire_build -- Build the twisted bilayer

{"tool": "catgo_moire_build", "arguments": {
  "structure": "<current viewer structure>",
  "angle": 21.79,
  "interlayer_distance": 3.35
}}
ParameterDescriptionDefault
structure2D monolayer structure(required)
angleTwist angle in degrees (from search results)(required)
interlayer_distanceDistance between layers in Angstroms3.35

Router: /moire/search (POST), /moire/build (POST)

Complete Workflow: Twisted Bilayer Graphene

Step 1: Fetch graphene monolayer

{"tool": "catgo_fetch", "arguments": {
  "action": "crystal", "formula": "C", "source": "mc3d"
}}

Or load a graphene structure from file.

Step 2: Search for commensurate angles

{"tool": "catgo_moire_search", "arguments": {
  "max_angle": 10,
  "tolerance": 0.01
}}

The result lists angles sorted by supercell size. Small angles produce very large supercells (thousands of atoms).

Step 3: Build the moire structure

Pick an angle from the search results:

{"tool": "catgo_moire_build", "arguments": {
  "angle": 5.09,
  "interlayer_distance": 3.35
}}

Step 4: Verify

{"tool": "catgo_view", "arguments": {"action": "get_state"}}

Check: two layers visible, correct interlayer spacing, moire pattern in the xy plane.

Step 5: Relax (optional -- requires ML potential for large cells)

Magic-angle TBG (~1.1 deg) has ~11,000+ atoms. Use an MLP for relaxation:

{"tool": "catgo_workflow_engine", "arguments": {
  "action": "create", "params": {"name": "TBG moire relaxation"}
}}
{"tool": "catgo_workflow_engine", "arguments": {
  "action": "add_task", "params": {
    "workflow_id": "<wf_id>",
    "task_type": "geo_opt",
    "params": {"software": "mlp", "mlp_model": "mace",
               "system_name": "TBG-5.09deg"}
  }
}}

Angle Selection Guide

Angle (deg)Approx. Atoms (graphene)Notes
21.79~28Smallest commensurate, good for testing
13.17~76Small, DFT-feasible
9.43~148Moderate
5.09~508Large, MLP recommended
3.89~868Very large
1.08~11,164Magic angle, MLP or tight-binding only

Common Pitfalls

  1. Always start from a monolayer (single 2D layer). If you have a bulk structure, cut it down to one layer first.
  2. Small twist angles produce very large supercells. Check atom count from catgo_moire_search before building.
  3. The interlayer distance for graphene is ~3.35 A. For TMDs it is typically ~6.1-6.5 A (layer center to center). Use appropriate values.
  4. Only commensurate angles from the search results give exact periodic boundary conditions. Arbitrary angles require approximation and may have significant strain.
  5. DFT calculations on moire structures larger than ~200 atoms typically require ML potentials or tight-binding methods. Standard DFT is impractical for magic-angle TBG.
  6. Van der Waals corrections (DFT-D3, rVV10) are essential for accurate interlayer interactions.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

abinit

Free

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

The English summary is being prepared. Showing the original description.

Hello-QM/catgo-LRG208Updated Oct 23, 2026

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.

The English summary is being prepared. Showing the original description.

Hello-QM/catgo-LRG208Updated Oct 23, 2026

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

The English summary is being prepared. Showing the original description.

Hello-QM/catgo-LRG208Updated Oct 23, 2026

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.

The English summary is being prepared. Showing the original description.

Hello-QM/catgo-LRG208Updated Oct 23, 2026

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.

The English summary is being prepared. Showing the original description.

Hello-QM/catgo-LRG208Updated Oct 23, 2026

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 加原子, 删原子, 减原子, 移动原子, 替换原子, 增加氢, 删除氧, 把 ... 换成 ....

The English summary is being prepared. Showing the original description.

Hello-QM/catgo-LRG208Updated Oct 23, 2026

See all skills by Hello-QM

Report a problem with this skill