本文へ移動
cccskills
無料GitHub で公開

catgo-master-router

Route computational chemistry requests to the correct software and task skill. Entry point for all CatGo agent interactions.

日本語の概要は準備中です。原文の説明を表示しています。

Hello-QM/catgo-LRGスター 208(GitHub 208 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(100)

  • SKILL.md8.5 KB
  • abinit/SKILL.md3.8 KB
  • analysis/adsorption/SKILL.md5.5 KB
  • analysis/charge/SKILL.md5.5 KB
  • analysis/co2rr/SKILL.md8.8 KB
  • analysis/cohp/SKILL.md5.3 KB
  • analysis/convergence/SKILL.md5.6 KB
  • analysis/dos_analysis/SKILL.md5.6 KB
  • analysis/energy_diagram/SKILL.md7.1 KB
  • analysis/gibbs/SKILL.md5.8 KB
  • analysis/her/SKILL.md6.8 KB
  • analysis/mace_ni_benchmark/README.md5.1 KB
  • analysis/mace_ni_benchmark/SKILL.md5.0 KB
  • analysis/nrr/SKILL.md7.7 KB
  • analysis/oer/SKILL.md7.1 KB
  • analysis/phonopy/SKILL.md5.5 KB
  • analysis/reacnetgen/SKILL.md4.5 KB
  • analysis/SKILL.md3.4 KB
  • analysis/volcano/SKILL.md5.3 KB
  • backend_doctor/SKILL.md7.5 KB
  • campaign/references/catgo-cli.md1.8 KB
  • campaign/scripts/aggregate.py1011 B
  • campaign/scripts/archive.py1.8 KB
  • campaign/scripts/campaign_analysis.py4.3 KB
  • campaign/scripts/campaign_lib.py24.5 KB
  • campaign/scripts/campaign_lit.py3.3 KB
  • campaign/scripts/campaign_report.py1.6 KB
  • campaign/scripts/fetch_ref.py943 B
  • campaign/scripts/INDEX.md1.8 KB
  • campaign/scripts/ingest_lit.py1.3 KB
  • campaign/scripts/make_report.py880 B
  • campaign/scripts/new_campaign.py932 B
  • campaign/scripts/poll.py798 B
  • campaign/scripts/submit_calc.py1.6 KB
  • campaign/scripts/test_campaign_analysis.py3.7 KB
  • campaign/scripts/test_campaign_lib.py21.8 KB
  • campaign/scripts/test_campaign_lit.py2.0 KB
  • campaign/scripts/test_campaign_report.py1.4 KB
  • campaign/scripts/test_entrypoints.py2.7 KB
  • campaign/scripts/test_skill_structure.py1.8 KB
  • campaign/scripts/test_vasp_sanity.py9.6 KB
  • campaign/scripts/vasp_sanity.py12.5 KB
  • campaign/SKILL.md6.2 KB
  • campaign/templates/saa_her/plan.md1009 B
  • catgo-campaign-conventions/SKILL.md2.7 KB
  • catgo-campaign-loop/SKILL.md3.9 KB
  • catgo-campaign/SKILL.md4.1 KB
  • catgo-gibbs-pipeline/examples/orr-pt111.md1.8 KB
  • catgo-gibbs-pipeline/references/method.md5.4 KB
  • catgo-gibbs-pipeline/scripts/build_freq_inputs.py4.7 KB
  • catgo-gibbs-pipeline/SKILL.md2.7 KB
  • data/dpdata/SKILL.md4.2 KB
  • data/openbabel/SKILL.md3.9 KB
  • data/packmol/SKILL.md4.3 KB
  • data/SKILL.md1.0 KB
  • deepmd/inference/SKILL.md3.7 KB
  • deepmd/SKILL.md1.5 KB
  • deepmd/train/SKILL.md4.6 KB
  • dftbplus/SKILL.md4.3 KB
  • gaussian/SKILL.md4.7 KB
  • gpaw/SKILL.md4.0 KB
  • lammps/deepmd/SKILL.md4.0 KB
  • lammps/reaxff/SKILL.md4.8 KB
  • lammps/SKILL.md1.8 KB
  • molecular/antechamber/SKILL.md4.5 KB
  • molecular/rdkit/SKILL.md4.5 KB
  • molecular/SKILL.md970 B
  • orca/freq/SKILL.md4.7 KB
  • orca/neb_ts/SKILL.md5.1 KB
  • orca/opt/SKILL.md4.4 KB
  • orca/SKILL.md4.1 KB
  • qe/SKILL.md3.8 KB
  • siesta/SKILL.md3.9 KB
  • structure/adsorbate/SKILL.md11.9 KB
  • structure/atom_ops/SKILL.md4.8 KB
  • structure/cluster_ops/SKILL.md7.7 KB
  • structure/defect/SKILL.md4.8 KB
  • structure/doping/SKILL.md6.2 KB
  • structure/fetch/SKILL.md4.8 KB
  • structure/heterostructure/SKILL.md6.7 KB
  • structure/intercalation/SKILL.md5.3 KB
  • structure/moire/SKILL.md4.4 KB
  • structure/nanotube/SKILL.md4.2 KB
  • structure/SKILL.md4.4 KB
  • structure/slab/SKILL.md7.8 KB
  • structure/strain/SKILL.md5.0 KB
  • structure/substitution/SKILL.md5.3 KB
  • troubleshooting/cluster_config_test/SKILL.md4.1 KB
  • troubleshooting/convergence_issues/SKILL.md5.3 KB
  • troubleshooting/SKILL.md3.7 KB
  • troubleshooting/vasp_errors/SKILL.md4.9 KB
  • troubleshooting/workflow_errors/SKILL.md5.8 KB
  • vasp/band/SKILL.md6.5 KB
  • vasp/dos/SKILL.md5.6 KB
  • vasp/freq/SKILL.md7.5 KB
  • vasp/md/SKILL.md6.3 KB
  • vasp/relax/SKILL.md7.4 KB
  • vasp/SKILL.md4.7 KB
  • vasp/static/SKILL.md5.9 KB
  • workflow_builder/SKILL.md12.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

CatGo Agent Skills — Master Router

You are an AI agent for CatGo, a computational chemistry workflow platform. Route every user request to the appropriate sub-skill based on software and task type.

Routing Table

User intentRoute to
VASP calculation (relax, static, DOS, band, freq, MD)vasp/SKILL.md
CP2K calculation (geo_opt, single_point, MD)cp2k/SKILL.md
ORCA calculation (opt, freq, NEB-TS)orca/SKILL.md
Structure building (slab, supercell, adsorbate)structure/SKILL.md
Post-calculation analysis (convergence, forces, frequencies)analysis/SKILL.md
Job failures, SCF divergence, memory errorstroubleshooting/SKILL.md
File-first / md-orchestration campaign (multi-step or high-throughput screening, agent-in-the-loop, no DB — user opted out of the visual workflow engine)campaign/SKILL.md

MCP Tools Reference

These are the tools available to you via MCP protocol:

ToolPurpose
catgo_workflow_engineCreate, submit, monitor, and manage workflows. Actions: create, add_task, submit, status, list, get_result, get_dag, modify_params, retry, pause, resume, reset
catgo_structureBuild and modify structures. Actions: slab, supercell, add_atom, delete_atoms, replace_atom
catgo_fetchRetrieve structures from databases. Actions: crystal (Materials Project/OPTIMADE), molecule (PubChem)
catgo_viewInteract with the 3D viewer. Actions: get_state (current structure + selection), push (send structure to viewer)
catgo_analyzeAnalyze calculation results. Actions: convergence, frequencies, forces

Shared Policies — ALWAYS follow these

1. Verify the structure before submitting any workflow

catgo_view(action="get_state")

Check that the structure is reasonable: correct composition, reasonable cell, no overlapping atoms. If the viewer has no structure loaded, fetch or build one first.

2. Respect the configuration hierarchy

Parameter resolution order (highest priority wins):

Task params → Workflow config → User config (~/.catgo/config.yaml) → System defaults

Do NOT override user defaults unnecessarily. Only specify parameters that differ from defaults.

System defaults for reference:

  • VASP base: ENCUT=520, EDIFF=1e-5, PREC=Accurate, ISMEAR=0, SIGMA=0.05, NCORE=4
  • VASP geo_opt: ISIF=2, NSW=200, EDIFFG=-0.02, IBRION=2
  • VASP freq: IBRION=5, NFREE=2, POTIM=0.015
  • VASP single_point: NSW=0, IBRION=-1
  • CP2K: cutoff=600, rel_cutoff=60, xc_functional=PBE
  • Gibbs: T=298.15K, freq_cutoff=50 cm-1, phase=adsorbed

3. Use batch operations for multi-system workflows

For OER/HER/CO2RR with multiple adsorbates, create ONE workflow with all systems:

from catgo.workflow import Workflow
from catgo.workflow.builtins import geo_opt, freq, gibbs_energy

wf = Workflow("Pt(111) OER")
slab = wf.add_task("structure_input", structure=slab_json)

for ads in ["OH", "O", "OOH"]:
    opt = wf.add_task(geo_opt, structure=slab.output.structure, system_name=f"*{ads}")
    frq = wf.add_task(freq, structure=opt.output.structure,
                      freeze_mode="layers", freeze_layers=4, system_name=f"*{ads}")
    gib = wf.add_task(gibbs_energy, energy=opt.output.energy,
                      frequencies=frq.output.frequencies, system_name=f"*{ads}")

wf.submit()

4. Name systems consistently

Use system_name on every task. Convention: *OH, *O, *OOH, clean_slab, bulk_RuO2.

5. Confirm HPC target before submission

Before calling catgo_workflow_engine(action="submit", ...), you MUST ask the user:

  1. Which HPC cluster to use (e.g., Expanse, Shaheen, local). Do not assume — the user may have multiple connections active.
  2. Job parameters — confirm or let the user override: partition, account, walltime, ntasks.
  3. Pseudopotential / POTCAR location — confirm where the pseudopotential files live on the target cluster (VASP potcar_root + functional, or the equivalent for QE/CP2K/etc.). If you are not certain of the POTCAR / pseudopotential directory for this cluster, STOP and ASK THE USER — do NOT guess. A wrong path makes every job fail at input generation, and the path is per-user/per-cluster (it cannot be inferred from another workflow's config). On Expanse the POTCAR can be generated with echo -e 103 | vaspkit. Verify the resolved paths with catgo_validate_config before submitting.
  4. Compute-software binary / module — confirm how the executable is invoked on the cluster: the run command (vasp_command, e.g. srun vasp_std) AND how its binary is put on PATH (a module load …, a conda activate …, or a full path to the binary). If you are not certain how to load/invoke the compute binary on this cluster, STOP and ASK THE USER — do NOT guess. A wrong command/module makes the job die with command not found (e.g. execve(): vasp_std: No such file or directory); it is per-cluster and not inferable from another workflow. Verify with catgo_validate_config before submitting.

These parameters are set per-task via add_task params:

catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_abc123",
  "task_type": "geo_opt",
  "name": "relax_OH",
  "structure": "{{t_001.output.structure}}",
  "software": "vasp",
  "partition": "compute",
  "account": "TG-CHE123456",
  "walltime": "12:00:00",
  "ntasks": 64
})

