{"skill":{"slug":"cp2k-crosscode-input-studio","displayName":"CP2K Cross-Code Input Studio","summary":"Generate, refine, explain, and cross-convert CP2K-centered input drafts for computational chemistry and materials workflows. Use when a user wants a CP2K .in...","description":"---\nname: cp2k-crosscode-input-studio\ndescription: Generate, refine, explain, and cross-convert CP2K-centered input drafts for computational chemistry and materials workflows. Use when a user wants a CP2K .inp file, asks to turn a natural-language request plus structure file into a runnable draft, wants help choosing conservative CP2K defaults, needs an existing CP2K input reviewed for task mapping, periodicity, SCF mode, basis/potential choices, k-points, dispersion, MD settings, or warning flags, or wants a CP2K draft translated into Gaussian, VASP, ORCA, or Quantum ESPRESSO input files. Helpful for CP2K input generation, input translation, quantum chemistry setup, materials simulation setup, and cross-code draft preparation.\n---\n\n# CP2K input generator\n\nGenerate a practical CP2K draft, not a fake “final validated setup”. Prefer explicit assumptions, conservative defaults, and warnings over false certainty.\n\n## Follow this workflow\n\n1. Read `references/design-rules.md`.\n2. Read `references/job-spec-schema.md` to understand the normalized contract.\n3. Read only the references needed for the current task:\n   - `references/cp2k-task-map.md` for task routing\n   - `references/cp2k-defaults.md` for safe defaults\n   - `references/cp2k-kinds.md` for basis/potential choices\n   - `references/ambiguity-policy.md` for under-specified requests\n   - `references/structure-sources.md` when the user needs a structure source rather than already having one\n   - `references/conversion-rules.md` when the user wants Gaussian/VASP/ORCA/Quantum ESPRESSO drafts derived from the CP2K draft or normalized spec\n4. Normalize the request before drafting the CP2K input.\n5. Generate three deliverables whenever possible:\n   - `normalized.json`\n   - `job.inp`\n   - `report.md`\n\n## Output discipline\n\nAlways make these clear:\n- interpreted task\n- detected system type\n- periodicity assumption\n- major defaults applied\n- warnings / review-required items\n\nDo 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.\n\n## Use the bundled scripts when helpful\n\nThese 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.\n\n- `scripts/normalize-request.py`: normalize a raw request JSON into the standard job spec\n- `scripts/render-cp2k-input.py`: render a CP2K input draft from the normalized spec and a structure file\n- `scripts/generate_cp2k_bundle.py`: one-shot pipeline that writes `normalized.json`, `job.inp`, and `report.md`\n- `scripts/convert-cp2k-input.py`: convert a generated CP2K draft into a conservative Gaussian, VASP, ORCA, or Quantum ESPRESSO draft\n\n## Current supported draft space\n\nSupport is strongest for:\n- molecular xyz jobs\n- single-point energy\n- geometry optimization\n- cell optimization for periodic systems\n- short test MD inputs\n- vibrational analysis drafts\n- conservative periodic-material drafts with heuristic k-points\n- draft conversion from the generated CP2K input/spec into Gaussian, VASP, ORCA, and Quantum ESPRESSO input sets\n\nFor 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.\n\nDo 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.\n\nIf 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.\nfile, keep the draft conservative, surface the limitation in `report.md`, and require manual review instead of fabricating details.\n\nIf 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.\n","tags":{"latest":"1.0.1"},"stats":{"comments":0,"downloads":531,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":2},"createdAt":1773651386629,"updatedAt":1778491943830},"latestVersion":{"version":"1.0.1","createdAt":1773652398009,"changelog":"Initial release:\n\n- Generates practical CP2K input drafts from user requests using explicit assumptions and conservative defaults.\n- Provides automated normalization, draft input generation, and review reports for CP2K jobs.\n- Supports structure-aware input generation, task interpretation, and conservative handling of ambiguous or under-specified requests.\n- Enables cross-conversion of CP2K input files into Gaussian, VASP, ORCA, and Quantum ESPRESSO drafts.\n- Surfaces key assumptions, warnings, and required user reviews in outputs for reliability and transparency.","license":"MIT-0"},"metadata":null,"owner":{"handle":"lemon1044","userId":"s174revdvtjmfphw4ggd9rmr11884ngm","displayName":"lemon1044","image":"https://avatars.githubusercontent.com/u/186657349?v=4"},"moderation":null}