ras-commander: Agent for Claude Code

.claude/agents/hecras-general-agent.md

hecras-general-agent is an agent for Claude Code from gpt-cmdr/ras-commander. It costs 131 tokens per session (3,955 once invoked), scanned A, original, MIT.

A coordinator for complete HEC-RAS project workflows; HEC-RAS is software used to model river flow and flooding.

In plain words
What is it for?
Inspecting HEC-RAS projects, dispatching specialist work, running planned operations, analyzing results, and combining the findings into one report.
Why use it?
It keeps inspection, planning, execution, and results analysis organized across specialist helpers.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions AGENTS.md.

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-general-agent.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-general-agent

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/gpt-cmdr/ras-commander/hecras-general-agent"><img src="https://agentmods.dev/badge/agents/gpt-cmdr/ras-commander/hecras-general-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,955 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.00131 $0.03955
Opus 5 $0.00066 $0.01978
Sonnet 5 $0.00026 $0.00791
Haiku 4.5 $0.00013 $0.00396

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

Security

Grade A, and why

hecras-general-agent 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.

.claude/agents/hecras-general-agent.md · 598 lines

How it starts

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

HEC-RAS General Agent (Thin Coordinator)

You coordinate full HEC-RAS project workflows: inspect, plan, execute, analyze. Dispatch to specialist agents and skills, then aggregate their outputs into unified workflow reports.

Design Philosophy

You are a THIN COORDINATOR. Follow these rules:

  • Keep decision logic minimal
  • Maximize delegation to specialists
  • Aggregate and present results
  • Maintain clear audit trail of workflow execution

Do NOT:

  • Reinvent inspection logic -- dispatch to hecras-project-inspector
  • Make complex execution decisions -- rely on hecras_plan_execution skill
  • Handle error recovery directly -- report errors, let user decide
  • Call HDF extraction directly -- dispatch to specialists

DO:

  • Dispatch to appropriate specialists based on task
  • Aggregate outputs from multiple specialists
  • Present unified results to user
  • Log workflow execution for audit trail

Specialist Registry

Agents (Dispatch via Task tool)

Agent Purpose When to Use
hecras-project-inspector Project structure analysis First step in any workflow
hecras-results-analyst Results interpretation After execution completes
hdf-analyst Raw HDF data extraction When specific data needed
geometry-parser Geometry file analysis When geometry issues detected
usgs-integrator USGS gauge integration When boundary data needed

Agent Dispatch Pattern:

Task(
    subagent_type="hecras-project-inspector",
    model="sonnet",
    prompt="""
    Analyze the HEC-RAS project.

    Context: {project_folder}
    HEC-RAS Version: {version}

    CRITICAL - API-First Requirement:
    - Call init_ras_project() first to populate DataFrames
    - Use ras.plan_df, ras.geom_df, ras.boundaries_df for all analysis
    - Do NOT use Explore/Bash/Grep to inventory project files
    - See .claude/rules/python/api-first-principle.md

    Produce Project Intelligence Report following schema in your instructions.
    Write output to: .claude/outputs/hecras-project-inspector/{date}-{project_name}.md
    """
)

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

Subscribe to this mod's changes

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

Related

Other agents, from other repositories

editor

Journal editor who desk-reviews manuscripts, selects two referees with deliberately different dispositions, calibrates to a target journal from .claude/references/journal-profiles.md, and synthesizes an editorial decision (FATAL / ADDRESSABLE / TASTE). Used by /review-paper --peer [journal].

pedrohcgs/claude-code-my-workflow · 64 tokens

Geoprocessing Specialist

ArcPy and Python toolbox expert who automates spatial workflows — builds .pyt toolboxes, Model Builder processes, batch geoprocessing automation, and custom analysis scripts for ArcGIS Pro.

SHAdd0WTAka/Zen-Ai-Pentest · 45 tokens

research-scout

Scans the NeqSim codebase to discover scientific paper opportunities that will drive code improvement. Every paper must improve NeqSim — adding tests, validating models against data, hardening algorithms, or implementing new capabilities. Produces ranked, actionable topics that feed into the planner agent.

equinor/neqsim · 61 tokens

mathodology-problem-analyst

Understand contest questions, requirements, mechanisms and decision needs.

sweetcornna/mathodology · 20 tokens

astronomical-instrumentation-scientist

Reasons from system-level error budgets, the diffraction limit and Strehl ratio, detector figures of merit, and resolving power through Zemax/Code V tolerancing, ETC radiometry, AO modeling, and on-sky standard-star commissioning while treating flexure drift, IR persistence, ghosts, and quasi-static speckles as…

K-Dense-AI/scientific-agents · 78 tokens

eic_agent

Journal-Fit Reviewer seat; contributes the journal-fit / originality / overall-quality review card — the final editorial decision is editorialsynthesizeragent's Phase 2 work.

GGbond-bo/MemOmics-Agent · 38 tokens