hpc-hypre

hpc-hypre is a skill for Codex from SciMate-AI/HPC-Skills. It costs 69 tokens per session (818 once invoked), scanned A, original, MIT.

Guidance for building, reviewing, debugging, and tuning hypre-based sparse solvers. hypre is a software library for solving large systems of mathematical equations, often across many computers.

In plain words
What is it for?
Use it with hypre's IJ, Struct, or SStruct interfaces, BoomerAMG, Krylov solvers, MPI-distributed systems, PETSc integrations, and build or runtime failures.
Why use it?
It helps choose the right matrix interface, solver, preconditioner, data ownership, and parallel setup instead of treating every hypre problem the same way.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it with hypre's IJ, Struct, or SStruct interfaces, BoomerAMG, Krylov solvers, MPI-distributed systems, PETSc integrations, and build or runtime failures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scimate-ai/hpc-skills/hpc-hypre
Install

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.

Any agent
npx skills add SciMate-AI/HPC-Skills --skill hpc-hypre
Clone the repo
git clone --depth 1 https://github.com/SciMate-AI/HPC-Skills

Made for: Codex.

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 hpc-hypre

README.md
[![agentmods](https://agentmods.dev/badge/skills/scimate-ai/hpc-skills/hpc-hypre/github.svg)](https://agentmods.dev/skills/scimate-ai/hpc-skills/hpc-hypre)
Your own site
<a href="https://agentmods.dev/skills/scimate-ai/hpc-skills/hpc-hypre"><img src="https://agentmods.dev/badge/skills/scimate-ai/hpc-skills/hpc-hypre/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.

agentmods 80×15 button for hpc-hypre

Your own site · 80×15
<a href="https://agentmods.dev/skills/scimate-ai/hpc-skills/hpc-hypre"><img src="https://agentmods.dev/badge/skills/scimate-ai/hpc-skills/hpc-hypre.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 818 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00069 $0.00818
Opus 5 $0.00034 $0.00409
Sonnet 5 $0.00014 $0.00164
Haiku 4.5 $0.00007 $0.00082

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

Security

Grade A, and why

hpc-hypre 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 11d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (assets/templates/hypre_build_example.sh, assets/templates/hypre_ij_slurm.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/hpc-hypre/SKILL.md · 69 lines

How it starts

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

HPC hypre

Treat hypre as a solver-library family with distinct matrix interfaces and multigrid-heavy preconditioning workflows.

Start

  1. Read references/interface-selection.md before creating or repairing a hypre solve path.
  2. Read references/matrix-and-ownership-playbook.md when choosing row ownership, indexing, or assembly discipline.
  3. Read references/boomeramg-and-krylov-playbook.md when choosing BoomerAMG, Krylov solvers, or a first stable parameter set.
  4. Read references/boomeramg-parameter-matrix.md when changing coarsening, interpolation, smoothing, or cycle choices.
  5. Read references/krylov-and-preconditioner-matrix.md when the operator class does not fit the default PCG plus BoomerAMG baseline.
  6. Read references/structured-and-sstruct-playbook.md when the problem is logically structured or semi-structured.
  7. Read references/build-and-integration.md when building hypre directly or consuming it through PETSc or another host code.
  8. Read references/error-recovery.md when setup, solve, or parallel behavior fails.

Work sequence

  1. Classify the discretization storage first:
    • general sparse assembled system -> IJ
    • structured grid with regular stencil semantics -> Struct
    • mostly structured with coupled variable blocks or irregular pieces -> SStruct
  2. Choose a baseline solver pair that matches the operator:
    • SPD-like problems -> PCG with BoomerAMG
    • general nonsymmetric problems -> GMRES or FlexGMRES with BoomerAMG as the preconditioner
  3. Get the baseline solve working before changing coarsening, interpolation, or relaxation details.
  4. Keep distributed row ownership and matrix assembly consistent across ranks.

Guardrails

  • Do not use the structured interfaces when the data model is really an unstructured sparse matrix.
  • Do not start by over-tuning BoomerAMG; defaults are the first checkpoint.
  • Do not debug multigrid parameters before confirming the operator, nullspace, and boundary conditions are coherent.
  • Do not assume host applications expose every hypre knob unless the integration layer documents it.

Read the full file on GitHub · 69 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. 11d ago First seen · 69 lines · 69 tokens per session scan A 9d2301be4d67

Subscribe to this mod's changes

hpc-hypre is a skill published in the GitHub repository SciMate-AI/HPC-Skills (86 stars, last pushed 5mo ago), licensed MIT. It adds 69 tokens to every session and 818 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.