ras-terrain

ras-terrain is a skill for Claude Code from gpt-cmdr/ras-commander. It costs 36 tokens per session (956 once invoked), scanned A, original, MIT.

A workflow for creating, changing, connecting, sampling, and checking terrain surfaces in HEC-RAS. Terrain is an elevation surface that describes the ground used by the flood model.

In plain words
What is it for?
Use it to build or modify terrain, associate it with model geometry, sample the effective surface, and export registered terrain.
Why use it?
It helps keep source order, coordinate systems, units, missing areas, and links between terrain and model geometry correct.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to build or modify terrain, associate it with model geometry, sample the effective surface, and export registered terrain.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gpt-cmdr/ras-commander/ras-terrain
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gpt-cmdr/ras-commander --skill ras-terrain
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 ras-terrain

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gpt-cmdr/ras-commander/ras-terrain"><img src="https://agentmods.dev/badge/skills/gpt-cmdr/ras-commander/ras-terrain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 956 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.00036 $0.00956
Opus 5.5 $0.00014 $0.00382
Sonnet 5.5 $0.00007 $0.00191
Haiku 4.5 $0.00004 $0.00096

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

Security

Grade A, and why

ras-terrain 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 14d 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/ras-terrain/SKILL.md · 27 lines

How it starts

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

RAS terrain

Cardinal rule: For professional model revisions, build the specification with the engineer/scientist, including report-quality, relevant figures/maps that are actually visually reviewed; the engineer may explicitly defer it. For research, proceed with approval and document within the agreed envelope. Follow the shared specification and reporting workflow, using ras2cng for rich maps when useful. Existing authorization remains valid; do not repeat routine approval requests.

Own the elevation surface and its project dependencies. Use the installed public RasTerrain, RasTerrainModWriter, RasTerrainMod, and RasMap APIs. Route hydraulic result mapping to ras-mapping, land-cover/infiltration parameters to ras-land-surface, and cloud-native packaging to ras-cloud-native-export when available.

  1. Identify whether the task creates base terrain, authors modifications, changes geometry associations, samples the effective surface, or exports an existing registered terrain. Record installed Commander and HEC-RAS releases, selected terrain and geometry/plan, source order, horizontal CRS/units, elevation units/datum, resolution, nodata, and intended outputs. Source main is not proof of installed capability; inspect current signatures and version gates.
  2. During planning, use the terrain topics in the HEC planning references and workflow evidence. Agree on channel invert, fill/raise semantics, side slopes, overlap priority, source data coverage, and tolerances relevant to the requested edit. Do not infer vertical datum from CRS, silently convert elevations, or treat a nominal cell size as an exact source grid.
  3. Preserve original rasters, terrain HDF, Mapper configuration, and geometry/results. Stage a complete authorized project copy and record proposed changes. Reuse public acquisition/preparation APIs for source terrain; missing bathymetry is a data gap, not permission to fabricate it. Creation and registration are distinct: creating an HDF does not associate it with geometry, and registering an existing HDF does not create terrain.
  4. For modifications, use public writers and inspect fresh HDF plus Mapper readback. Check enable flags, modification mode, native group registration, priority, and complete footprint. A written modification can be ignored by native export if Mapper registration is wrong. Read the selected notebook's semantic checks before using a line, polygon, or ellipse writer.
  5. Audit geometry terrain/classification/projection associations and stale result-map terrain names. Preserve unaffected associations. Use installed public RasPreprocess APIs to recompute affected geometry property tables through Commander when the task requires the model to consume the edited terrain; regenerate dependent computation/maps only within authorized scope. Do not treat existing hydraulic results or previously staged mapping inputs as current after a material terrain edit. Prepare fresh mapping inputs or use documented invalidation instead of manually deleting caches.
  6. Validate the intended surface with affected and unchanged control locations, valid/nodata masks, grid and bounds, priority overlaps, and elevations/profile/volume evidence appropriate to the edit. If preprocessing or solving is authorized, use installed public RasPreprocess/RasCmdr workflows and verify final geometry/plan dependencies and completion separately from terrain acceptance. Record pending regeneration when it is outside the task.
  7. For a GeoTIFF of an already registered terrain, use RasTerrain.export_rasmapper_terrain() with exact terrain selection and explicit modification policy. Retain the typed result and JSON receipt; inspect semantic validation and failure kind. Do not fall back to a numerically different row sampler or register the derivative back into the project unless requested.

Read the full file on GitHub · 27 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 14d ago First seen · 27 lines · 36 tokens per session scan A ad1c76a54ec7

Subscribe to this mod's changes

ras-terrain is a skill published in the GitHub repository gpt-cmdr/ras-commander (92 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 956 once invoked, about $0.0001 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-11-18.

Related

ras-terrain compared with skills from other repositories

ras-terrain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ras-terraingpt-cmdr/ras-commanderSkill92todayMITA36Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37ktodayApache-2.0A123Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA44Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA83Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill35ktodayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.9k2d agoApache-2.0A205Claude Code