Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Dos

ASecurity

Density of states (DOS) workflow in VASP. Three-step process for accurate total and projected DOS, d-band center analysis.

199 stars
0 votes
0 copies
0 views
Added 9/20/2026
developmentpythongo

Works with

mcp

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add Hello-QM/catgo-LRG --skill dos --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dos?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Dos
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hello-qm-dos/badge)](https://www.skillsdirectory.com/skills/hello-qm-dos)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
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

| Parameter | Value | Purpose |
|---|---|---|
| ISMEAR | -5 | Tetrahedron method — accurate DOS integration |
| NEDOS | 3001 | Energy grid points (more = smoother DOS) |
| LORBIT | 11 | Write atom-projected and orbital-projected DOS |
| EMIN/EMAX | auto | Energy range (auto-detected from eigenvalues) |
| LCHARG | True | Write 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")
```

## 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

| Problem | Fix |
|---|---|
| Noisy/spiky DOS | Increase NEDOS (try 5001), use ISMEAR=-5 |
| ISMEAR=-5 error | Need >= 3 k-points per direction. Increase k-mesh |
| No d-band center | dos_analysis only computes d-band for transition metals |
| DOS looks wrong | Check that SCF is converged (EDIFF=1e-6), check ISPIN for magnetic systems |
| Fermi level misplaced | VASP 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)

Attribution

Hello-QMHello-QM
View sourceMore from Hello-QM →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →