mike-compare

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

A comparison guide for two MIKE+ flood-model result files from the same model, such as a baseline and a version with changed parameters. It measures differences and can produce an overlaid hydrograph, a chart of flow or water-level results over time.

In plain words
What is it for?
Use it after rerunning a MIKE+ model to compare peaks, volumes, timing, error measures, or differences at selected model elements.
Why use it?
It shows where a model change mattered, by how much, and when, while keeping the original and changed runs separate and auditable.

Skill for Claude CodeCodex

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

Good fit Use it after rerunning a MIKE+ model to compare peaks, volumes, timing, error measures, or differences at selected model elements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhonghao1995/agentic-mike-plus/mike-compare
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-compare
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-compare

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhonghao1995/agentic-mike-plus/mike-compare"><img src="https://agentmods.dev/badge/skills/zhonghao1995/agentic-mike-plus/mike-compare.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 888 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.00093 $0.00888
Opus 5 $0.00046 $0.00444
Sonnet 5 $0.00019 $0.00178
Haiku 4.5 $0.00009 $0.00089

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

Security

Grade A, and why

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

skills/mike-compare/SKILL.md · 50 lines

How it starts

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

MIKE+ Compare

Closes the loop identify -> change -> re-run -> compare. Works on any two .res1d files with the same element ids (same model, different parameters / scenario / rain).

Making the two runs (do this on COPIES, not MIKE+ scenarios)

runs/<case>/00_model_baseline/   <- copy of the model folder, untouched
runs/<case>/00_model_<variant>/  <- second copy; mike_set_values here only
mike_run on each  -> A.res1d (baseline), B.res1d (variant)

Why not mike_set_scenario + create a scenario? Verified on MIKE+ 2026: a scenario created through mikeplus shares its parent's alternatives, so an edit "in the scenario" changes Base too; and if the scenario is given its own alternatives, mikeplus cannot write into them (mike_set_values reports "did not persist"). mike_set_scenario is therefore only for running scenarios that were prepared in the GUI. Copies are unambiguous and audit-friendly.

Tools

  • mike_results_compare{res1d_a, res1d_b, quantity, element?, skip_hours?, top_n?, label_a?, label_b?}
    • ranked mode (no element): peak change for every element of quantity, sorted by |delta| — by_element.top[], n_increased / n_decreased / n_unchanged, n_only_a/b (ids missing on one side). Ask this first: "where did my edit matter?"
    • single mode (element given): comparison{peak_a, peak_b, delta_peak, delta_peak_pct, peak_time_a/b, peak_time_shift_min, mean_a/b, max_abs_diff(+time), rmse, nse_b_vs_a}; for flow quantities (unit m3/s) also volume_a/b, delta_volume(_pct) in m3. aligned = exact (same time base) or interpolated (B was interpolated onto A's steps; say so).
  • mike_plot_compare{res1d_a, res1d_b, quantity?, element, out_png, label_a?, label_b?, rain_dfs0?, skip_hours?} → overlay (baseline dashed grey, variant solid orange), optional inverted hyetograph on top. House style; no title.

Conventions

  • Same simulation setup and time window on both sides; pass the same skip_hours (warm-up) to both.
  • Report deltas signed, with units and %, plus the peak times: "peak +0.041 m3/s (+5.2 %), 6 min earlier".
  • Volume only for flows; for levels use mean / max_abs_diff.
  • nse_b_vs_a measures how different B is from A (1 = identical), not model skill.
  • If n_only_a/n_only_b > 0, the two runs are not the same network: say so before comparing further.
  • Do not claim a figure exists unless the tool returned {ok:true, png}.

Read the full file on GitHub · 50 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 · 50 lines · 93 tokens per session scan A 47926343409a

Subscribe to this mod's changes

mike-compare is a skill published in the GitHub repository Zhonghao1995/Agentic-MIKE-Plus (7 stars, last pushed 23d ago), licensed MIT. It adds 93 tokens to every session and 888 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.