Skip to content
AI-HydroPublic

About

Ai-Hydro Skills repo

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

AI-Hydro Skills

Domain-specific workflow playbooks for the AI-Hydro VS Code extension. Skills are injected into the agent's system prompt and guide multi-step hydrological analyses.

What is a Skill?

A Skill is a SKILL.md file that tells the AI-Hydro agent how to perform a specific hydrological workflow — step by step, with code examples, interpretation guidance, and common pitfalls. When a skill is installed and enabled, it becomes part of the agent's context for every conversation.

AI-Hydro Skills follow the Agent Skills open standard (SKILL.md format), compatible with Claude Code, Codex, Cursor, Cline, and Windsurf.

Available Skills

Hydrology Workflows

Skill Domain Description
Flood Frequency Analysis frequency-analysis Fit GEV/LP3 distributions, compute return-period quantiles
Drought Indices Calculation frequency-analysis SPI, SPEI, PDSI drought indices from precipitation and temperature
Baseflow Separation baseflow Lyne-Hollick & Eckhardt filters, BFI, recession analysis
Watershed Analysis Workflow composition End-to-end catchment characterisation
Batch Gauge Analysis composition Multi-gauge batch processing with parallel sub-agents
Ungauged Basin Transcription composition Regionalization and donor-gauge transfer for ungauged basins
Model Selection Guide modelling HBV vs LSTM decision framework
Calibration Diagnostics modelling NSE/KGE/FDC diagnostics, residual analysis
Signature Interpretation interpretation Interpret BFI, FDC slope, seasonality, runoff ratio
Snow Hydrology Trends interpretation Snowmelt timing, SWE trends, rain-on-snow analysis

Platform Tools (adapted from Anthropic patterns)

Skill Domain Description
Hydro Visualization interpretation Publication-quality figures — hydrographs, FDCs, Budyko plots, calibration diagnostics
Hydro Data Explorer interpretation Interactive HTML playgrounds — parameter explorers, gauge dashboards, return-period calculators
Interactive Module Builder general Create learning modules — HTML files with executable cells, sliders, quizzes, scrollytelling
Hydro Skill Creator general Author and improve reusable AI-Hydro workflow skills
MCP Tool Builder general Build new @mcp.tool() functions to extend AI-Hydro's capabilities

Installing Skills

Open AI-Hydro → click the Skills toolbar button → Marketplace tab → Install.

Skills are stored globally at ~/.aihydro/skills/ and injected automatically into the agent's system prompt.

Repository Structure

skills/
  <skill-id>/
    SKILL.md        ← workflow instructions (injected into agent)
    manifest.json   ← metadata for the marketplace
api/
  skills.json       ← generated catalog (GitHub Pages); see api/README.md
scripts/            ← build_api.py, lint_skills.py, gen_contributors.py (run by CI, runnable locally)
tests/
CODEOWNERS, LICENSE, CITATION.cff, CONTRIBUTORS.md
.github/
  workflows/
    checks.yml      ← pull-request gate (lint, API --check, CONTRIBUTORS --check, tests)
    build-api.yml   ← verifies api/skills.json on push to main; never commits to main

api/skills.json is generated by python scripts/build_api.py and is never edited by hand. It carries the sha256 of each SKILL.md so a client can verify what it downloaded (the AI-Hydro extension does not yet do this), and it makes no claim about whether a skill is correct: review.metadata_complete only says the manifest is filled in.

Contributing

See CONTRIBUTING.md to author and submit your own skill.

License and attribution

The licence is split, as in AI-Hydro/Modules:

For content you may share and adapt it, including commercially, if you give appropriate credit: name the author(s) from the skill's manifest.json (listed in CONTRIBUTORS.md), link to https://github.com/AI-Hydro/Skills, link the licence and say whether you changed the material. To cite the collection, use CITATION.cff.

A skill whose skill_url points at another repository (today swatplus-builder) is distributed from there under that repository's licence; this repository only lists it.

About

Ai-Hydro Skills repo

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages