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 cxcscmu/SkillLearnBench --skill fortran-namelistgit clone --depth 1 https://github.com/cxcscmu/SkillLearnBenchWrote 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/cxcscmu/skilllearnbench/fortran-namelist)<a href="https://agentmods.dev/skills/cxcscmu/skilllearnbench/fortran-namelist"><img src="https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/fortran-namelist.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.00018 | $0.01222 |
| Opus 5 | $0.00009 | $0.00611 |
| Sonnet 5 | $0.00004 | $0.00244 |
| Haiku 4.5 | $0.00002 | $0.00122 |
Grade A, and why
fortran-namelist 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 8d 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 — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Fortran Namelist Skill
Overview
Fortran namelists are human-readable configuration files used by many scientific models. They use §ion syntax and key=value pairs. Parsing requires careful handling of Fortran syntax quirks.
File Format
§ion_name
parameter1 = value1
parameter2 = value2, value3, value4
array_param = 1, 2, 3, 4, 5
/
Key features:
- Sections enclosed with
&nameand/ - Each section ends with
/ - Values can be scalars or comma-separated arrays
- Comments may appear (starting with
!) - Spaces and newlines are flexible
Reading Namelists
Using f90nml Library (Recommended)
import f90nml
# Read entire namelist
nml = f90nml.read('/path/to/config.nml')
# Access values
kw = nml['light']['Kw']
coef_mix = nml['mixing']['coef_mix_hyp']
# Modify values
nml['light']['Kw'] = 0.35
nml['mixing']['wind_factor'] = 1.1
# Write back
nml.write('/path/to/config.nml', force=True)
Installation
pip install f90nml
Manual Parsing with Regex
For simple changes without additional dependencies:
import re
def read_nml_parameter(nml_file, section, param):
"""Extract single parameter value from namelist"""
with open(nml_file, 'r') as f:
content = f.read()
# Pattern: find section, then parameter
pattern = (r'&' + section + r'.*?' +
r'(\s+' + param + r'\s*=\s*)' +
r'([^,\n/]+)')
match = re.search(pattern, content, re.DOTALL)
if match:
value_str = match.group(2).strip()
try:
return float(value_str)
except ValueError:
return value_str
return None
def update_nml_parameter(nml_file, section, param, value):
"""Update a parameter in namelist"""
with open(nml_file, 'r') as f:
content = f.read()
# Pattern to find and replace parameter in section
pattern = (r'(&' + section + r'.*?)' +
r'(\s+' + param + r'\s*=\s*)' +
r'([^,\n/]+)')
replacement = r'\g<1>\g<2>' + str(value)
new_content = re.sub(pattern, replacement, content,
count=1, flags=re.DOTALL)
with open(nml_file, 'w') as f:
f.write(new_content)
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.
- 8d ago First seen · 165 lines · 18 tokens per session scan A efac5c972337
fortran-namelist is a skill published in the GitHub repository cxcscmu/SkillLearnBench (83 stars, last pushed 2mo ago), licensed MIT. It adds 18 tokens to every session and 1,222 once invoked, about $0.0001 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
rdkit
Cheminformatics toolkit for fine-grained molecular control. SMILES/SDF parsing, descriptors (MW, LogP, TPSA), fingerprints, substructure search, 2D/3D generation, similarity, reactions. For standard workflows with simpler interface, use datamol (wrapper around RDKit). Use rdkit for advanced control, custom…
pymatgen
Materials science toolkit. Crystal structures (CIF, POSCAR), phase diagrams, band structure, DOS, Materials Project integration, format conversion, for computational materials science.
python-packages
Installing and using common Python packages in SkillBench containers. Covers scientific computing, data analysis, and file format libraries.
qutip
Quantum mechanics simulations and analysis using QuTiP (Quantum Toolbox in Python). Use when working with quantum systems including: (1) quantum states (kets, bras, density matrices), (2) quantum operators and gates, (3) time evolution and dynamics (Schrödinger, master equations, Monte Carlo), (4) open quantum systems…
sympy
Use this skill when working with symbolic mathematics in Python. This skill should be used for symbolic computation tasks including solving equations algebraically, performing calculus operations (derivatives, integrals, limits), manipulating algebraic expressions, working with matrices symbolically, physics…
hotpath_init
Configure hotpath profiling in a Rust project. Adds the hotpath dependency with feature-gated setup, instruments main with hotpath::main, functions with measure/measureall, and wraps channels, mutexes, rwlocks, streams, futures, reqwest clients, axum routers and byte-level I/O with hotpath macros. Use when the user…