ras-commander: Agent for Claude Code

.claude/agents/remote-executor.md

remote-executor is an agent for Claude Code from gpt-cmdr/ras-commander. It costs 134 tokens per session (2,594 once invoked), scanned A, original, MIT.

A specialist for running HEC-RAS water-flow simulations across multiple computers or environments. HEC-RAS is software used to model rivers, floods, and waterways.

In plain words
What is it for?
Use it to configure local, Windows, Docker, SSH, or cloud workers, distribute HEC-RAS plans, troubleshoot remote sessions, and collect results from parallel runs.
Why use it?
It helps when simulations are too slow or need to run away from your main computer, while handling different worker types and common connection problems.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents; 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/remote-executor.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 remote-executor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/gpt-cmdr/ras-commander/remote-executor"><img src="https://agentmods.dev/badge/agents/gpt-cmdr/ras-commander/remote-executor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,594 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.00134 $0.02594
Opus 5.5 $0.00054 $0.01038
Sonnet 5.5 $0.00027 $0.00519
Haiku 4.5 $0.00013 $0.00259

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

Security

Grade A, and why

remote-executor 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 13d 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/remote-executor.md · 349 lines

How it starts

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

Remote Executor Subagent

Coordinate distributed HEC-RAS execution using the ras_commander.remote subpackage.

Your Mission

Coordinate distributed HEC-RAS execution across heterogeneous worker pools (local, remote Windows via PsExec, and Docker containers, local or SSH-hosted). Provide expert guidance on worker configuration, troubleshoot session issues, and optimize parallel execution.

When to Use This Subagent

Activate this subagent when users mention:

Trigger Phrases:

  • "Setup remote workers"
  • "Configure PsExec execution"
  • "Run plans on Docker containers"
  • "Distribute models across machines"
  • "Parallel execution across servers"
  • "Remote HEC-RAS computation"
  • "Session ID configuration"
  • "UNC path issues"
  • "Network share setup"
  • "Group Policy for PsExec"

Worker Architecture

Implemented Workers (3)

PsexecWorker - Windows remote execution

  • Technology: PsExec over network shares (SMB)
  • Platform: Windows → Windows
  • Status: ✓ Fully implemented
  • Module: ras_commander/remote/PsexecWorker.py
  • Critical: Requires session_id=2 for HEC-RAS GUI access
  • Dependencies: None (Windows native)

LocalWorker - Local parallel execution

  • Technology: Multiprocessing on same machine
  • Platform: Any (local)
  • Status: ✓ Fully implemented
  • Module: ras_commander/remote/LocalWorker.py
  • Use Case: Baseline parallel execution without remote setup
  • Dependencies: None

DockerWorker - Container execution over SSH

  • Technology: Docker API over SSH tunnel
  • Platform: Any → Linux containers
  • Status: ✓ Fully implemented
  • Module: ras_commander/remote/DockerWorker.py
  • Requirements: docker, paramiko packages
  • Install: pip install ras-commander[remote-docker]

HPC Clusters (Slurm)

init_ras_worker() supports only psexec, local, and docker; other types raise ValueError. For Slurm clusters use RasSlurm (docs/user-guide/slurm-portable-execution.md) or RasApptainer (docs/user-guide/slurm-apptainer-execution.md), not a worker.

Read the full file on GitHub · 349 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. 13d ago Changed · -36 lines · -26 tokens per session 38e0e74bafa4
  2. 25d ago Changed f144e4b0879e
  3. 1mo ago First seen · 385 lines · 160 tokens per session scan A b6c23b35b1c3

Subscribe to this mod's changes

remote-executor is an agent published in the GitHub repository gpt-cmdr/ras-commander (88 stars, last pushed today), licensed MIT. It adds 134 tokens to every session and 2,594 once invoked, about $0.0005 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-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

epidemiology-research-agent

Research agent for epidemiology and public health.

benbrastmckie/nvim · 8 tokens