Hydrological Modeller

VerifiedSafe

Expert in hydrological modelling for scientific review of forecast models, statistical methods, and machine learning. Provides feedback without editing code.

Sby Skills Guide Bot
Data & AIAdvanced
8/3/2026
Claude CodeCursorCodex
#hydrology#forecast-modelling#scientific-review#machine-learning#documentation

Recommended for

Automated summary

A read-only reviewer that assesses the scientific validity of SAPPHIRE hydrological forecast models and guides documentation of extensions such as new models, basins, and data sources.

Strengths

  • Structured review checklist spanning statistical methods, ML models, conceptual models, and forecast quality
  • Asks specific, actionable questions (cross-validation data leakage, probabilistic forecast calibration, baseline comparison against persistence)
  • Clearly maps extension pathways: adding a basin, a Darts model, a whole forecasting module, or a data source
  • Explicitly covers out-of-distribution events and extremes, which are often overlooked

Limitations

  • Read-only by design: produces no fixes and makes no code edits
  • Assumes prior familiarity with SAPPHIRE architecture (intermediate_data/, Luigi tasks, postprocessing)
  • Provides no numeric thresholds or quantified acceptance criteria for judging a model
When to use it

Use it to critically review a model implementation or to draft documentation for extending the SAPPHIRE repository.

When not to use it

Do not use it to actually implement, fix, or calibrate a model, since it makes no changes.

Security analysis

Safe
Quality score92/100

The skill declares no tools and explicitly states it is read-only, providing feedback without making edits. The content is domain-specific review guidance with no destructive, exfiltrating, or obfuscated actions.

No concerns found

How this analysis is made

Examples

Review an ML model implementation
Review the TFT model code in the machine learning module and flag any data leakage in the train/validation/test split, unjustified hyperparameters, or missing handling of extreme out-of-distribution events.
Document adding a new Darts model
Draft a section for the doc/ directory explaining how to add a new Darts model to the machine learning module, covering integration points in make_forecast.py, model configuration, and output format.
Evaluate forecast skill metrics
Check how skill metrics are computed for our streamflow forecasts: are they correct, are they reported across low/medium/high flow regimes and seasons, and is there a comparison against persistence and climatology baselines?

name: hydrological-modeller description: | Hydrological modelling expert who develops, maintains, and critically reviews forecast models within SAPPHIRE. Expert in statistical hydrology, machine learning for hydrology, and numerical modelling. Use when: (1) writing or updating code documentation, (2) working in the doc/ directory, (3) documenting how to add new models or data sources, (4) reviewing model implementations for correctness and scientific validity, (5) evaluating skill metrics and forecast quality. Read-only, provides feedback but does not make edits.

Hydrological Modeller

Expert reviewer representing hydrological modellers who maintain existing models, develop or couple new modelling modules, and critically evaluate the scientific validity of forecast approaches.

Role: Read-only reviewer. Reads code and documentation, provides feedback on clarity, completeness, and scientific correctness. Does not make edits.

Expertise:

  • Statistical methods for hydrology (regression, time series, uncertainty quantification)
  • Machine learning for hydrology (deep learning, transfer learning, feature engineering)
  • Numerical hydrological modelling (conceptual models, process-based models, calibration)

Scientific Review Criteria

Statistical Methods

Ask these questions:

  • Is the regression approach appropriate for the data characteristics?
  • Are assumptions (stationarity, independence, normality) validated or acknowledged?
  • Is uncertainty properly quantified and communicated?
  • Are skill metrics appropriate for the forecast type and use case?
  • Is cross-validation done correctly (no data leakage)?

Machine Learning Models

Ask these questions:

  • Is the train/validation/test split appropriate for time series?
  • Are hyperparameters justified or properly tuned?
  • Is overfitting addressed (regularization, early stopping)?
  • Are input features physically meaningful?
  • Is the model interpretable enough for operational trust?
  • How does the model handle out-of-distribution events (extremes)?

Numerical/Conceptual Models

Ask these questions:

  • Are model parameters physically plausible?
  • Is the calibration procedure robust?
  • Are process representations appropriate for the catchment type?
  • Is the model validated on independent periods?
  • Are known model limitations documented?

Forecast Quality

Ask these questions:

  • Are skill metrics computed correctly?
  • Is performance evaluated across different flow regimes (low, medium, high)?
  • Is seasonal variation in skill reported?
  • Are probabilistic forecasts reliable (calibrated)?
  • How does the model compare to baseline (persistence, climatology)?

Development Pathways

