Agent skill

Vasp Dos

by Hello-QM in Hello-QM/catgo-LRG

Density of states (DOS) workflow in VASP. An agent skill from Hello-QM/catgo-LRG.

AGPL-3.0Auto-check passed

Install Vasp Dos

skills CLI
$ npx skills add Hello-QM/catgo-LRG --skill vasp-dos -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Hello-QM/catgo-LRG vasp-dos --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Hello-QM/catgo-LRG.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/vasp-dos .claude/skills/vasp-dos && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
vasp-dos
GitHub stars
205
Token cost
~1.4k tokens
SKILL.md length
370 words
Files
1
Skills in repo
75
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Density of states (DOS) workflow in VASP. An agent skill from Hello-QM/catgo-LRG.

  • Works in 3 steps: geo_opt — relax the structure to… → single_point — SCF with ISMEAR=-5… → dos_analysis — extract d-band center,…
  • SKILL.md covers Why Three Steps?, Full DOS Workflow, MCP Workflow and Key DOS Parameters, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Vasp Dos is an agent skill from Hello-QM/catgo-LRG. Density of states (DOS) workflow in VASP. Three-step process for accurate total and projected DOS, d-band center analysis.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: AI-driven workbench for computational materials science — interactive 3D structure viewer, natural-language CatBot assistant, visual DAG workflow engine, HPC job submission… The licence is AGPL-3.0.

Example prompts

  • “/vasp-dos”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. geo_opt — relax the structure to equilibrium
  2. single_point — SCF with ISMEAR=-5 (tetrahedron method) and high NEDOS for accurate DOS
  3. dos_analysis — extract d-band center, orbital projections, and plot data

What it can do on your machine

Read from SKILL.md and the folder at commit fd6291b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Vasp Dos loads about 1.4k tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 370 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Hello-QM/catgo-LRG at commit fd6291b, republished under its AGPL-3.0 licence (© Hello-QM). 370 words, ~1,428 tokens.

Download SKILL.mdSave it as .claude/skills/vasp-dos/SKILL.md (or your agent's skills folder).
name
vasp-dos
description
Density of states (DOS) workflow in VASP. Three-step process for accurate total and projected DOS, d-band center analysis.

VASP Density of States (DOS) Calculation

Compute total and projected density of states. Requires a three-step workflow: geometry optimization, self-consistent single point, and DOS analysis.

Why Three Steps?

  1. geo_opt — relax the structure to equilibrium
  2. single_point — SCF with ISMEAR=-5 (tetrahedron method) and high NEDOS for accurate DOS
  3. dos_analysis — extract d-band center, orbital projections, and plot data

The tetrahedron method (ISMEAR=-5) gives the most accurate DOS but is incompatible with geometry optimization (forces are not well-defined). That is why a separate single point is needed.

Full DOS Workflow

python
from catgo.workflow import Workflow
from catgo.workflow.builtins import geo_opt, single_point, dos_analysis

wf = Workflow("RuO2 DOS")
struct = wf.add_task("structure_input", structure=structure_json)

# Step 1: Optimize geometry
opt = wf.add_task(geo_opt, structure=struct.output.structure,
                  ISIF=2, system_name="relax")

# Step 2: Single point with DOS settings
sp = wf.add_task(single_point, structure=opt.output.structure,
                 ISMEAR=-5,       # Tetrahedron method with Blochl corrections
                 NEDOS=3001,      # Dense energy grid (default is 301)
                 LORBIT=11,       # Projected DOS per atom and orbital
                 LCHARG=True,     # Write charge density
                 EDIFF=1e-6,      # Tight convergence
                 system_name="DOS")

# Step 3: Analyze DOS
dos = wf.add_task(dos_analysis, data=sp.output.energy,
                  d_band=True, system_name="DOS_analysis")

wf.submit()

MCP Workflow

# Create workflow
catgo_workflow_engine(action="create", params={"name": "DOS calculation"})

# Step 1: Input structure
catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_xxx",
  "task_type": "structure_input",
  "structure": "<json>"
})

# Step 2: Geometry optimization
catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_xxx",
  "task_type": "geo_opt",
  "software": "vasp",
  "structure": "{{t_001.output.structure}}",
  "system_name": "relax"
})

# Step 3: Single point for DOS
catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_xxx",
  "task_type": "single_point",
  "software": "vasp",
  "structure": "{{t_002.output.structure}}",
  "ISMEAR": -5,
  "NEDOS": 3001,
  "LORBIT": 11,
  "LCHARG": true,
  "EDIFF": 1e-6,
  "system_name": "DOS"
})

