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.
curl -O https://raw.githubusercontent.com/gpt-cmdr/ras-commander/main/.claude/skills/hecras_compute_rascontrol/SKILL.mdgit clone --depth 1 https://github.com/gpt-cmdr/ras-commanderWrote 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/gpt-cmdr/ras-commander/hecras_compute_rascontrol)<a href="https://agentmods.dev/skills/gpt-cmdr/ras-commander/hecras_compute_rascontrol"><img src="https://agentmods.dev/badge/skills/gpt-cmdr/ras-commander/hecras_compute_rascontrol/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.
<a href="https://agentmods.dev/skills/gpt-cmdr/ras-commander/hecras_compute_rascontrol"><img src="https://agentmods.dev/badge/skills/gpt-cmdr/ras-commander/hecras_compute_rascontrol.svg" alt="Reviewed on agentmods" width="80" 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.00175 | $0.03021 |
| Opus 5 | $0.00088 | $0.01510 |
| Sonnet 5 | $0.00035 | $0.00604 |
| Haiku 4.5 | $0.00017 | $0.00302 |
Grade A, and why
hecras_compute_rascontrol 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 11d 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 — 398 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Executing HEC-RAS Plans via RasControl (COM Interface)
Use RasControl to automate HEC-RAS versions 3.x-5.x via the HECRASController COM interface. For HEC-RAS 6.x+, use RasCmdr instead.
Primary Sources
1. RasControl Implementation
Location: ras_commander/RasControl.py
Read these key sections:
- Lines 438-527:
RasControlclass with version mapping and output variable codes - Lines 543-742: COM lifecycle management (
_com_open_close()) - Lines 746-884:
run_plan()with smart skip and watchdog protection - Lines 936-1177:
get_steady_results()- extract steady state profiles - Lines 1179-1458:
get_unsteady_results()- extract time series with Max WS - Lines 1647-1909: Process management API (orphan cleanup)
2. Working Examples (Jupyter Notebooks)
examples/120_automating_ras_with_win32com.ipynb- Low-level win32com explorationexamples/121_legacy_hecrascontroller_and_rascontrol.ipynb- Complete RasControl workflows
3. Supporting Documentation
.claude/rules/hec-ras/execution.md- Execution mode comparisonras_commander/AGENTS.md- Library context and module organization
When to Use RasControl vs RasCmdr
| Scenario | Use RasControl | Use RasCmdr |
|---|---|---|
| HEC-RAS 3.x-5.x | Yes | No |
| HEC-RAS 6.x+ | No (use COM only if needed) | Yes (preferred) |
| Need GUI interaction | Yes (COM opens GUI) | No (headless) |
| Version comparison | Yes | Yes |
| Production workflows | Limited | Preferred |
| Parallel execution | No (single-threaded) | Yes |
Quick Reference
Basic Workflow
from ras_commander import init_ras_project, RasControl
# Initialize project with version
init_ras_project(project_path, "5.0.6") # Or "506", "4.1", "41", etc.
# Run plan (checks if current, skips if up-to-date)
success, msgs = RasControl.run_plan("02")
# Force recomputation
success, msgs = RasControl.run_plan("02", force_recompute=True)
# Extract steady state results
df_steady = RasControl.get_steady_results("02")
# Extract unsteady time series (includes Max WS row)
df_unsteady = RasControl.get_unsteady_results("01")
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.
- 11d ago First seen · 398 lines · 175 tokens per session scan A 3c9b1c9650be
hecras_compute_rascontrol is a skill published in the GitHub repository gpt-cmdr/ras-commander (79 stars, last pushed today), licensed MIT. It adds 175 tokens to every session and 3,021 once invoked, about $0.0009 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
neuroskill-bci
Use live BCI cognitive and mood state from NeuroSkill.
ruview-advanced-sensing
Advanced RuView capabilities — RuvSense multistatic sensing (attention-weighted fusion, geometric diversity, persistent field model), cross-viewpoint fusion across multiple nodes, RF tomography (ISTA L1 solver, voxel grids), longitudinal biomechanics drift, pre-movement intention signals, adversarial signal detection…
ruview-applications
Run RuView sensing applications — presence/occupancy, breathing & heart rate, activity & fall detection, 17-keypoint pose estimation (WiFlow), sleep monitoring & apnea screening, environment mapping, Mass Casualty Assessment (MAT), and the 3D point-cloud fusion demo. Use when someone wants to actually do something…
lab-hardware-cad
Design custom laboratory hardware as parametric build123d models and export fabrication-ready STEP, STL, and DXF files - microfluidic chips and molds, optomechanical mounts and breadboard adapters, cuvette and microplate holders, tube racks, animal-behavior rigs, and 3D-printed instrument fixtures. Use when a research…
opentrons-integration
Author, review, migrate, simulate, and troubleshoot official Opentrons Python Protocol API v2 protocols for Flex and OT-2 robots. Use for robot-specific liquid handling, deck and labware setup, pipettes, modules, runtime parameters, liquid classes, and Opentrons App analysis. Use pylabrobot instead when one workflow…
pylabrobot
Develop and review PyLabRobot lab-automation resources, liquid-handling plans, offline simulations, and supported-device integrations. Use for PyLabRobot protocols or API questions; keep physical execution behind an explicit operator safety gate.