Magnetism analysis
Use when the task is to analyze magnetic DFT results, including total and local magnetic moments, magnetic-state classification, local-moment distribution descriptors, comparing ferromagnetic and antiferromagnetic states, mode-specific candidate ranking, and writing compact markdown reports from finished calculations. Supports VASP and QE-style outputs.From its SKILL.md
npx -y skills add chatmaterials/magnetism-analysisAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, 273 tokens by cl100k_base, as published. Nobody here has run it
Magnetism Analysis
Use this skill for magnetism-focused post-processing rather than generic workflow setup.
When to use
- extract total or local magnetic moments from finished calculations
- classify magnetic states as nonmagnetic-, ferro-, ferri-, or antiferromagnetic-like
- derive compact local-moment distribution and exchange-scale descriptors
- compare FM and AFM states by energy
- summarize magnetic-state ordering or energy splitting
- rank multiple magnetic candidates in ordered, compensated, or local-moment-focused modes
- write a compact magnetism-analysis report from finished calculations
Supported backends:
- VASP-like
OUTCAR - QE-like
pw.x.outfiles with total magnetization
Use the bundled helpers
scripts/analyze_magnetic_state.pySummarize a single magnetic-state calculation.scripts/compare_magnetic_states.pyCompare multiple magnetic-state calculations by energy and total moment.scripts/screen_magnetic_candidates.pyRank multiple magnetic candidates by ground-state character, moment size, and magnetic energy splitting.scripts/export_magnetism_report.pyExport a markdown magnetism-analysis report.
Guardrails
- Do not interpret simple total-energy differences as a full magnetic model by themselves.
- Distinguish local-moment extraction from exchange-parameter fitting.
What ships with it: 26 files
28.7 KB alongside SKILL.md, 6 of them executable
agents/
- openai.yaml261 B
fixtures/
- afm/OUTCAR389 B
- candidates/compensated-robust/afm/OUTCAR389 B
- candidates/compensated-robust/fm/OUTCAR389 B
- candidates/ferri-mixed/afm/OUTCAR389 B
- candidates/ferri-mixed/ferri/OUTCAR389 B
- candidates/weak-fm/afm/OUTCAR389 B
- candidates/weak-fm/fm/OUTCAR389 B
- compare/afm/OUTCAR389 B
- compare/fm/OUTCAR389 B
- ferri/OUTCAR389 B
- fm/OUTCAR389 B
- qe/afm/afm.out146 B
- qe/compare/afm/afm.out146 B
- qe/compare/fm/fm.out146 B
- qe/fm/fm.out146 B
references/
- magnetism.md754 B
scripts/
- analyze_magnetic_state.pyruns973 B
- compare_magnetic_states.pyruns2.3 KB
- export_magnetism_report.pyruns3.1 KB
- magnetism_io.pyruns5.0 KB
- run_regression.pyruns4.4 KB
- screen_magnetic_candidates.pyruns4.4 KB
- .gitignore34 B
- LICENSE1.1 KB
- README.md1.8 KB