mike-runner

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

A skill for running MIKE+ water-system simulations without opening its graphical application, using a model file and the MIKE 1D engine.

In plain words
What is it for?
It helps run an active or named simulation, collect result files, inspect completion and error information, and pass results to later reading or plotting steps.
Why use it?
It provides a repeatable way to execute a simulation and check its engine status, while keeping the original model safe by using a copy.

Skill for Claude CodeCodex

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

Good fit It helps run an active or named simulation, collect result files, inspect completion and error information, and pass results to later reading or plotting steps.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhonghao1995/agentic-mike-plus/mike-runner.svg)](https://agentmods.dev/skills/zhonghao1995/agentic-mike-plus/mike-runner)
Your own site
<a href="https://agentmods.dev/skills/zhonghao1995/agentic-mike-plus/mike-runner"><img src="https://agentmods.dev/badge/skills/zhonghao1995/agentic-mike-plus/mike-runner.svg" alt="Measured on agentmods" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 602 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.00085 $0.00602
Opus 5 $0.00043 $0.00301
Sonnet 5 $0.00017 $0.00120
Haiku 4.5 $0.00009 $0.00060

Measured 7d ago against content hash 2c845fa1920b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

mike-runner 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 7d 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-runner/SKILL.md · 29 lines

What it actually says

MIKE+ Runner

Executes a MIKE+ model headless through the mike-plus MCP server (engine: MIKE 1D).

When to use

After a model is ready and you need to actually run it — the active simulation, or a named setup from msm_Project. Do not use this to read results (that's mike-results) or to plot (mike-plot). The whole-workflow rules (run directory, copy policy, stop rules, QA gates) are in mike-end-to-end; a baseline-vs-variant pair of runs is compared with mike-compare.

Tool

  • mike_run — args: sqlite (path), simulation (optional setup id), timeout_s (optional). Returns {ok, active_simulation, result_files[], elapsed_s}, a parsed QA gate {completed, errors, warnings, issues, status, log_file}, and _log_tail (engine console).

Conventions (evidence boundaries)

  • License + install required. mike_run loads the local MIKE 1D engine; it fails on a machine without MIKE+ + a valid license. (Reading/plotting do not.)
  • Always run on a COPY. mikeplus has no undo — copy the model folder first and run the copy, never the user's original.
  • Gate on the QA fields, not just ok. ok only means the call returned. Check status: ok / completed_with_warnings are usable; completed_with_errors or incomplete mean the run is untrustworthy — surface errors/warnings and point at log_file for detail, don't bury them. status="unknown" means no engine log was found.
  • Do not fabricate metrics. Pass the returned result_files to mike-results / mike-plot, and the whole return value to mike_manifest_write (mike-audit).

Orchestration

mike_model_info  -> confirm the active simulation / pick one (mike_set_scenario if a GUI scenario is wanted)
mike_run         -> result_files (.res1d) + status
        -> mike-results (summary / flooding / read)  -> mike-plot  -> mike-audit
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. 7d ago First seen · 29 lines · 85 tokens per session scan A 2c845fa1920b

Subscribe to this mod's changes

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