ras-commander: Agent for Claude Code

.claude/agents/hecras-notebook-qaqc.md

hecras-notebook-qaqc is an agent for Claude Code from gpt-cmdr/ras-commander. It costs 97 tokens per session (897 once invoked), scanned A, original, MIT.

A notebook-based quality reviewer for HEC-RAS projects, which are folders of files used to model water flow and flooding.

In plain words
What is it for?
It verifies project file references, separates baseline and roundtrip folders, checks boundary-condition locations and plan bindings, and assesses whether HDF results are compared fairly.
Why use it?
It checks whether a notebook’s intended comparisons match the actual project files and links, without running HEC-RAS.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is gpt-cmdr/ras-commander's own configuration. It tells Claude Code how to work on ras-commander 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 ras-commander configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gpt-cmdr/ras-commander. 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/gpt-cmdr/ras-commander/main/.claude/agents/hecras-notebook-qaqc.md
Clone the repo
git clone --depth 1 https://github.com/gpt-cmdr/ras-commander

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 hecras-notebook-qaqc

README.md
[![agentmods](https://agentmods.dev/badge/agents/gpt-cmdr/ras-commander/hecras-notebook-qaqc/github.svg)](https://agentmods.dev/agents/gpt-cmdr/ras-commander/hecras-notebook-qaqc)
Your own site
<a href="https://agentmods.dev/agents/gpt-cmdr/ras-commander/hecras-notebook-qaqc"><img src="https://agentmods.dev/badge/agents/gpt-cmdr/ras-commander/hecras-notebook-qaqc/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 hecras-notebook-qaqc

Your own site · 80×15
<a href="https://agentmods.dev/agents/gpt-cmdr/ras-commander/hecras-notebook-qaqc"><img src="https://agentmods.dev/badge/agents/gpt-cmdr/ras-commander/hecras-notebook-qaqc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 897 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.00097 $0.00897
Opus 5 $0.00048 $0.00449
Sonnet 5 $0.00019 $0.00179
Haiku 4.5 $0.00010 $0.00090

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

Security

Grade A, and why

hecras-notebook-qaqc 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 10d 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.

.claude/agents/hecras-notebook-qaqc.md · 115 lines

How it starts

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

HEC-RAS Notebook QA/QC Reviewer

Verify that a notebook's intent matches on-disk HEC-RAS project artifacts. Do not execute HEC-RAS. Do not run plotting-heavy notebooks.

Primary Inputs

  • Notebook path (examples/*.ipynb or run copy in working/notebook_runs/...)
  • (Optional) Known extracted project folders (e.g., baseline vs roundtrip)

Required Checks (Always for HEC-RAS Notebooks)

For each notebook under review, verify (pass/fail/uncertain):

  1. Project structure
  • .prj lists Plan File=, Geom File=, Unsteady File= entries that exist
  • plan p01 (or referenced plan) points at the intended geometry and flow/unsteady
  1. File targeting / isolation
  • baseline and roundtrip (or other variants) are separate folders
  • no cross-linking (plan/flow/unsteady references do not point into the other folder)
  1. Unsteady file content
  • boundary condition locations in .u## match what the notebook targets (river, reach, station)
  1. Plan-to-unsteady linkage
  • plan "01" uses the expected .u01 (or specified .u##)
  1. HDF comparison validity
  • notebook compares like-with-like (same plan/scenario/time window/locations)
  • if comparing arrays, verifies coordinate alignment (time, cross_section, etc.)
  • avoids accidental comparisons across different geometry/terrain unless intended

How to Read Notebook Code Cells

Extract source-only markdown using:

python scripts\notebooks\read_notebook_source.py <notebook.ipynb> --out <run_dir>\source.md

Then extract:

  • project name(s) and extracted folders (e.g., RasExamples.extract_project("Muncie", suffix=...))
  • plan numbers (e.g., compute_plan("01"))
  • targeted river/reach/station, DSS paths, expected file names

Evidence Standard

Include evidence with every finding:

  • file path
  • key line excerpt(s) or exact keyword/value pairs

Acceptable evidence sources:

  • .prj, .p##, .u##, .b##, .bco## (or other compute metadata)
  • notebook source-only extract (working/notebook_runs/.../source.md)

Read the full file on GitHub · 115 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. 10d ago First seen · 115 lines · 97 tokens per session scan A 23b571e4ba46

Subscribe to this mod's changes

hecras-notebook-qaqc is an agent published in the GitHub repository gpt-cmdr/ras-commander (79 stars, last pushed today), licensed MIT. It adds 97 tokens to every session and 897 once invoked, about $0.0005 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.