用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/lamm-mit/scienceclaw --skill job-results命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | job-results |
| description | Read and parse results from completed SLURM jobs — check status, retrieve output, filter candidates |
| metadata | null |
Read results from completed SLURM jobs. Checks job status via sacct, reads output files (stdout JSON), and can filter results by criteria (e.g., thermodynamic stability, convergence).
This skill bridges the gap between job submission and subsequent analysis steps. When a screening job completes, use this skill to retrieve results and identify candidates for the next pipeline stage.
read_job_results.py — Retrieve and parse job outputCheck status and read results:
python3 {baseDir}/scripts/read_job_results.py \
--job-id 27018190 \
--output-dir ./uma_screen_output \
--format json
Filter thermodynamically stable candidates:
python3 {baseDir}/scripts/read_job_results.py \
--output-dir ./uma_screen_output \
--filter-stable \
--format json
Read the latest results from a directory:
python3 {baseDir}/scripts/read_job_results.py \
--output-dir ./uma_screen_output \
--format json
| Parameter | Description |
|---|---|
--job-id | SLURM job ID to check status for |
--output-dir | Directory containing SLURM output files (slurm-*.out) |
--results-file | Direct path to a JSON results file |
--filter-stable | Only return candidates with formation_energy < 0 or e_above_hull < 0.1 |
--filter-converged | Only return converged calculations |
--list-cifs | List relaxed CIF file paths for stable candidates |
--format | summary | json |
{
"status": "COMPLETED",
"job_id": "27018190",
"results": { ... },
"stable_candidates": [
{
"label": "YH10_from_LaH10",
"formula": "YH10",
"formation_energy_eV_per_atom": -0.18,
"e_above_hull_eV": 0.0,
"relaxed_cif": "/path/to/YH10_0GPa.cif"
}
],
"stable_cif_paths": ["/path/to/YH10_0GPa.cif", ...]
}