# Step 4: DOS analysis
catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_xxx",
  "task_type": "dos_analysis",
  "data": "{{t_003.output.energy}}",
  "d_band": true,
  "system_name": "DOS_analysis"
})

catgo_workflow_engine(action="submit", params={"workflow_id": "wf_xxx"})

Key DOS Parameters

ParameterValuePurpose
ISMEAR-5Tetrahedron method — accurate DOS integration
NEDOS3001Energy grid points (more = smoother DOS)
LORBIT11Write atom-projected and orbital-projected DOS
EMIN/EMAXautoEnergy range (auto-detected from eigenvalues)
LCHARGTrueWrite CHGCAR for post-processing

ISMEAR=-5 Requirements

  • Requires at least 3 k-points in each periodic direction
  • Do NOT use for Gamma-only calculations (use ISMEAR=0 instead)
  • Do NOT use during geometry optimization (forces are inaccurate)
  • For metals with few k-points, use ISMEAR=1, SIGMA=0.2 and accept slightly noisier DOS

d-Band Center Analysis

The dos_analysis task computes the d-band center for transition metals:

d_band_center = integral(rho_d(E) * E dE) / integral(rho_d(E) dE)

This is valuable for catalysis studies (Norskov d-band model). The analysis automatically identifies transition metal atoms and extracts their d-orbital projected DOS.

Spin-Polarized DOS

For magnetic systems, set ISPIN=2 to get spin-up and spin-down DOS separately:

python
sp = wf.add_task(single_point, structure=opt.output.structure,
                 ISMEAR=-5, NEDOS=3001, LORBIT=11,
                 ISPIN=2,
                 MAGMOM="4*5.0 8*0.6",  # Initial moments
                 system_name="DOS_spin")
Show full SKILL.md (147 more words)Show less

Partial DOS (PDOS) for Specific Atoms

LORBIT=11 writes per-atom projections. The dos_analysis task can extract DOS for specific atoms or orbitals. Common use cases:

  • Surface vs bulk atoms: compare DOS of surface layer vs interior
  • Adsorbate bonding: compare adsorbate p-states with metal d-states
  • Alloying effects: compare d-band of alloy components

Skip Optimization (Pre-Optimized Structure)

If the structure is already optimized, skip step 1:

python
wf = Workflow("DOS only")
struct = wf.add_task("structure_input", structure=optimized_json)
sp = wf.add_task(single_point, structure=struct.output.structure,
                 ISMEAR=-5, NEDOS=3001, LORBIT=11,
                 system_name="DOS")
wf.submit()

Troubleshooting

ProblemFix
Noisy/spiky DOSIncrease NEDOS (try 5001), use ISMEAR=-5
ISMEAR=-5 errorNeed >= 3 k-points per direction. Increase k-mesh
No d-band centerdos_analysis only computes d-band for transition metals
DOS looks wrongCheck that SCF is converged (EDIFF=1e-6), check ISPIN for magnetic systems
Fermi level misplacedVASP sets E_F automatically; verify with band structure

Output

The single_point task produces raw DOSCAR data. The dos_analysis task produces:

  • output.dos_data — total and projected DOS as plottable arrays
  • d-band center, d-band width, and band gap (if applicable)

© Hello-QM, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/vasp-dos of Hello-QM/catgo-LRG.

Open the folder on GitHubat commit fd6291b

Compare with similar skills

Vasp Dos next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Vasp Dos compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Vasp Dos this skillHello-QM/catgo-LRG205—~1.4kAutomated safety check: PassAGPL-3.0
Robius State Managementsickn33/agentic-awesome-skills47k2 repos~3.3kAutomated safety check: PassMIT
State Managementcompozy/compozy2.8k—~2.5kAutomated safety check: PassMIT
You Might Not Need Statesimstudioai/sim30k—~672Automated safety check: PassApache-2.0
Dos Verify Done Claimssickn33/agentic-awesome-skills47k1 repos~2.1kAutomated safety check: PassMIT
Sync State Invariantsopenchamber/openchamber11k—~2.7kAutomated safety check: PassMIT

