ras-commander: Skill for Claude Code

.claude/skills/hecras_export_cloud-native/SKILL.md

hecras_export_cloud-native is a skill for Claude Code from gpt-cmdr/ras-commander. It costs 154 tokens per session (2,479 once invoked), scanned A, original, MIT.

A command-line tool for exporting HEC-RAS model geometry and simulation results into cloud-friendly mapping formats. GeoParquet is a file format for geographic data, PMTiles is a portable map-tile format, and PostGIS stores geographic data in PostgreSQL.

In plain words
What is it for?
Use it to export mesh cells, cross sections, centerlines, depths, water-surface results, and other HEC-RAS data to GeoParquet, PMTiles, or PostGIS.
Why use it?
HEC-RAS results are not always in formats that modern data pipelines and web maps can use directly. This converts model data into formats suitable for analysis, databases, and map delivery.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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 →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ras2cng results model.p01.hdf ./results_dir/ --all \.

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/skills/hecras_export_cloud-native/SKILL.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_export_cloud-native

README.md
[![agentmods](https://agentmods.dev/badge/skills/gpt-cmdr/ras-commander/hecras_export_cloud-native.svg)](https://agentmods.dev/skills/gpt-cmdr/ras-commander/hecras_export_cloud-native)
Your own site
<a href="https://agentmods.dev/skills/gpt-cmdr/ras-commander/hecras_export_cloud-native"><img src="https://agentmods.dev/badge/skills/gpt-cmdr/ras-commander/hecras_export_cloud-native.svg" alt="Measured on agentmods" height="20"></a>
Per session 154 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,479 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00154 $0.02479
Opus 5 $0.00077 $0.01239
Sonnet 5 $0.00031 $0.00496
Haiku 4.5 $0.00015 $0.00248

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

Security

Grade A, and why

hecras_export_cloud-native 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.

.claude/skills/hecras_export_cloud-native/SKILL.md · 285 lines

How it starts

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

Exporting HEC-RAS to Cloud-Native Formats

When the user asks to export HEC-RAS results to GeoParquet, PMTiles, or PostGIS, use this skill with the ras2cng CLI (RAS to Cloud Native GIS). This CLI wraps ras-commander parsers to export HEC-RAS geometry and results to GeoParquet, vector/raster PMTiles, and PostGIS.

Repo: C:\GH\ras2cng


Quick Start

1. Export Geometry to GeoParquet

# HDF geometry (*.g??.hdf) — exports mesh cell polygons by default
ras2cng geometry model.g01.hdf mesh_cells.parquet

# Text geometry (*.g01) — exports cross section cut lines by default
ras2cng geometry model.g01 cross_sections.parquet

# Select a specific layer
ras2cng geometry model.g01.hdf mesh_cells.parquet --layer mesh_cells
ras2cng geometry model.g01.hdf xs.parquet --layer cross_sections
ras2cng geometry model.g01.hdf cl.parquet --layer centerlines

2. Export Results to GeoParquet

# Single variable (default: Maximum Depth)
ras2cng results model.p01.hdf max_depth.parquet

# Specific variable
ras2cng results model.p01.hdf max_wse.parquet --var "Maximum Water Surface"

# Join results onto polygon geometry (results become spatial polygons, not points)
ras2cng results model.p01.hdf max_depth.parquet \
  --geometry mesh_cells.parquet \
  --var "Maximum Depth"

# Export ALL available summary variables to a directory
ras2cng results model.p01.hdf ./results_dir/ --all \
  --geometry mesh_cells.parquet

3. Query with DuckDB

# SQL query — table alias is always `_`
ras2cng query max_depth.parquet "SELECT mesh_name, AVG(maximum_depth) FROM _ GROUP BY mesh_name"

# Save results
ras2cng query max_depth.parquet "SELECT * FROM _ WHERE maximum_depth > 5" --output deep.csv
ras2cng query max_depth.parquet "SELECT * FROM _ WHERE maximum_depth > 5" --output deep.parquet

4. Generate PMTiles

# Vector PMTiles from GeoParquet (requires tippecanoe and pmtiles CLI)
ras2cng pmtiles mesh_cells.parquet mesh_cells.pmtiles --layer mesh_cells

# With zoom range
ras2cng pmtiles mesh_cells.parquet mesh_cells.pmtiles \
  --layer mesh_cells --min-zoom 8 --max-zoom 14

# Raster PMTiles from GeoTIFF (requires gdal_translate and pmtiles CLI)
ras2cng pmtiles results.tif results.pmtiles

Read the full file on GitHub · 285 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. 8d ago First seen · 285 lines · 154 tokens per session scan A 9fc674acec91

Subscribe to this mod's changes

hecras_export_cloud-native is a skill published in the GitHub repository gpt-cmdr/ras-commander (79 stars, last pushed yesterday), licensed MIT. It adds 154 tokens to every session and 2,479 once invoked, about $0.0008 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 skills, from other repositories

arboreto

Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk RNA-seq, single-cell RNA-seq) to identify transcription factor-target gene relationships and regulatory interactions. Supports distributed computation for…

K-Dense-AI/scientific-agent-skills · 66 tokens

torchdrug

Build and troubleshoot TorchDrug 0.2.1 workflows for molecular graphs, property prediction, self-supervised pretraining, molecule generation, retrosynthesis, protein representation learning, and knowledge graph reasoning. Use when code imports torchdrug or needs its datasets, models, tasks, or Engine.

K-Dense-AI/scientific-agent-skills · 61 tokens

deepspot-m

Generate transcriptome-wide virtual spatial transcriptomics from H&E histology with DeepSpot-M. Use when you need spatial gene expression in log1p-CPM for 224x224 tiles at about 20x, want to query protein-coding genes by symbol instead of a fixed panel, or want to run prediction across a whole slide after tiling with…

K-Dense-AI/scientific-agent-skills · 80 tokens

pyhealth

Build clinical/healthcare deep-learning pipelines with PyHealth — loading EHR/signal/imaging datasets (MIMIC-III/IV, eICU, OMOP, SleepEDF, ChestXray14, EHRShot), defining tasks (mortality, readmission, length-of-stay, drug recommendation, sleep staging, ICD coding, EEG events), instantiating models (Transformer…

K-Dense-AI/scientific-agent-skills · 216 tokens

pick-a-pii-model

Select an on-device OpenMed PII model from the committed registry by language, runtime format, and size budget, then require recall validation before deployment. Use when an agent must choose a local PII detector for CPU, Apple Silicon, or a mobile export without relying on live model discovery.

maziyarpanahi/openmed · 64 tokens

esm

Comprehensive toolkit for protein language models including ESM3 (generative multimodal protein design across sequence, structure, and function) and ESM C (efficient protein embeddings and representations). Use this skill when working with protein sequences, structures, or function prediction; designing novel…

synthetic-sciences/openscience · 86 tokens