MatClaw: Skill for Claude Code

.claude/skills/add-vasp/SKILL.md

add-vasp is a skill for Claude Code from DingyangLyu/MatClaw. It costs 36 tokens per session (2,183 once invoked), scanned E, original, Apache-2.0.

A setup step that connects MatClaw to VASP, a materials-science program for running electronic-structure calculations, on a local computer or remote HPC cluster.

In plain words
What is it for?
Use it to configure local or SSH access to VASP for the computation skills that require it.
Why use it?
It lets the agent use an existing VASP installation without bundling the proprietary software into the container.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool.

This is DingyangLyu/MatClaw's own configuration. It tells Claude Code how to work on MatClaw itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MatClaw configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/node/.ssh.

Reuse

Borrowing it

Nothing to install: this file belongs to DingyangLyu/MatClaw. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/DingyangLyu/MatClaw/main/.claude/skills/add-vasp/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/DingyangLyu/MatClaw

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-vasp

README.md
[![agentmods](https://agentmods.dev/badge/skills/dingyanglyu/matclaw/add-vasp.svg)](https://agentmods.dev/skills/dingyanglyu/matclaw/add-vasp)
Your own site
<a href="https://agentmods.dev/skills/dingyanglyu/matclaw/add-vasp"><img src="https://agentmods.dev/badge/skills/dingyanglyu/matclaw/add-vasp.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,183 The whole file, excluding the scripts and references it only reads on demand.
Security scan E 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.02183
Opus 5 $0.00018 $0.01092
Sonnet 5 $0.00007 $0.00437
Haiku 4.5 $0.00004 $0.00218

Measured 7d ago against content hash c9744c445c33, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade E, and why

add-vasp scanned grade E with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Key permissions: `chmod 600 <KEY_PATH>`

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

| SSH key path (on host) | `~/.ssh/id_rsa` | Yes (or use default) |

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf ~/.vasp-remote
.claude/skills/add-vasp/SKILL.md · 265 lines

How it starts

The opening of the file, as written. The whole thing — 265 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add VASP Integration

This skill configures VASP access for MatClaw. VASP is proprietary and cannot be bundled in the container, so we connect to your existing VASP installation — either on a remote HPC cluster (via SSH) or on the local host (via volume mount).

Phase 1: Pre-flight

Check if already configured

ls ~/.vasp-remote/config.json 2>/dev/null

If config exists, show it with vasp-remote config and ask the user if they want to reconfigure.

Ask the user

Use AskUserQuestion to determine the setup mode:

How is VASP available to you?

  1. Remote HPC cluster — I have SSH access to a cluster with VASP installed (most common)
  2. Local installation — VASP is installed on this machine
  3. I don't have VASP — Skip this, use QE and MACE instead

If option 3, tell the user that all 213 computation skills already work without VASP (Method A: MACE for fast screening, Method B: QE for DFT accuracy). Exit.

Phase 2: SSH Cluster Setup

Collect cluster details

Ask the user for:

Field Example Required
SSH host login.hpc.example.edu Yes
SSH user jdoe Yes
SSH key path (on host) ~/.ssh/id_rsa Yes (or use default)
VASP binary path on cluster /opt/vasp/6.4.3/bin/vasp_std Yes
POTCAR directory on cluster /opt/vasp/potpaw_PBE No (agent generates POTCAR)
Scratch/work directory /scratch/jdoe/vasp-jobs Yes
Scheduler type slurm or pbs Yes
Default queue/partition normal No
Default number of cores 16 No (default: 16)
Default walltime 24:00:00 No (default: 24:00:00)
Modules to load vasp/6.4.3 intel/2024 No

Write configuration

mkdir -p ~/.vasp-remote
cat > ~/.vasp-remote/config.json << 'JSONEOF'
{
  "mode": "ssh",
  "ssh": {
    "host": "<HOST>",
    "user": "<USER>",
    "key": "<KEY_PATH>",
    "vasp_bin": "<VASP_BIN>",
    "potcar_dir": "<POTCAR_DIR>",
    "work_dir": "<WORK_DIR>",
    "scheduler": "<slurm|pbs>",
    "queue": "<QUEUE>",
    "nprocs": <NPROCS>,
    "walltime": "<WALLTIME>",
    "modules": "<MODULES>"
  }
}
JSONEOF

Read the full file on GitHub · 265 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 265 lines · 36 tokens per session scan E c9744c445c33

Subscribe to this mod's changes

add-vasp is a skill published in the GitHub repository DingyangLyu/MatClaw (89 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 36 tokens to every session and 2,183 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it E with 3 findings (asks for root, reaches for credential files, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens

auditing-subgroup-fairness

Audit an OpenMed NER or de-identification model for performance disparities across demographic subgroups (sex, age band, race/ethnicity when available) using openmed.eval.fairnessreport. Use when the user wants per-subgroup recall and leakage, wants to check whether de-identification under-protects a group, wants to…

maziyarpanahi/openmed · 148 tokens