software-environment

software-environment is a skill for Claude Code from iowarp/clio-kit. It costs 44 tokens per session (1,000 once invoked), scanned A, original, BSD-3-Clause.

A guide to checking software installed on a computing cluster and viewing its saved module environments. Spack is a package manager for scientific software, while modules are named collections of software settings.

In plain words
What is it for?
Use it to find installed Spack packages, see available modules, check which MPI implementation is present, and identify saved environments before running a workload.
Why use it?
It prevents confusing available software with software that is active in the current run. It also explains why loading a module inside a temporary tool process does not persist.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the clio-hpc-skills plugin — 3 skills shipped together

Good fit Use it to find installed Spack packages, see available modules, check which MPI implementation is present, and identify saved environments before running a workload.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iowarp/clio-kit/software-environment
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 iowarp/clio-kit --skill software-environment
Clone the repo
git clone --depth 1 https://github.com/iowarp/clio-kit

Made for: Claude Code.

Or install clio-hpc-skills, the plugin that ships this one along with the rest of its 3 skills.

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 software-environment

README.md
[![agentmods](https://agentmods.dev/badge/skills/iowarp/clio-kit/software-environment/github.svg)](https://agentmods.dev/skills/iowarp/clio-kit/software-environment)
Your own site
<a href="https://agentmods.dev/skills/iowarp/clio-kit/software-environment"><img src="https://agentmods.dev/badge/skills/iowarp/clio-kit/software-environment/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 software-environment

Your own site · 80×15
<a href="https://agentmods.dev/skills/iowarp/clio-kit/software-environment"><img src="https://agentmods.dev/badge/skills/iowarp/clio-kit/software-environment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,000 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.00044 $0.01000
Opus 5.5 $0.00018 $0.00400
Sonnet 5.5 $0.00009 $0.00200
Haiku 4.5 $0.00004 $0.00100

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

Security

Grade A, and why

software-environment 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 9d 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.

skills/clio-hpc-skills/skills/software-environment/SKILL.md · 90 lines

How it starts

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

Software Environments

Two servers answer overlapping questions about available software, and they answer different ones. Reaching for the wrong one gives a confidently wrong answer rather than an error.

There is no module_load, on purpose

The lmod server discovers environments and manages saved collections. It reports what a machine has; it cannot change what is loaded.

That is deliberate rather than missing. A module load performed inside a tool call runs in a child process with a copied environment, and the change dies when that child exits. A tool doing it would report success while nothing was loaded for anything that followed, which is a silently wrong answer rather than an error anyone would see. The tools that used to do this were removed for exactly that reason.

To get software into a run, resolve it with clio-spack:spack_locate and pass output.load_spec to clio-jarvis:jarvis_run in the top-level spack_specs argument, which does persist for the execution. See cluster-run.

Which tool answers which question

"What is loaded right now?" — clio-lmod:module_list. Reflects the server's own environment, which is only meaningful if something loaded it there.

"Does this machine offer X?" — clio-lmod:module_avail with a name pattern. It searches what is currently visible in MODULEPATH.

"Really, does it offer X anywhere?" — clio-lmod:module_spider. Searches the entire module tree, including modules hidden behind a compiler or MPI hierarchy that module_avail cannot see until a prerequisite is loaded. When module_avail comes back empty, this is the one that finds it.

"What does this module actually set?" — clio-lmod:module_show. Use it before depending on a module for anything: it reveals the prerequisites and the variables it sets.

"Is this package installed under Spack?" — clio-spack:spack_find. Only sees what is already built. Zero matches is a successful result, not an error.

"Does a recipe for it exist at all?" — clio-spack:spack_search. Broader than spack_find: it answers whether a recipe exists, in which repo, and whether it happens to be installed. Use it before concluding software is unavailable.

Read the full file on GitHub · 90 lines

Files

What ships with it

1 file 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.

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. 9d ago First seen · 90 lines · 44 tokens per session scan A e83f3f890a83

Subscribe to this mod's changes

software-environment is a skill published in the GitHub repository iowarp/clio-kit (30 stars, last pushed 8d ago), licensed BSD-3-Clause. It adds 44 tokens to every session and 1,000 once invoked, about $0.0002 per session on Opus 5.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-10-08.

Related

Other skills, from other repositories