Skip to content
cccskills
FreePublished on GitHub

nanotube-generation

Use when the user asks to build a nanotube, roll up a 2D sheet into a tube, create a carbon nanotube (CNT), boron nitride nanotube (BNNT), or specify chiral indices (n, m).

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.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Nanotube Generation

Overview

Nanotubes are formed by rolling a 2D sheet into a cylinder defined by chiral indices (n, m). The chirality determines electronic and mechanical properties.

Common applications:

  • Carbon nanotubes (CNTs): electronics, composites, catalysis
  • Boron nitride nanotubes (BNNTs): high-temperature insulation, radiation shielding
  • MoS2 / WS2 nanotubes: lubricants, batteries, photocatalysis
  • Custom 2D roll-ups: any 2D material loaded in the viewer

Chirality Quick Reference

TypeConditionElectronic Character (CNT)
Armchairn = mMetallic
Zigzagm = 0Metallic if n mod 3 = 0, else semiconducting
Chiraln != m, m != 0Metallic if (n - m) mod 3 = 0, else semiconducting

MCP Tools

catgo_nanotube_info -- Query geometry before building

{"tool": "catgo_nanotube_info", "arguments": {
  "n": 10, "m": 0,
  "bond_length": 1.42
}}

Returns diameter, circumference, chiral angle, translational vector length, and estimated atom count without building the structure. Use this to check size before committing to a build.

catgo_nanotube_build -- Build the nanotube

{"tool": "catgo_nanotube_build", "arguments": {
  "n": 10, "m": 0,
  "length": 20.0,
  "bond_length": 1.42
}}
ParameterDescriptionDefault
n, mChiral indices(required)
lengthTube length in Angstromsone translational period
bond_lengthC-C bond length in Angstroms1.42

The tool accepts either a loaded 2D structure from the viewer or explicit lattice vectors / basis coordinates. For carbon nanotubes, the default graphene sheet is used automatically.

Router: /nanotube/info (POST), /nanotube/build (POST)

Complete Workflow: (10,0) Zigzag CNT Relaxation

Step 1: Check nanotube geometry

{"tool": "catgo_nanotube_info", "arguments": {
  "n": 10, "m": 0
}}

Verify the diameter (~7.8 A) and atom count are reasonable for DFT.

Step 2: Build the nanotube

{"tool": "catgo_nanotube_build", "arguments": {
  "n": 10, "m": 0,
  "length": 12.5
}}

Step 3: Verify in viewer

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

Check: cylindrical geometry, no overlapping atoms, correct atom count.

Step 4: Relax with DFT

{"tool": "catgo_workflow_engine", "arguments": {
  "action": "create", "params": {"name": "(10,0) CNT relaxation"}
}}
{"tool": "catgo_workflow_engine", "arguments": {
  "action": "add_task", "params": {
    "workflow_id": "<wf_id>",
    "task_type": "geo_opt",
    "params": {"software": "vasp", "ENCUT": 520, "ISPIN": 1,
               "system_name": "CNT-10-0 relax"}
  }
}}

Multi-walled Nanotubes (MWNT)

The backend supports multi-walled nanotubes via additional walls. Each wall is defined by its own chiral indices. The inter-wall spacing defaults to ~3.4 A (van der Waals distance for graphitic layers).

Non-Carbon Nanotubes

To build a BN nanotube or MoS2 nanotube:

  1. Fetch or load the 2D monolayer structure (e.g., hexagonal BN)
  2. The nanotube builder rolls up whatever 2D structure is loaded
{"tool": "catgo_fetch", "arguments": {
  "action": "crystal", "formula": "BN", "source": "mc3d"
}}

Then build the nanotube from the loaded structure.

Common Pitfalls

  1. Large chiral indices (n > 30) produce structures with thousands of atoms. Check atom count with catgo_nanotube_info before building.
  2. The tube length should be at least one translational period for meaningful periodic calculations.
  3. For DFT on nanotubes, ensure sufficient vacuum in the non-periodic directions (at least 12-15 A between periodic images).
  4. Bond length 1.42 A is for graphene/CNT. Use 1.45 A for BN, 2.42 A for MoS2.
  5. Semiconducting CNTs require careful k-point sampling along the tube axis. Use at least 1x1x8 k-points for a single unit cell.

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