← 返回 Skills 市场
lemon1044

CP2K Cross-Code Input Studio

作者 lemon1044 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
215
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install cp2k-crosscode-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...
使用说明 (SKILL.md)

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

  1. Read references/design-rules.md.
  2. Read references/job-spec-schema.md to understand the normalized contract.
  3. Read only the references needed for the current task:
    • references/cp2k-task-map.md for task routing
    • references/cp2k-defaults.md for safe defaults
    • references/cp2k-kinds.md for basis/potential choices
    • references/ambiguity-policy.md for under-specified requests
    • references/structure-sources.md when the user needs a structure source rather than already having one
    • references/conversion-rules.md when the user wants Gaussian/VASP/ORCA/Quantum ESPRESSO drafts derived from the CP2K draft or normalized spec
  4. Normalize the request before drafting the CP2K input.
  5. Generate three deliverables whenever possible:
    • normalized.json
    • job.inp
    • report.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 spec
  • scripts/render-cp2k-input.py: render a CP2K input draft from the normalized spec and a structure file
  • scripts/generate_cp2k_bundle.py: one-shot pipeline that writes normalized.json, job.inp, and report.md
  • scripts/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.

安全使用建议
This skill appears coherent and self-contained, but treat outputs as draft inputs only: always review generated job.inp and report.md before running any production CP2K jobs. Pay attention to placeholder pseudopotential names and any review_required warnings (spin states, transition-metal choices, periodicity inferred from .xyz, heuristic k-points). The scripts will read any structure file you supply—do not feed sensitive or unrelated system files. If you need higher assurance, open the bundled scripts locally to inspect them before invoking the skill.
功能分析
Type: OpenClaw Skill Name: cp2k-crosscode-input-studio Version: 1.0.1 The skill bundle is a legitimate utility for generating and converting CP2K computational chemistry input files. The Python scripts (normalize-request.py, render-cp2k-input.py, convert-cp2k-input.py) perform deterministic text processing and file I/O without any network access, obfuscation, or dangerous execution patterns. The use of subprocess.run in generate_cp2k_bundle.py is limited to calling other local scripts within the bundle using the current Python interpreter, and the SKILL.md instructions focus on scientific accuracy and transparency rather than attempting prompt injection or unauthorized system access.
能力评估
Purpose & Capability
Name/description match the provided files: reference docs, examples, and four scripts implement normalization, rendering, bundling, and conversion. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md instructs the agent to read the bundled reference files and use local scripts to produce normalized.json, job.inp, and report.md. The instructions focus on CP2K drafting and conversion and explicitly emphasize conservative defaults and warnings. Expected file I/O is limited to the skill folder and user-supplied structure files.
Install Mechanism
No install spec is provided; this is instruction-plus-scripts only. No downloads, external package installs, or archive extraction are requested in the metadata.
Credentials
The skill declares no required environment variables, credentials, or config paths. The behavior (reading structure files supplied by the user and writing draft files) is proportional to the stated purpose.
Persistence & Privilege
always:false and no self-modifying install steps; normal autonomous invocation is allowed (platform default) and is proportional to the skill's function.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cp2k-crosscode-input-studio
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cp2k-crosscode-input-studio 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Initial release: - Generates practical CP2K input drafts from user requests using explicit assumptions and conservative defaults. - Provides automated normalization, draft input generation, and review reports for CP2K jobs. - Supports structure-aware input generation, task interpretation, and conservative handling of ambiguous or under-specified requests. - Enables cross-conversion of CP2K input files into Gaussian, VASP, ORCA, and Quantum ESPRESSO drafts. - Surfaces key assumptions, warnings, and required user reviews in outputs for reliability and transparency.
v1.0.0
Initial release of cp2k-crosscode-input-studio - Generate, refine, and cross-convert CP2K-centered input drafts for computational chemistry and materials workflows. - Output includes normalized job spec (`normalized.json`), draft CP2K input (`job.inp`), and a review report (`report.md`) outlining assumptions and warning flags. - Supports input review, periodicity, SCF mode, basis/potential choices, k-points, dispersion, MD settings, and cross-conversion to Gaussian, VASP, ORCA, or Quantum ESPRESSO input files. - Implements conservative defaults with explicit warnings on ambiguous or under-specified requests. - Bundles helper scripts for normalization, input generation, and cross-code conversion. - Emphasizes transparency, reproducibility, and safe handling of input assumptions, especially for challenging or under-defined cases.
元数据
Slug cp2k-crosscode-input-studio
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

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。

💬 留言讨论