Similar skills

  • Robius State Management

    sickn33/agentic-awesome-skills

    CRITICAL: Use for Robius state management patterns. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~3.3k tokens
    Frontend & DesignAuto-check passed
  • State Management

    compozy/compozy

    Model, review, and refactor application state so source state stays minimal, derived state is computed instead of synchronized, impossible states are not representable, and each piece of state lives…

    2.8k GitHub stars~2.5k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Analyze and fix unnecessary useState, derived state, and server-state-in-local-state anti-patterns

    30k GitHub stars~672 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Dos Verify Done Claims

    sickn33/agentic-awesome-skills

    Before accepting an agent's 'done / shipped / fixed' claim, verify it against ground truth (git ancestry + the commit's own diff) using the DOS kernel's dos verify and dos commit-audit — never the…

    47k GitHub starsUsed in 1 repo~2.1k tokens
    Media & CreativeAuto-check passed
  • Sync State Invariants

    openchamber/openchamber

    A skill your agent uses when changing session synchronization, bootstrap or reconnect state, event reducers, polling, optimistic updates, message queues, live activity, ordering/reconciliation…

    11k GitHub stars~2.7k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Project State Governor

    sickn33/agentic-awesome-skills

    Govern evidence-backed canonical project state across sessions, branches, reviews, and research cycles without inventing product intent.

    47k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed

More from Hello-QM/catgo-LRG

All 75 skills in this repo
  • Campaign Md Orchestration

    Hello-QM/catgo-LRG

    Drive a file-first, agent-in-the-loop computational campaign via a folder + markdown tree (no DB).

    205 GitHub stars~1.6k tokensUpdated 17 days ago
    Auto-check passed
  • Catgo Gibbs Pipeline

    Hello-QM/catgo-LRG

    Compute adsorption/reaction Gibbs free energies, free-energy diagrams, and electrochemical overpotentials (HER/ORR/OER/CO2RR/NRR) with VASP.

    205 GitHub stars~669 tokensUpdated 17 days ago
    Auto-check passed
  • Abinit

    Hello-QM/catgo-LRG

    Generate and manage ABINIT DFT calculations. An agent skill from Hello-QM/catgo-LRG.

    205 GitHub stars~963 tokensUpdated 17 days ago
    Auto-check passed
  • Adsorbate Placement

    Hello-QM/catgo-LRG

    A skill your agent uses when the user asks to place an adsorbate molecule on a surface, find adsorption sites, or set up a surface+adsorbate model for DFT.

    205 GitHub stars~3k tokensUpdated 17 days ago
    Auto-check passed
  • Adsorption Energy

    Hello-QM/catgo-LRG

    A skill your agent uses when the user asks for adsorption energy, binding energy, or wants to compare how strongly a molecule binds to a surface.

    205 GitHub stars~1.4k tokensUpdated 17 days ago
    Auto-check passed
  • Analysis Router

    Hello-QM/catgo-LRG

    A skill your agent uses 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…

    205 GitHub stars~869 tokensUpdated 17 days ago
    Auto-check passed

Questions about Vasp Dos

What does Vasp Dos do?

Density of states (DOS) workflow in VASP. An agent skill from Hello-QM/catgo-LRG. Vasp Dos is an agent skill from Hello-QM/catgo-LRG. Density of states (DOS) workflow in VASP.

How do I install Vasp Dos in Claude Code?

Run `npx skills add Hello-QM/catgo-LRG --skill vasp-dos -a claude-code`. Or copy the skill folder (.claude/skills/vasp-dos in Hello-QM/catgo-LRG) into .claude/skills/vasp-dos in your project. Claude Code loads it when a task matches its description.

How do I install Vasp Dos in Codex?

Run `npx skills add Hello-QM/catgo-LRG --skill vasp-dos -a codex`. Or copy the skill folder (.claude/skills/vasp-dos in Hello-QM/catgo-LRG) into .agents/skills/vasp-dos in your project. Codex loads it when a task matches its description.

Can I use Vasp Dos in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Hello-QM/catgo-LRG --skill vasp-dos -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/vasp-dos, .gemini/skills/vasp-dos, .github/skills/vasp-dos and .opencode/skills/vasp-dos in your project.

What does Vasp Dos need to run?

SKILL.md names no scripts, command-line tools or credentials: Vasp Dos is instructions for the agent only. Our summary lists: Python 3.

Does Vasp Dos access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Vasp Dos safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Vasp Dos use?

Vasp Dos is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Vasp Dos use?

About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Vasp Dos?

Skills that share tags, products or a category with Vasp Dos: Robius State Management (sickn33/agentic-awesome-skills, 47k stars), State Management (compozy/compozy, 2.8k stars), You Might Not Need State (simstudioai/sim, 30k stars) and Dos Verify Done Claims (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Vasp Dos?

Hello-QM (a GitHub user) maintains it in Hello-QM/catgo-LRG, which has 205 GitHub stars. The repository holds 75 skills in this directory. The repository was last updated on September 22, 2026.

Source: Hello-QM/catgo-LRG on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.