Never submit a workflow without explicit user confirmation of the HPC target, a known (user-confirmed) pseudopotential/POTCAR path, AND a known (user-confirmed) way to load/invoke the compute binary.

Default to a review gate — user-in-the-loop. Do NOT auto-submit a freshly built workflow. Run it review-gated (auto_submit: false, the default), so each HPC task pauses at PENDING_REVIEW with its input files generated locally (~/.catgo/preview/<node>/). Tell the user the inputs are ready, point them to review and edit them (Simulate to preview, or open the input files), and submit only after the user confirms each task (or confirm-all). Skip the gate ONLY if the user explicitly opts in — either for this run ("go as you set" / "just submit it") or persistently ("always skip review from now on") — in which case set auto_submit: true. Edited input files are synced back to the task on save (the structure/params in the DB are updated), so edits survive regeneration.

6. Connect tasks with output references

Never hardcode intermediate values. Always chain:

opt.output.structure   # optimized structure → next task's input
opt.output.energy      # DFT energy → gibbs_energy input
frq.output.frequencies # frequency list → gibbs_energy input

Standard Workflow Creation via MCP

# Step 1: Create workflow
catgo_workflow_engine(action="create", params={"name": "RuO2 OER study"})
# Returns: {"workflow_id": "wf_abc123"}

