OpenParable
Skip to content
← Back to skills

Electronic Analysis

Research
electronic-analysis

Electronic Analysis is an Agent Skill for research published in the Hello-QM/catgo-LRG repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Use when the user asks to analyze DOS, band structure, COHP bonding, d-band center, or MD trajectory properties (RDF, RMSD, RMSF, hydrogen bonds, clustering, dimensionality reduction, dihedral angles, planar density).

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/Hello-QM/catgo-LRG/blob/HEAD/catbot-plugin/skills/electronic-analysis/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/electronic-analysis, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Electronic Structure & MD Trajectory Analysis

Density of States (DOS)

ToolPurpose
catgo_dos_totalTotal DOS
catgo_dos_computeProjected DOS (PDOS) for atom groups
catgo_dos_dbandD-band center, width, filling (catalysis)
catgo_dos_from_dirLoad DOS from remote HPC directory

PDOS Workflow

  1. Get session_id from file upload or catgo_dos_from_dir
  2. Define atom groups: {"groups": [{"atoms": [0,1,2], "channels": "d", "label": "Surface Pt d"}]}
  3. Call catgo_dos_compute with session_id and groups

Channel syntax: "d", "s,p", "dxy,dz2"

D-Band Analysis

catgo_dos_dband(session_id, atoms=[surface_indices]) — Returns d-band center, width, filling.

  • Higher center = stronger adsorbate binding
  • occupied_only_center=True (default) for occupied d-band center

Band Structure

ToolPurpose
catgo_bands_dataBand energies, k-path, band gap
catgo_bands_projectionsProjected (fat) bands with orbital weights

Report: direct/indirect gap, gap value, high-symmetry labels.

COHP (Bonding Analysis)

catgo_cohp_data — Crystal Orbital Hamilton Population from LOBSTER output.

  • bond_indices: 1-based bond numbers
  • Negative -COHP below Fermi = bonding; positive = antibonding
  • ICOHP = quantitative bond strength

MD Trajectory Analysis

All MD tools accept trajectory_b64 (base64-encoded file) and format (pdb, xyz, extxyz, lammpstrj).

Structural Analysis

ToolPurposeKey Parameters
catgo_md_rdfRadial distribution g(r)pairs, r_range, n_bins
catgo_md_rmsdRMSD over time (stability)ref_frame, atom_indices
catgo_md_rmsfPer-atom fluctuationatom_indices
catgo_md_dihedralsDihedral angle evolutionatom_quartets

Hydrogen Bond Analysis

ToolPurpose
catgo_md_hbondsDetect H-bonds per frame
catgo_md_hbond_lifetimeH-bond lifetime autocorrelation

Methods: baker_hubbard or wernet_nilsson. Default: D-A 3.5 A, D-H-A angle 150 deg.

Conformational Analysis

ToolPurpose
catgo_md_clusteringCluster frames by structural similarity (kmeans/dbscan)
catgo_md_dimreducePCA/t-SNE/UMAP embedding
catgo_md_planar_density2D density map (diffusion analysis)

Workflow Recipes

Surface Catalysis DOS

  1. catgo_dos_from_dir(remote_path="...") → 2. catgo_dos_total →
  2. catgo_dos_dband(atoms=[surface]) → 4. catgo_dos_compute(groups=[...])

MD Water/Interface

  1. catgo_md_rdf(pairs=[["O","H"],["O","O"]]) → 2. catgo_md_hbonds →
  2. catgo_md_hbond_lifetime → 4. catgo_md_planar_density(plane="xy")