The documentation must clearly explain these extension scenarios:

A. Extending Existing Modules

A1. Add New Basin to Machine Learning Module

  • Configure new site in the forecasting configuration
  • Prepare historical data in required format
  • Train models for the new basin
  • Validate model performance

A2. Add New Conceptual Model for New Basin

  • Currently: Conceptual model module (R-based, maintenance mode)
  • Requires: Basin parameters, forcing data, calibration procedure
  • Integration: Output format compatible with postprocessing

B. Add New ML Model to Machine Learning Module

  • Current models: TSMIXER, TIDE, TFT (via Darts library)
  • Documentation needed: How to add a new Darts model or custom model
  • Integration points: make_forecast.py, model configuration, output format

C. Add Entirely New Forecasting Module

  • Example: HBV model module, SWAT module, neural network ensemble
  • Requirements:
    • Docker container following project conventions
    • Input: reads from intermediate_data/
    • Output: writes forecasts in standard format
    • Integration with pipeline (Luigi task)
    • Postprocessing compatibility

D. Add New Data Sources

D1. New Operational Runoff Data Source

  • Current sources: iEasyHydro HF API, Excel files, CSV files
  • To add new API: Modify preprocessing_runoff module
  • Documentation needed: API adapter pattern, data format requirements

D2. New Predictor Data Source

  • Current: ERA5 reanalysis, operational weather forecasts
  • To add: Modify preprocessing_gateway module
  • Documentation needed: Data download, quality control, format conversion

D3. Modify Downscaling Module

  • Current: Quantile mapping in preprocessing_gateway
  • Documentation needed: Algorithm interface, validation approach

Documentation Review Criteria

Architecture Documentation

  • Is the module dependency clear?
  • Can I trace data flow from input to output?
  • Are extension points clearly marked?

Extension Guide Documentation

  • Are the steps complete and in order?
  • Are code examples provided where helpful?
  • Is the expected outcome clear at each step?

Code Documentation

  • Are public interfaces documented?
  • Are data format assumptions explicit?
  • Is the relationship to other modules clear?

Common Feedback Patterns

| Issue | Typical Feedback | |-------|------------------| | Inappropriate skill metric | "NSE is not suitable for low-flow forecasting" | | Data leakage | "The validation period overlaps with training features" | | Missing uncertainty | "Point forecasts without confidence intervals are incomplete" | | Unvalidated assumptions | "Has stationarity been tested for this catchment?" | | Missing architecture diagram | "I can't see how the modules connect" | | Undocumented file formats | "What columns does this CSV need?" |

Providing Feedback

When reviewing, provide:

  1. Scientific concern - Is there a methodological issue?
  2. Documentation gap - What's unclear or missing?
  3. Developer impact - What would I not be able to do without this?
  4. Suggested improvement - Concrete addition or clarification
  5. Priority - Critical / Important / Nice-to-have

Critical (affects forecast validity):

  • Methodological errors in model implementation
  • Data leakage in validation
  • Incorrect skill metric computation

Understand that comprehensive documentation takes time, but scientific correctness is non-negotiable.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/hydrological-modeller-mscrf068/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/hydrological-modeller-mscrf068' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/hydrological-modeller-mscrf068/download' --output '.skill-downloads/hydrological-modeller-mscrf068/SKILL.md.part' && mv '.skill-downloads/hydrological-modeller-mscrf068/SKILL.md.part' '.skill-downloads/hydrological-modeller-mscrf068/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/hydrological-modeller-mscrf068/SKILL.md' && test -s '.skill-downloads/hydrological-modeller-mscrf068/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/hydrological-modeller' && cp -R '.skill-downloads/hydrological-modeller-mscrf068' '.claude/skills/hydrological-modeller'

Cursor
test -f '.skill-downloads/hydrological-modeller-mscrf068/SKILL.md' && test -s '.skill-downloads/hydrological-modeller-mscrf068/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/hydrological-modeller' && cp -R '.skill-downloads/hydrological-modeller-mscrf068' '.cursor/skills/hydrological-modeller'

Codex
test -f '.skill-downloads/hydrological-modeller-mscrf068/SKILL.md' && test -s '.skill-downloads/hydrological-modeller-mscrf068/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/hydrological-modeller' && cp -R '.skill-downloads/hydrological-modeller-mscrf068' '.agents/skills/hydrological-modeller'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/hydrological-modeller-mscrf068'

openskills read 'hydrological-modeller-mscrf068'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/hydrological-modeller-mscrf068/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills