mike-rain

mike-rain is a skill for Claude Code, Codex from Zhonghao1995/Agentic-MIKE-Plus. It costs 98 tokens per session (848 once invoked), scanned A, original, MIT.

A tool that converts timestamped rainfall data in a CSV file into a .dfs0 rainfall file for MIKE+, software used for water and drainage simulations. It checks the input and reads the created file back for verification.

In plain words
What is it for?
Use it to prepare design storms, gauge records, or climate-scenario rainfall series for a MIKE+ rainfall boundary.
Why use it?
It removes the manual conversion and validation work needed before rainfall data can drive a MIKE+ model.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to prepare design storms, gauge records, or climate-scenario rainfall series for a MIKE+ rainfall boundary.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhonghao1995/agentic-mike-plus/mike-rain
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 Zhonghao1995/Agentic-MIKE-Plus --skill mike-rain
Clone the repo
git clone --depth 1 https://github.com/Zhonghao1995/Agentic-MIKE-Plus

Made for: Claude Code, Codex.

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 mike-rain

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhonghao1995/agentic-mike-plus/mike-rain/github.svg)](https://agentmods.dev/skills/zhonghao1995/agentic-mike-plus/mike-rain)
Your own site
<a href="https://agentmods.dev/skills/zhonghao1995/agentic-mike-plus/mike-rain"><img src="https://agentmods.dev/badge/skills/zhonghao1995/agentic-mike-plus/mike-rain/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 mike-rain

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhonghao1995/agentic-mike-plus/mike-rain"><img src="https://agentmods.dev/badge/skills/zhonghao1995/agentic-mike-plus/mike-rain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 848 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.00098 $0.00848
Opus 5 $0.00049 $0.00424
Sonnet 5 $0.00020 $0.00170
Haiku 4.5 $0.00010 $0.00085

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

Security

Grade A, and why

mike-rain 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.

skills/mike-rain/SKILL.md · 40 lines

How it starts

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

MIKE+ Rain

MIKE+ rainfall boundaries read a .dfs0 of Rainfall Intensity, mm/h, mean-step-backward: exactly the shape of DHI's own example rain files (Sirius_IDF_1year_rainfall.dfs0). This skill produces that file from a CSV.

Tool

  • mike_rain_to_dfs0{csv, out_dfs0, time_col?, value_col?, unit?, item_name?}
    • unit: 'mm/h' (intensity, default) or 'mm' (depth per step, converted with each step's own duration; the conversion is reported).
    • Returns {dfs0, item, n_steps, start, end, timestep_s, uniform_step, total_depth_mm, peak_intensity_mm_h, peak_time, conversion} after reading the file back.

Conventions

  • Time column first, value column second by default; name them if the CSV differs.
  • Rejects negative values, non-numeric cells, unsorted duplicates, fewer than two steps: fix the CSV, do not silently clean it.
  • Report total_depth_mm and peak_intensity_mm_h; if uniform_step is false say so (MIKE 1D accepts irregular steps, but the user should know).
  • The tool never touches the model. To make a MIKE 1D model use the new rain, edit its rainfall boundary with mike-params on a COPY. The boundary lives in table msm_BBoundary (the rainfall row has TypeNo = 1; in Sirius_RTC its MUID is Rainfall) with columns
    • TSConnection = dfs0 path relative to the model folder (DHI's example: Sirius_IDF_1year_rainfall.dfs0), so write the new file into the model copy folder,
    • TimeseriesName = the dfs0 item name (must match: pass item_name to mike_rain_to_dfs0, or set this column to Rainfall),
    • DataTypeName = Rainfall Intensity. mike_get_values {table: msm_BBoundary, columns: [TypeNo, TSConnection, TimeseriesName, DataTypeName]} first, then mike_set_values on that MUID, then run and check mike_results_summary.
  • The same .dfs0 is what mike_plot_rain_flow / mike_plot_compare take as rain_dfs0, so use it for the figure of the run it drove.

Orchestration

mike_rain_to_dfs0 {csv, out_dfs0: runs/<case>/00_model/storm.dfs0, item_name: <existing TimeseriesName or 'Rainfall'>}
mike_get_values  {sqlite: <copy>, table: msm_BBoundary, columns: [TypeNo, TSConnection, TimeseriesName]}
mike_set_values  {sqlite: <copy>, table: msm_BBoundary, muids: [<rain row>], values: {TSConnection: storm.dfs0, TimeseriesName: ...}}
mike_run -> mike_results_summary (skip_hours) -> mike_plot_rain_flow {rain_dfs0: storm.dfs0}
mike_manifest_write {inputs: [csv, storm.dfs0], ...}

Read the full file on GitHub · 40 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 · 40 lines · 98 tokens per session scan A 4470b52af556

Subscribe to this mod's changes

mike-rain is a skill published in the GitHub repository Zhonghao1995/Agentic-MIKE-Plus (7 stars, last pushed 23d ago), licensed MIT. It adds 98 tokens to every session and 848 once invoked, about $0.0005 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-31.