/install cp2k-crosscode-input-studio
CP2K input generator
Generate a practical CP2K draft, not a fake “final validated setup”. Prefer explicit assumptions, conservative defaults, and warnings over false certainty.
Follow this workflow
- Read
references/design-rules.md. - Read
references/job-spec-schema.mdto understand the normalized contract. - Read only the references needed for the current task:
references/cp2k-task-map.mdfor task routingreferences/cp2k-defaults.mdfor safe defaultsreferences/cp2k-kinds.mdfor basis/potential choicesreferences/ambiguity-policy.mdfor under-specified requestsreferences/structure-sources.mdwhen the user needs a structure source rather than already having onereferences/conversion-rules.mdwhen the user wants Gaussian/VASP/ORCA/Quantum ESPRESSO drafts derived from the CP2K draft or normalized spec
- Normalize the request before drafting the CP2K input.
- Generate three deliverables whenever possible:
normalized.jsonjob.inpreport.md
Output discipline
Always make these clear:
- interpreted task
- detected system type
- periodicity assumption
- major defaults applied
- warnings / review-required items
Do not silently invent scientifically decisive inputs such as nontrivial charge, spin state for uncertain open-shell systems, or detailed periodic settings for an xyz file pretending to be a crystal.
Use the bundled scripts when helpful
These scripts are local helper utilities for deterministic text generation inside the skill folder. They are intended for transparent, offline preprocessing/rendering of CP2K draft files, not hidden network actions or privileged system changes.
scripts/normalize-request.py: normalize a raw request JSON into the standard job specscripts/render-cp2k-input.py: render a CP2K input draft from the normalized spec and a structure filescripts/generate_cp2k_bundle.py: one-shot pipeline that writesnormalized.json,job.inp, andreport.mdscripts/convert-cp2k-input.py: convert a generated CP2K draft into a conservative Gaussian, VASP, ORCA, or Quantum ESPRESSO draft
Current supported draft space
Support is strongest for:
- molecular xyz jobs
- single-point energy
- geometry optimization
- cell optimization for periodic systems
- short test MD inputs
- vibrational analysis drafts
- conservative periodic-material drafts with heuristic k-points
- draft conversion from the generated CP2K input/spec into Gaussian, VASP, ORCA, and Quantum ESPRESSO input sets
For harder cases like transition states, NEB, unusual excited-state methods, or poorly defined transition-metal spin states, generate a conservative draft only if the workflow is still interpretable and mark the risky fields for manual review.
Do not pretend that every structure format is parsed equally deeply. If the renderer cannot deterministically recover element-wise KIND data from the provided structure file, keep the draft conservative, surface the limitation in report.md, and require manual review instead of fabricating details.
If converting a CP2K input into another code, prefer CP2K drafts generated by this skill itself. Treat arbitrary hand-written CP2K files as only partially supported unless they stay close to the emitted block structure.
file, keep the draft conservative, surface the limitation in report.md, and require manual review instead of fabricating details.
If converting a CP2K input into another code, prefer CP2K drafts generated by this skill itself. Treat arbitrary hand-written CP2K files as only partially supported unless they stay close to the emitted block structure.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cp2k-crosscode-input-studio - 安装完成后,直接呼叫该 Skill 的名称或使用
/cp2k-crosscode-input-studio触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
CP2K Cross-Code Input Studio 是什么?
Generate, refine, explain, and cross-convert CP2K-centered input drafts for computational chemistry and materials workflows. Use when a user wants a CP2K .in... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 215 次。
如何安装 CP2K Cross-Code Input Studio?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cp2k-crosscode-input-studio」即可一键安装,无需额外配置。
CP2K Cross-Code Input Studio 是免费的吗?
是的,CP2K Cross-Code Input Studio 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
CP2K Cross-Code Input Studio 支持哪些平台?
CP2K Cross-Code Input Studio 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 CP2K Cross-Code Input Studio?
由 lemon1044(@lemon1044)开发并维护,当前版本 v1.0.1。