Prepare, validate, run, and troubleshoot CP2K calculations for periodic and large molecular systems.

Custom licenceAuto-check passed

Install Cp2k

skills CLI
$ npx skills add JCLiuGroup/AI-Computational-Chemist --skill cp2k -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JCLiuGroup/AI-Computational-Chemist cp2k --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/JCLiuGroup/AI-Computational-Chemist.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tools/cp2k .claude/skills/cp2k && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cp2k
GitHub stars
143
Used in
1 other repo
Token cost
~1.7k tokens
SKILL.md length
579 words
Files
27 (incl. scripts, references)
Skills in repo
21
Repo updated
First seen
Licence
Custom licence

At a glance

Prepare, validate, run, and troubleshoot CP2K calculations for periodic and large molecular systems.

  • Works in 5 steps: Decide the scientific question first; if… → Build the input from running.md or a… → Preflight: uv run… → …
  • Quickstep GPW/GAPW DFT
  • SKILL.md covers Required inputs, Where to find what, Workflow and Hard guardrails
  • Calls uv

What it does

Cp2k is an agent skill from JCLiuGroup/AI-Computational-Chemist. Prepare, validate, run, and troubleshoot CP2K calculations for periodic and large molecular systems. Use for Quickstep GPW/GAPW DFT, ENERGY/GEOOPT/CELLOPT, k-points and supercells, basis/pseudopotential/grid convergence, SCF with OT or diagonalization, DFT+U, magnetism, hybrid/HFX/ADMM/RI-HFXk, band/DOS/Molden/Multiwfn analysis, cube fields, low-dimensional electrostatics, vibrational analysis/phonons, NEB/BAND reaction paths, AIMD/PIMD/metadynamics, implicit solvent, semiempirical DFTB/xTB, QM/MM, TDDFT/XAS…

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 28 other files, including scripts and reference files (for example `examples/README.md`, `references/advanced-electronic-methods.md` and `references/aimd.md`).

When your agent uses it

  • Quickstep GPW/GAPW DFT
  • ENERGY/GEOOPT/CELLOPT
  • K-points and supercells
  • Basis/pseudopotential/grid convergence

Example prompts

  • “/cp2k”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Decide the scientific question first; if it is code-agnostic, read the matching knowledge/ doc before choosing CP2K settings.
  2. Build the input from running.md or a verified example; keep all compared energies on the same functional, basis/potential, grid, k-policy…
  3. Preflight: uv run scripts/check_inputs.py input.inp; for novel setups, run cp2k -c input.inp and a short smoke test.
  4. Execute through hpc-submit for durable local/Slurm/PBS runs; before writing
  5. Validate: uv run scripts/parse_cp2k.py output.out; apply validation.md. On failure, use errors.md, change one thing, and rerun.

What it can do on your machine

Read from SKILL.md and the folder at commit e27b555. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cp2k loads about 1.7k tokens when it runs, and up to ~34k if it reads all its reference files. Until then it costs about 141 tokens; SKILL.md has 579 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~141
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~34k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 579 words (~1,720 tokens).