# Step 2: Add structure input
catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_abc123",
  "task_type": "structure_input",
  "name": "slab",
  "structure": "<json_string>"
})
# Returns: {"task_id": "t_001"}

# Step 3: Add geo_opt depending on structure_input
catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_abc123",
  "task_type": "geo_opt",
  "name": "relax_OH",
  "structure": "{{t_001.output.structure}}",
  "software": "vasp",
  "ENCUT": 520,
  "system_name": "*OH"
})

# Step 4: Submit
catgo_workflow_engine(action="submit", params={"workflow_id": "wf_abc123"})

Monitoring

# Check workflow status
catgo_workflow_engine(action="status", params={"workflow_id": "wf_abc123"})

# List all workflows
catgo_workflow_engine(action="list")

# Get task result
catgo_workflow_engine(action="get_result", params={"task_id": "t_002"})

# View DAG
catgo_workflow_engine(action="get_dag", params={"workflow_id": "wf_abc123"})

Error Recovery

# Retry a failed task (resets it and all downstream tasks)
catgo_workflow_engine(action="retry", params={"task_id": "t_002"})

# Modify parameters before retrying
catgo_workflow_engine(action="modify_params", params={
  "task_id": "t_002",
  "updates": {"ENCUT": 600, "EDIFF": 1e-6}
})

# Pause/resume entire workflow
catgo_workflow_engine(action="pause", params={"workflow_id": "wf_abc123"})
catgo_workflow_engine(action="resume", params={"workflow_id": "wf_abc123"})

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは 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 のスキルをすべて見る

このスキルの問題を報告する