Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add SciMate-AI/HPC-Skills --skill hpc-petscgit clone --depth 1 https://github.com/SciMate-AI/HPC-SkillsWrote 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.
[](https://agentmods.dev/skills/scimate-ai/hpc-skills/hpc-petsc)<a href="https://agentmods.dev/skills/scimate-ai/hpc-skills/hpc-petsc"><img src="https://agentmods.dev/badge/skills/scimate-ai/hpc-skills/hpc-petsc/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/scimate-ai/hpc-skills/hpc-petsc"><img src="https://agentmods.dev/badge/skills/scimate-ai/hpc-skills/hpc-petsc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00068 | $0.00917 |
| Opus 5 | $0.00034 | $0.00458 |
| Sonnet 5 | $0.00014 | $0.00183 |
| Haiku 4.5 | $0.00007 | $0.00092 |
Grade A, and why
hpc-petsc scanned grade A with 0 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 12d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HPC PETSc
Treat PETSc as a layered solver toolkit. Start from the highest-level object that matches the mathematical problem and only drop lower when there is a clear reason.
Start
- Read
references/solver-stack-and-object-model.mdbefore creating or repairing a PETSc-based solve path. - Read
references/ksp-and-pc-matrix.mdwhen selecting Krylov methods, direct solves, or preconditioner families. - Read
references/snes-and-ts-patterns.mdwhen the application is nonlinear or time-dependent. - Read
references/options-and-ksp-snes-playbook.mdwhen translating runtime options into code or debugging prefix handling. - Read
references/runtime-option-matrix.mdwhen selecting monitors, residual diagnostics, or common options-database switches. - Read
references/dm-and-discretization-playbook.mdwhenDM, nullspaces, multigrid layout, or field decomposition matter. - Read
references/external-backend-matrix.mdwhen deciding whether to route through HYPRE, direct solvers, or matrix-free paths. - Read
references/build-and-integration.mdwhen configuring PETSc, enabling external packages, or integrating PETSc into another codebase. - Read
references/parallel-and-runtime-debugging.mdwhen a distributed run shows assembly, ownership, convergence, or monitoring problems. - Read
references/error-recovery.mdwhen configure, setup, or solve phases fail.
Work sequence
- Classify the problem first:
- linear system ->
KSP - nonlinear residual ->
SNES - time-dependent problem ->
TS
- linear system ->
- Choose the data model before tuning the solver:
Vecfor distributed unknownsMator matrix-free operator for the linearizationDMwhen mesh, hierarchy, or field layout must drive assembly and coarsening
- Get a robust baseline solve working before tuning for scale.
- Move configuration into the options database whenever practical so runs stay inspectable and reproducible.
- Read convergence reason and monitor output before changing algorithms.
What ships with it
16 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 219 B
- assets/templates/ksp_poisson_minimal.c 1.3 KB
- assets/templates/petsc_build_example.sh 589 B runs code
- assets/templates/petsc_ksp_slurm.sh 428 B runs code
- assets/templates/petsc4py_ksp_minimal.py 619 B runs code
- references/build-and-integration.md 1.5 KB
- references/dm-and-discretization-playbook.md 860 B
- references/error-pattern-dictionary.md 1.1 KB
- references/error-recovery.md 1.0 KB
- references/external-backend-matrix.md 1.4 KB
- references/ksp-and-pc-matrix.md 1.4 KB
- references/options-and-ksp-snes-playbook.md 2.3 KB
- references/parallel-and-runtime-debugging.md 1.6 KB
- references/runtime-option-matrix.md 1.4 KB
- references/snes-and-ts-patterns.md 1.0 KB
- references/solver-stack-and-object-model.md 2.3 KB
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.
- 12d ago First seen · 75 lines · 68 tokens per session scan A 629e822591fb
hpc-petsc is a skill published in the GitHub repository SciMate-AI/HPC-Skills (86 stars, last pushed 5mo ago), licensed MIT. It adds 68 tokens to every session and 917 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
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…
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.
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…
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.
research-engineer
An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.
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…