“Task types: single-point (RUN_TYPE ENERGY), optimization (GEO_OPT, CELL_OPT), electronic analysis (DOS/PDOS, band structure, orbitals, charge/population/bonding post-processing), reaction path (RUN_TYPE BAND, CI-NEB, TS validation), vibrations (VIBRATIONAL_ANALYSIS, phonons through phonopy), dynamics (AIMD, thermostats/barostats, PIMD, metadynamics), semiempirical screening (DFTB/xTB), and advanced properties (hybrids…”

— opening of SKILL.md by JCLiuGroup, Custom licence
name
cp2k

Read the full SKILL.md on GitHub

Files

SKILL.md and 26 other files (scripts, references) in tools/cp2k of JCLiuGroup/AI-Computational-Chemist.

  • SKILL.md
  • examples/README.md
  • references/advanced-electronic-methods.md
  • references/aimd.md
  • references/basis-potential.md
  • references/dftu-magnetism.md
  • references/electronic-analysis.md
  • references/errors.md
  • references/geometry-cell-optimization.md
  • references/grids-kpoints-performance.md
  • references/low-dimensional-electrostatics.md
  • references/neb-dimer.md
  • references/nmr.md
  • references/qmmm.md
  • references/resources.md
  • references/running.md
  • references/sccs-solvation.md
  • references/scf-convergence.md
  • references/semiempirical-dftb-xtb.md
  • … and 8 more

Open the folder on GitHubat commit e27b555

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in JCLiuGroup/AI-Computational-Chemist, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Cp2k next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cp2k compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cp2k this skillJCLiuGroup/AI-Computational-Chemist1431 repos~1.7kAutomated safety check: PassCustom licence
Audit Preparationsickn33/agentic-awesome-skills47k1 repos~5.3kAutomated safety check: PassMIT
Release PreparationCherryHQ/cherry-studio52k—~4.3kAutomated safety check: PassAGPL-3.0
Startup It Troubleshootingsickn33/agentic-awesome-skills47k2 repos~3.6kAutomated safety check: NotesMIT
Prepare Paperclip PRpaperclipai/paperclip98k—~954Automated safety check: PassMIT
Prepare MCP Integrationpaperclipai/paperclip98k—~3.1kAutomated safety check: PassMIT

Similar skills

  • Audit Preparation

    sickn33/agentic-awesome-skills

    Audit preparation register: required document, period covered, request and receipt dates, preparer and reviewer, auditor queries and adjustments.

    47k GitHub starsUsed in 1 repo~5.3k tokens
    Legal & ComplianceAuto-check passed
  • Release Preparation

    CherryHQ/cherry-studio

    Prepares a Cherry Studio release by resolving the version, collecting commits, writing bilingual release notes, updating version files and creating a release branch.

    52k GitHub stars~4.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Startup It Troubleshooting

    sickn33/agentic-awesome-skills

    Practical IT troubleshooting playbooks for small teams without dedicated IT staff.

    47k GitHub starsUsed in 2 repos~3.6k tokens
    Auto-check: notes
  • Prepare Paperclip PR

    paperclipai/paperclip

    Prepare a Paperclip branch for PR with commits, template body, and checks.

    98k GitHub stars~954 tokensUpdated today
    DevelopmentAuto-check passed
  • Prepare MCP Integration

    paperclipai/paperclip

    Prepare MCP/vendor integrations through cited research, a content PR, exact-revision human approval, and one governed Paperclip connector PR per approved connection.

    98k GitHub stars~3.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Eol Resistor Calculator

    sickn33/agentic-awesome-skills

    Calculates and validates end-of-line (EOL, SEOL, DEOL, TEOL) resistor loops for intrusion alarm panels (Honeywell, DSC, Paradox, Bosch) with wire gauge drop and state tables.

    47k GitHub starsUsed in 1 repo~3.5k tokens
    Auto-check passed

More from JCLiuGroup/AI-Computational-Chemist

All 21 skills in this repo
  • Research Orchestrator

    JCLiuGroup/AI-Computational-Chemist

    Define and maintain machine-readable research project state for multi-stage computational chemistry work.

    143 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Comp Chem Workflow

    JCLiuGroup/AI-Computational-Chemist

    Entry point and controller for computational chemistry and materials workflows.

    143 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Deepmd

    JCLiuGroup/AI-Computational-Chemist

    DeePMD-kit and Deep Potential Molecular Dynamics workflows. An agent skill from JCLiuGroup/AI-Computational-Chemist.

    143 GitHub starsUsed in 1 repo~780 tokens
    Auto-check passed
  • Gaussian

    JCLiuGroup/AI-Computational-Chemist

    Prepare, validate, and troubleshoot Gaussian molecular quantum chemistry jobs.

    143 GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Gromacs

    JCLiuGroup/AI-Computational-Chemist

    Prepare, validate, run, resume, troubleshoot, and analyze GROMACS molecular dynamics.

    143 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Hpc Submit

    JCLiuGroup/AI-Computational-Chemist

    Submit, monitor, and recover computational chemistry jobs locally, over approved SSH targets, or through Slurm/PBS schedulers.

    143 GitHub starsUsed in 1 repo~878 tokens
    Auto-check passed

Questions about Cp2k

What does Cp2k do?

Prepare, validate, run, and troubleshoot CP2K calculations for periodic and large molecular systems. Cp2k is an agent skill from JCLiuGroup/AI-Computational-Chemist. Prepare, validate, run, and troubleshoot CP2K calculations for periodic and large molecular systems.

When should I use Cp2k?

Cp2k fits situations like: quickstep GPW/GAPW DFT; ENERGY/GEOOPT/CELLOPT; K-points and supercells; basis/pseudopotential/grid convergence.

How do I install Cp2k in Claude Code?

Run `npx skills add JCLiuGroup/AI-Computational-Chemist --skill cp2k -a claude-code`. Or copy the skill folder (tools/cp2k in JCLiuGroup/AI-Computational-Chemist) into .claude/skills/cp2k in your project. Claude Code loads it when a task matches its description.

How do I install Cp2k in Codex?

Run `npx skills add JCLiuGroup/AI-Computational-Chemist --skill cp2k -a codex`. Or copy the skill folder (tools/cp2k in JCLiuGroup/AI-Computational-Chemist) into .agents/skills/cp2k in your project. Codex loads it when a task matches its description.

Can I use Cp2k in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JCLiuGroup/AI-Computational-Chemist --skill cp2k -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cp2k, .gemini/skills/cp2k, .github/skills/cp2k and .opencode/skills/cp2k in your project.

What does Cp2k need to run?

Going by SKILL.md and its folder, Cp2k needs the command-line tools its instructions call (uv).

Does Cp2k access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Cp2k safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Cp2k use?

Cp2k has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Cp2k use?

About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 32k tokens, read only when the agent opens those files.

What are the alternatives to Cp2k?

Skills that share tags, products or a category with Cp2k: Audit Preparation (sickn33/agentic-awesome-skills, 47k stars), Release Preparation (CherryHQ/cherry-studio, 52k stars), Startup It Troubleshooting (sickn33/agentic-awesome-skills, 47k stars) and Prepare Paperclip PR (paperclipai/paperclip, 98k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cp2k?

JCLiuGroup (a GitHub organization) maintains it in JCLiuGroup/AI-Computational-Chemist, which has 143 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on September 27, 2026.

Source: JCLiuGroup/AI-Computational-Chemist on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.