Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Cluster Config Test

ASecurity

Validate an HPC/cluster configuration against the live cluster BEFORE submitting a VASP workflow, or diagnose why a remote job produced no output. Reads the user's submit script / run config, then calls the validate_hpc_config tool to probe the real cluster over SSH (POTCAR directories, per-element pseudopotentials, and VASP binary resolution under the real module-load + conda environment). Use whenever the user asks to "test my cluster config", "check if VASP will run", "verify my HPC setup"...

199 stars
0 votes
0 copies
0 views
Added 9/20/2026
developmentpythongonode

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add Hello-QM/catgo-LRG --skill cluster_config_test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cluster Config Test?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Cluster Config Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hello-qm-cluster-config-test/badge)](https://www.skillsdirectory.com/skills/hello-qm-cluster-config-test)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: cluster_config_test
description: Validate an HPC/cluster configuration against the live cluster BEFORE submitting a VASP workflow, or diagnose why a remote job produced no output. Reads the user's submit script / run config, then calls the validate_hpc_config tool to probe the real cluster over SSH (POTCAR directories, per-element pseudopotentials, and VASP binary resolution under the real module-load + conda environment). Use whenever the user asks to "test my cluster config", "check if VASP will run", "verify my HPC setup", or after a job silently failed for environment/path reasons.
---

# Cluster Config Test

Provider-agnostic: works for any in-app AI (DeepSeek, Qwen, Kimi, Gemini, Anthropic,
Codex, …). You validate the cluster by calling the `validate_hpc_config` tool — you do
NOT run raw SSH yourself.

## When to Use

- The user wants to confirm their cluster settings work before running a workflow.
- A submitted VASP job "completed" but produced no real output, or POTCAR was missing.
- The user pasted a submit script and asks whether it will run on their cluster.

## Why this matters (the failure it catches)

CatGo builds the POTCAR on the remote host by concatenating
`<potcar_root>/<functional>/<variant>/POTCAR` in POSCAR element order. If the POTCAR
root is wrong/unreachable, an element pseudopotential is missing, or the VASP binary
doesn't resolve under the job's module-load/conda environment, the run fails — and a
plain SLURM job can still exit 0, so the failure is easy to miss. Validate first.

## Procedure

### 1. Gather the config

From the user's **run configuration** or their **submit script**, collect:

- `potcar_root` — directory holding the POTCAR tree, e.g. `/scratch/user/VASP/pot64`
- `potcar_functional` — e.g. `potpaw_PBE` (default), `potpaw_PBE.54`, `potpaw_LDA`
- `vasp_command` — the run line, e.g. `srun --hint=nomultithread vasp_std`
- `module_loads` — every `module load`/`module switch` line (newline-separated)
- `python_env` — the `source …/conda.sh` + `conda activate …` lines

If the user only pasted a submit script, parse these out of it. If something is missing,
ask the user for it (do not guess paths).

### 2. Call the tool

```json
validate_hpc_config({
  "potcar_root": "/scratch/user/VASP/pot64",
  "potcar_functional": "potpaw_PBE",
  "vasp_command": "srun --hint=nomultithread vasp_std",
  "module_loads": "module load vasp/6.4.2",
  "python_env": "source /scratch/user/miniconda3/etc/profile.d/conda.sh\nconda activate catgo"
})
```

The active HPC session and the element list (from the loaded structure) are filled in
automatically — only pass `elements`/`session_id` to override. The tool returns
`{ success, checks: [{ name, ok, severity, detail }], message }`.

### 3. Interpret and report

- `severity: "error"` + `ok: false` → **will break the run**. Report the exact problem
  and fix (wrong POTCAR root, missing element pseudopotential, etc.).
- `severity: "warn"` (e.g. the VASP binary not resolving) → advisory: the binary may
  live only on compute nodes, or the module-load line is wrong. Tell the user which.
- `success: true` → cluster is ready; offer to run the workflow.

Map results to the common causes:

| Check fails | Likely cause / fix |
|---|---|
| POTCAR root directory | wrong/unreachable path; fix `potcar_root`, check it exists on this host |
| Functional directory | wrong functional name; pick the one that exists (e.g. `potpaw_PBE.54`) |
| Element POTCARs (missing X) | that element's pseudopotential dir is absent under the functional |
| VASP binary (warn) | wrong/absent `module load`, or binary only on compute nodes |

### 4. Re-test after fixes

After the user updates a path or module line, call `validate_hpc_config` again. Iterate
until `success: true`, then proceed to submit.

## Notes

- Read-only: the tool only probes; it never writes or submits.
- If there is no connected cluster, the tool errors — tell the user to connect a cluster
  in the HPC panel first.
- This is the deeper counterpart to the "Test configuration" button in the Run dialog:
  the button checks fixed fields; here you read the user's actual submit script.

Attribution

Hello-QMHello-QM
View sourceMore from Hello-QM →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →