abinit
無料Generate and manage ABINIT DFT calculations. Use when the user requests ABINIT, or needs DFPT phonons, GW calculations, or BSE optical spectra.
日本語の概要は準備中です。原文の説明を表示しています。
ORCA NEB-TS transition state search. Requires reactant and product structures. Handles NEB parameters, image count, and CI-NEB settings.
日本語の概要は準備中です。原文の説明を表示しています。
実行スコア 未検証
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this skill when the user wants to:
Requirements: the user MUST provide both a reactant and a product structure. If only one structure is available, ask for the other before proceeding.
Use
catgo_workflow(graph-based), NOTcatgo_workflow_engine(task-based). NEB-TS needs TWO structure inputs (reactant + product) wired to separate input ports. The graph-based tool lets you build that wiring explicitly. Param keys also differ: graph-based usesmethod/basis, task-based usesorca_method/orca_basis.
NEB-TS needs reactant and product. The create action auto-captures only
the viewer structure, so capture each one separately and pass them inline.
Load reactant into viewer (file or PubChem):
catgo_structure(action: "load_file", file_content: "<reactant xyz>", file_format: "xyz")
Capture its JSON:
catgo_view(action: "get_state")
Save the resulting structure JSON as <reactant_json>.
Then load and capture the product the same way → <product_json>.
curl -s http://localhost:8000/api/hpc/connections
Copy the session_id for host: login.expanse.sdsc.edu.
catgo_workflow(action: "create", name: "NEB-TS Cl- + CH3Br")
Note the auto-created structure_input node ID. You'll either reuse it for
the reactant (and add a second structure_input for the product) or remove it
and add two fresh ones.
catgo_workflow(action: "batch", workflow_id: "<wf_id>", operations: [
{"op": "add_node", "node_type": "structure_input", "label": "reactant",
"params": {"structure_json": "<reactant_json>"}},
{"op": "add_node", "node_type": "structure_input", "label": "product",
"params": {"structure_json": "<product_json>"}},
{"op": "add_node", "node_type": "orca_neb_ts", "label": "neb",
"params": {
"software": "orca",
"method": "B3LYP",
"basis": "def2-SVP",
"dispersion": "D4",
"charge": -1,
"multiplicity": 1,
"nimages": 8,
"ts_opt": true,
"neb_cycles": 100
}},
{"op": "connect", "from_id": "reactant", "to_id": "neb",
"from_handle": "structure", "to_handle": "structure"},
{"op": "connect", "from_id": "product", "to_id": "neb",
"from_handle": "structure", "to_handle": "structure_product"}
])
The two connect ops are critical — to_handle must be structure for the reactant edge and structure_product for the product edge. (Verify with node_details(orca_neb_ts) — input handles are ["structure", "structure_product"].) If both go to structure the neb task sees a list and uses only the first.
{"op": "add_node", "node_type": "freq", "label": "freq_ts",
"params": {"software": "orca", "method": "B3LYP", "basis": "def2-SVP", "charge": -1, "multiplicity": 1}},
{"op": "connect", "from_id": "neb", "to_id": "freq_ts",
"from_handle": "structure", "to_handle": "structure"}
A valid TS shows exactly one imaginary frequency.
NEB-TS is much more expensive than a single opt — bump walltime accordingly,
and consider partition: "shared" or "compute" instead of "debug" (which
caps at 30 min). Read server/templates/orca_generic.sh and pass its contents
as default_template.
catgo_workflow(action: "run", workflow_id: "<wf_id>", run_config: {
"execution_mode": "hpc",
"default_session_id": "<expanse_session_id>",
"base_work_dir": "/expanse/lustre/projects/sdp126/jyang25/ORCA/catgo",
"default_job_params": {
"nodes": 1, "ntasks": 8, "cpus_per_task": 1,
"walltime": "08:00:00", "partition": "shared"
},
"cluster_configs": {
"<expanse_session_id>": {
"account": "sdp126",
"partition": "shared",
"module_loads": "module load cpu/0.17.3b\nmodule load gcc/10.2.0/npcyll4\nexport PATH=$HOME/openmpi-4.1.8/bin:$PATH\nexport LD_LIBRARY_PATH=$HOME/openmpi-4.1.8/lib:$LD_LIBRARY_PATH",
"orca_dir": "/home/jyang25/orca_6_1_1_RRP8",
"default_template": "<contents of server/templates/orca_generic.sh>",
"default_job_params": {
"nodes": 1, "ntasks": 8, "cpus_per_task": 1,
"walltime": "08:00:00", "partition": "shared"
}
}
}
})
The local-scratch template stages I/O to $TMPDIR/orca_$SLURM_JOB_ID and
copies results back. Required on Expanse — Lustre kills ORCA's many-small-file
I/O during the per-image SCFs.
catgo_workflow(action: "status", workflow_id: "<wf_id>")
mkdir -p ./local_run
for f in ORCA.out ORCA_MEP_trj.xyz ORCA.NEB.log \
ORCA.property.json ORCA.json; do
curl -s -X POST http://localhost:8000/api/hpc/files/read-content \
-H 'Content-Type: application/json' \
-d "{\"session_id\":\"<expanse_session_id>\",\"file_path\":\"<work_dir>/$f\"}" \
> ./local_run/$f
done
OPI gives a per-image energy curve and the converged-TS imaginary-frequency
check without regex. Requires pip install orca-pi.
import sys
sys.path.insert(0, ".claude/skills") # for the _shared helper
from _shared.orca_opi import parse_local
out = parse_local("./local_run")
# Per-image energy curve — geometries[i] holds each image's properties
energies_eh = [
g.single_point_data.finalenergy
for g in out.results_properties.geometries
]
print("MEP energies (Eh):", energies_eh)
print("Barrier (Eh):", max(energies_eh) - energies_eh[0])
# Converged TS imaginary check (after NEB-TS refinement step)
ts_freqs = out.results_properties.geometries[-1].thermochemistry_energies[0].freq
n_imag = sum(1 for f in ts_freqs if f < 0)
assert n_imag == 1, f"Expected 1 imaginary mode, got {n_imag}"
print("Imaginary mode (cm^-1):", min(ts_freqs))
NEB does not always produce a thermochemistry block (depends on whether NEB-TS
finished its frequency confirmation step). If thermochemistry_energies is
missing, run a follow-up freq node on the converged TS structure.
from _shared.orca_opi import quick_plot_neb_mep, show_png
png = quick_plot_neb_mep(out) # writes ./local_run/neb_mep.png
show_png(png, "NEB-TS MEP") # prints ``
After running this, reply to the user with the markdown link the script printed so Claude Code renders the figure inline in chat.
catgo_workflow_engine.add_task doesn't auto-attach structures → "No input structure provided".to_handle: "structure" (default) → neb task sees a list, uses only the first → garbage path. Use reactant and product handles explicitly.partition=workq (Shaheen default) is invalid on Expanse → use debug/shared/compute.partition=debug capped at 30 min — use shared for any real NEB-TS run.account=sdp126 → "Invalid account or account/partition combination".module_loads + orca_dir → orca not on PATH; per-image SCFs silently produce nothing./api/hpc/connections and update default_session_id + cluster_configs key.| Parameter | Default | Description |
|---|---|---|
method | r2SCAN-3c | DFT functional |
basis | def2-SVP | Basis set (omit for composite methods) |
charge / multiplicity | 0 / 1 | |
dispersion | (none) | D4 | D3BJ | D3 — use this field, NOT extra_keywords |
grid | DefGrid2 | DefGrid1/2/3 |
nimages | 8 | Number of interpolated images |
ts_opt | true | Switch to CI-NEB after convergence |
neb_cycles | 100 | NEB iteration cap |
interpolation | "IDPP" | Initial-path interpolation method |
num_cores / max_core_mb | 8 / 4000 |
⚠️
extra_keywords,extra_blocks,neb_images,neb_convergenceare NOT read by the engine — they're phantom params from earlier skill versions. Use the names above. There is noneb_convergenceknob currently exposed.
OPI (pip install orca-pi) ships a typed BlockNeb builder. However, the catgo backend's orca_neb_ts node already emits its own %neb block from node params (neb_images, neb_convergence, etc.). Pasting an OPI-built %neb block via extra_blocks would produce two %neb blocks in the same .inp, which is undefined behavior.
For this skill, stick with node params for %neb content and use extra_blocks only for %output. The OPI parsing wins (per-image energy curve, TS imaginary-mode check) still apply. If you need a knob BlockNeb exposes that the node params don't (interpolation, springconst, ts_inputhess, zoom_*, etc.), open that as a node-def gap rather than dual-emitting blocks.
| System size | Recommended images |
|---|---|
| Small molecule (<15 atoms) | 6-8 |
| Medium molecule (15-50 atoms) | 8-12 |
| Large molecule (>50 atoms) | 12-16 |
More images = smoother path but higher cost (each image is a full DFT calc).
dispersion: "D3BJ" (or "D4" for newer Grimme correction)extra_keywords is unread). Workaround: gas-phase NEB-TS, then refine TS energy with a CPCM single-point.neb_images (more interpolation points)neb_convergence: "loose" for initial run, then tightenHF-3c or orca_method: "PBE", orca_basis: "def2-SVP" firstまだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
Generate and manage ABINIT DFT calculations. Use when the user requests ABINIT, or needs DFPT phonons, GW calculations, or BSE optical spectra.
日本語の概要は準備中です。原文の説明を表示しています。
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.
日本語の概要は準備中です。原文の説明を表示しています。
Use when the user asks for adsorption energy, binding energy, or wants to compare how strongly a molecule binds to a surface.
日本語の概要は準備中です。原文の説明を表示しています。
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.
日本語の概要は準備中です。原文の説明を表示しています。
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.
日本語の概要は準備中です。原文の説明を表示しています。
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 加原子, 删原子, 减原子, 移动原子, 替换原子, 增加氢, 删除氧, 把 ... 换成 ....
日本語の概要は準備中です。原文の説明を表示しています。