Pymatgen (Materials Genomics)
暂无简介
- License 许可
- MIT
- 所属仓库
- rhCat/skillChip
- 最近更新
- 2026-07-31
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- Pymatgen (Materials Genomics)
- perks
- [ "convert", "analyze", "phasediagram" ]
- skill
- pymatgen
02 资源文件 27
- 其他blueprint.drawio2.7 KB
- 参考文档blueprint.json3.5 KB
- 资产文件blueprint.svg8.9 KB
- 参考文档index.json2.9 KB
- 参考文档ledger.json384 B
- 许可证LICENSE.txt1.0 KB
- 参考文档perks.json827 B
- 参考文档perks/analyze/manifesto.json352 B
- 参考文档perks/analyze/metadata.json1.1 KB
- 参考文档perks/analyze/src/contracts.json336 B
- 脚本perks/analyze/src/structure_analyze.sh1.2 KB
- 脚本perks/analyze/src/structure_analyzer.py8.3 KB
- 参考文档perks/analyze/test/case.json209 B
- 其他perks/analyze/test/fixture/POSCAR208 B
- 参考文档perks/convert/manifesto.json422 B
- 参考文档perks/convert/metadata.json1.1 KB
- 参考文档perks/convert/src/contracts.json409 B
- 脚本perks/convert/src/structure_convert.sh1.2 KB
- 脚本perks/convert/src/structure_converter.py5.1 KB
- 参考文档perks/convert/test/case.json233 B
- 其他perks/convert/test/fixture/POSCAR208 B
- 参考文档perks/phasediagram/manifesto.json434 B
- 参考文档perks/phasediagram/metadata.json1.3 KB
- 参考文档perks/phasediagram/src/contracts.json416 B
- 脚本perks/phasediagram/src/phase_diagram_generator.py7.2 KB
- 脚本perks/phasediagram/src/phase_diagram.sh1.1 KB
- 参考文档perks/phasediagram/test/case.json187 B
03 SKILL.md 正文
pymatgen — Pymatgen (Materials Genomics)
Convert and analyze crystal structures (read-only, local file producers) or build a Materials Project phase diagram for a chemical system (read-only; needs mp-api + MP_API_KEY + network).
What to look out for
Each tool emits one line of structured JSON (the audit + debug log) and writes its
artifacts under record_store. LOGS TO CHECK: that line + the named report + the executor run-ledger.
The cores are vendored pymatgen CLIs. When pymatgen (or mp-api) is absent, each porter degrades
gracefully — it pre-creates its output, records the missing dependency, and still exits 0, so the
contract's output_exists holds. Real conversion/analysis/phase-diagram results require pymatgen
(and, for phasediagram, mp-api plus a valid MP_API_KEY and network access).
Perks
| perk | tool | nature |
|---|---|---|
convert |
structure_convert |
read-only — reads one structure file, writes a converted file under record_store |
analyze |
structure_analyze |
read-only — symmetry / coordination / composition analysis, exports analysis.json |
phasediagram |
phase_diagram |
read-only — queries Materials Project (mp-api + MP_API_KEY + network), writes a stability report |
convert reads a single structure file with automatic format detection and writes it back out in
OUTPUT_FORMAT. analyze reports composition, lattice parameters, space group / symmetry, and
coordination environment, exporting the structured results to analysis.json. phasediagram pulls
all entries for a chemical system from the Materials Project, builds the convex hull, lists the
stable phases, and (optionally) reports the energy above hull / decomposition for a composition.
All three are read-only — none mutate a remote or live service — so each is declared destructive: false.
How to use it
Pick a perk (convert, analyze, or phasediagram), copy ledger.json → task-ledger.json, fill its vars + record_store,
then validate → compose → compile → oversight → executor.
Localized from K-Dense-AI/scientific-agent-skills
pymatgen— MIT (see LICENSE.txt).
04 同仓库更多 Skills
Vercel Deploy
暂无简介
Audio Transcribe
暂无简介
Speech (OpenAI TTS)
暂无简介
Skill Installer
暂无简介
demo-skill
A demo skill used as a test fixture for the validate perk. Use when checking that quick_validate.py accepts a well-formed SKILL.md.
demo-skill
A demo skill used as a test fixture for generating agents/openai.yaml. Use when validating the gen_openai_yaml perk.