All authors

Claude Skills by lzwei196
github.com/lzwei196362 skills0 installs453 views
- Kdt Task Ki CandidateUse the real `tools/summarize_rainfall.py` workflow. Never replace it with a mental calculation or claim an output that was not written. Validate inputs, run the tool, inspect the output CSV, and report failures with their exact fix. This KI turns a daily precipitation CSV into monthly totals. It is a task workflow, not a physical process simulator.Votes: 0GitHub stars: 200
- ADCIRC**Package**: `hydrocraft-adcirc-ocean` v1.0.0 **Model**: ADCIRC v56.2.1 — 2D/3D finite element circulation model **Created by**: Jianyun Zhang Research Group, Hohai University **Last updated**: 2026-03-26 **Stats**: 4 tools | 7 skill documents | 20 diagnostic triplets | ~1,600 lines of validated Python **Validation status**: `build_tested` ---Votes: 0GitHub stars: 200
- ANUGA> **MANDATORY EXECUTION POLICY** — READ BEFORE PROCEEDING > > You MUST run the **actual model binary or package** described in this document. > If the model fails to import, compile, or execute, you MUST: > 1. Check `diagnostics/triplets.yaml` for a matching error pattern > 2. Try the fix suggested in the triplet's `remedy` section > 3. If still failing, report the error to the user with full details > > You MUST NOT substitute a simplified Python formula, regression equation, > or hand-coded...Votes: 0GitHub stars: 200
- APEX**Model**: APEX v0806 (PE32 Windows binary via Wine) **Distributor**: Texas A&M AgriLife / Blackland Research and Extension Center **Source**: https://epicapex.tamu.edu/software/ **Language**: Fortran 90 (Intel Fortran compiled, PE32 executable) **Domain**: Field- and watershed-scale agronomy / hydrology / water-quality **Validation status**: `validated` — Bengbu China corn 6.21 t/ha vs 5.6 observed (+11% bias). Multi-subarea farm (4 fields) validated with CMFD weather, HWSD soil, GGCMI calen...Votes: 0GitHub stars: 200
- APSIM> **MANDATORY EXECUTION POLICY** — READ BEFORE PROCEEDING >Votes: 0GitHub stars: 200
- Alpine3D- **Package**: hydrocraft-alpine3d-snow - **Version**: 1.0.0 - **Model**: Alpine3D (with MeteoIO + SNOWPACK) - **Domain**: Cryosphere — spatially distributed snow, energy balance, and runoff in mountainous terrain - **Created**: 2026-03-26 - **Last updated**: 2026-04-30 - **Tools**: 4 | **Skill Documents**: 6 | **Diagnostic Triplets**: 22 | **Validation**: T3 (3 SNOTEL sites, 5 WY each)Votes: 0GitHub stars: 200
- Amanzi ATS**Package**: `hydrocraft-amanzi-ats` v1.0.0 **Model**: Amanzi + ATS (Advanced Terrestrial Simulator) **Domain**: Groundwater flow, reactive transport, integrated surface-subsurface hydrology **Created by**: Auto-dissection pipeline **Last updated**: 2026-03-25 **Stats**: 4 tools | 5 skill documents | 18 diagnostic triplets | ~1,200 lines of validated Python **Validation status**: `NOT_RUNNABLE` (binary requires MPI+Trilinos build; KI tools validated with Python surrogate only) ---Votes: 0GitHub stars: 200
- AquaCrop**Package**: `aquacrop-ospy-knowledge` v1.0.0 **Target Model**: AquaCrop-OSPy v3.0.12 (FAO AquaCrop v7.1 Python implementation) **Domain**: Crop-water productivity modeling and deficit irrigation optimization **Install**: `pip install aquacrop` (requires numpy>=1.22, pandas>=2.0, tqdm>=4.65) ---Votes: 0GitHub stars: 200
- Docs> **Stage ID**: s10_water_productivity > **Pipeline order**: 10 of 10 > **Depends on**: s9_output_analysisVotes: 0GitHub stars: 200
- Docs> **Stage ID**: s1_crop_selection > **Pipeline order**: 1 of 10 > **Depends on**: noneVotes: 0GitHub stars: 200
- Docs> **Stage ID**: s2_soil_profile > **Pipeline order**: 2 of 10 > **Depends on**: noneVotes: 0GitHub stars: 200
- Docs> **Stage ID**: s3_weather_prep > **Pipeline order**: 3 of 10 > **Depends on**: noneVotes: 0GitHub stars: 200
- Docs> **Stage ID**: s4_initial_conditions > **Pipeline order**: 4 of 10 > **Depends on**: s2_soil_profileVotes: 0GitHub stars: 200
- Docs> **Stage ID**: s5_irrigation > **Pipeline order**: 5 of 10 > **Depends on**: noneVotes: 0GitHub stars: 200
- Docs> **Stage ID**: s6_field_management > **Pipeline order**: 6 of 10 > **Depends on**: noneVotes: 0GitHub stars: 200
- Docs> **Stage ID**: s7_model_assembly > **Pipeline order**: 7 of 10 > **Depends on**: s1_crop_selection, s2_soil_profile, s3_weather_prep, s4_initial_conditions, s5_irrigation, s6_field_managementVotes: 0GitHub stars: 200
- Docs> **Stage ID**: s8_execution > **Pipeline order**: 8 of 10 > **Depends on**: s7_model_assemblyVotes: 0GitHub stars: 200
- Docs> **Stage ID**: s9_output_analysis > **Pipeline order**: 9 of 10 > **Depends on**: s8_executionVotes: 0GitHub stars: 200
- BIOME BGCpython tools/convert_forcing_to_bgc.py --source nasa_power \ --lat <lat> --lon <lon> --start_year <y0> --end_year <y1> --output metdata/site.mtc43 python tools/convert_forcing_to_bgc.py --source cmfd --forcing_dir <CMFD store> \ --lat <lat> --lon <lon> --start_year <y0> --end_year <y1> --output metdata/site.mtc43 # China only python tools/convert_forcing_to_bgc.py --source mswx --forcing_dir KISSPATH_FORCING \ --lat <lat> --lon <lon> --start_year <y0> --end_year <y1> --output metdata/site.m...Votes: 0GitHub stars: 200
- DocsGenerate the BIOME-BGC initialization (.ini) file that controls all aspects of a simulation: input file paths, simulation timing, climate change scenarios, CO2, site physical properties, initial conditions, and output configuration.Votes: 0GitHub stars: 200
- DocsBuild the BIOME-BGC daily meteorological input file straight from the data source: CMFD, MSWX or NASA POWER (read by the tool through the shared loader `ki_tools_common.load_forcing.load_daily_forcing`) or a FLUXNET2015 tower file. The met file is never made from another model's input files (dt_028). This stage contains the most dangerous unit conversion traps in the entire pipeline.Votes: 0GitHub stars: 200
- DocsRun BIOME-BGC for hundreds to thousands of simulated years to bring soil carbon and nitrogen pools to steady-state equilibrium. This is the most critical and unique stage in the BIOME-BGC pipeline -- no other HydroCraft model requires multi-century spinup.Votes: 0GitHub stars: 200
- BMI**Package**: `hydrocraft-bmi-framework` v1.0.0 **Model**: BMI v2.0 — Basic Model Interface Specification **Source**: https://github.com/csdms/bmi **Created by**: CSDMS (Community Surface Dynamics Modeling System), University of Colorado Boulder **Authors**: Eric W.H. Hutton, Mark D. Piper, Gregory E. Tucker **Last updated**: 2026-03-26 **Stats**: 4 tools | 5 skill documents | 17 diagnostic triplets | ~1,200 lines of validated Python **Validation status**: `specification_validated` (bmi-exampl...Votes: 0GitHub stars: 200
- CAESAR Lisflood**Package**: `hydrocraft-caesar-lisflood` v1.0.0 **Model**: HAIL-CAESAR v1.0 (High-performance Architecture Independent LISFLOOD-CAESAR) **Domain**: Geomorphology / Flood inundation / Landscape evolution **Language**: C++ (compiled with g++, OpenMP parallelisation) **Source**: https://github.com/dvalters/HAIL-CAESAR **Created by**: Hydrocraft dissection pipeline **Last updated**: 2026-03-26 **Stats**: 4 tools | 5 skill documents | 15+ diagnostic triplets **Validation status**: `test_validated...Votes: 0GitHub stars: 200
- CE QUAL W2**Package**: `hydrocraft-cequalw2-reservoir` v1.0.0 **Model**: CE-QUAL-W2 v4.5 (2D laterally-averaged hydrodynamic and water quality) **Created by**: Jianyun Zhang Research Group, Hohai University **Last updated**: 2026-03-24 **Stats**: 16 tools | 6 skill documents | 32 diagnostic triplets | 3,434 lines of validated Python **Validation status**: `binary_only` (pending source compilation and example validation) ---Votes: 0GitHub stars: 200
- DocsCollect user inputs and make key decisions about the CE-QUAL-W2 simulation setup. This includes reservoir selection, simulation period, forcing source, grid resolution, and whether to enable water quality constituents.Votes: 0GitHub stars: 200
- DocsRun the CE-QUAL-W2 binary with comprehensive preflight checks and post-run validation. The binary on this server is **v5** (`model/ce_qual_w2/bin/w2_v5`): it reads `w2_con.csv` from the current working directory (v4.x reads `w2_con.npt`; `run_w2.py` takes either) and is single-threaded.Votes: 0GitHub stars: 200
- DocsParse CE-QUAL-W2 output files and generate visualizations. The signature output is the **curtain plot**: a 2D longitudinal-vertical cross-section showing temperature (or other variables) from upstream to dam at different depths.Votes: 0GitHub stars: 200
- DocsConvert reservoir geometry into a CE-QUAL-W2 segment-layer grid and write the bathymetry file (bth_wb*.npt). This is the most complex and labor-intensive stage. For HydroCraft automation, two modes are supported: DEM-based (for any reservoir with DEM coverage) and idealized (for quick starts with minimal data).Votes: 0GitHub stars: 200
- DocsBuild the CE-QUAL-W2 met file straight from a forcing source (CMFD, MSWX or NASA POWER). The tool reads the source itself through the shared loader (`ki_tools_common.load_forcing.load_hourly_forcing`). CE-QUAL-W2 input is never made from another model's input files (dt_026).Votes: 0GitHub stars: 200
- DocsAssemble the CE-QUAL-W2 master control file `w2_con.npt` from all upstream tool outputs. This is the most error-prone stage because w2_con.npt uses **8-character fixed-width fields** read by Fortran column position. A single misalignment corrupts all downstream values silently.Votes: 0GitHub stars: 200
- CISM**Package**: `hydrocraft-cism-icesheet` v1.0.0 **Model**: CISM v2.1 (Community Ice Sheet Model) **Domain**: Cryosphere -- land ice dynamics (ice sheets, ice shelves, glaciers) **Language**: Fortran 90 with CMake build system **Created by**: Knowledge Dissection Toolkit **Last updated**: 2026-03-26 **Stats**: 5 tools | 7 skill documents | 20 diagnostic triplets | ~1,500 lines of validated Python **Validation status**: `synthetic_validated` (dome test case) ---Votes: 0GitHub stars: 200
- CLASSIC**Package**: `hydrocraft-classic-biogeochem` v1.0.0 **Model**: CLASSIC (CLASS v3.6.2 + CTEM v2.0) **Created by**: Knowledge Dissection Toolkit **Last updated**: 2026-03-26 **Stats**: 4 tools | 5 skill documents | 18 diagnostic triplets | ~2,000 lines of validated Python **Validation status**: `dissected` ---Votes: 0GitHub stars: 200
- DocsConvert global reanalysis or site-level meteorological observations into CLASSIC-compatible netCDF forcing files. CLASSIC requires **7 separate netCDF files** (one variable per file) with a specific time encoding that differs from standard CF conventions.Votes: 0GitHub stars: 200
- DocsBuild a CLASSIC initialization netCDF file containing soil texture, vegetation parameters, and initial values of all prognostic variables. This is the most complex input file, with ~50+ variables spanning soil, vegetation, carbon, and model state.Votes: 0GitHub stars: 200
- DocsConfigure the CLASSIC job options file and select the appropriate run parameters namelist. The job options file is the master control file that determines what the model simulates, which input files it reads, and what output it produces.Votes: 0GitHub stars: 200
- DocsCompile and run the CLASSIC model binary. CLASSIC is a Fortran model compiled with gfortran (serial) or mpif90 (parallel), linked against the netCDF-Fortran library.Votes: 0GitHub stars: 200
- DocsExtract CLASSIC netCDF output variables into CSV format for analysis, plotting, and comparison with observations. Compute summary diagnostics including carbon budget balance, energy closure, and water balance.Votes: 0GitHub stars: 200
- CLM5 CTSM- **Package**: CLM5___CTSM Knowledge Infrastructure v1.0 - **Model**: Community Land Model 5 / Community Terrestrial Systems Model (CTSM 5.4) - **Domain**: Biogeochemistry, Land Surface, Hydrology, Carbon-Nitrogen Cycling - **Created**: 2026-03-26 - **Tools**: 4 Python scripts - **Validation**: Documented ---Votes: 0GitHub stars: 200
- DocsConfigure a CLM5/CTSM simulation by selecting the appropriate compset (component set), resolution, machine, and physics options. This stage determines the entire model behavior — incorrect configuration leads to wrong science or build failures downstream.Votes: 0GitHub stars: 200
- DocsConvert atmospheric reanalysis or observational data into the format required by CLM5's data atmosphere component (DATM/CDEPS). This is the most error-prone stage due to unit conversion requirements — incorrect forcing units produce silent errors that propagate through all model outputs.Votes: 0GitHub stars: 200
- DocsMap external soil property databases (HWSD, SoilGrids, or custom surveys) to CLM5's 25-layer soil column structure. CLM5 uses sand/clay texture percentages, organic matter density, and color class to determine hydraulic conductivity, thermal properties, and water retention via pedotransfer functions.Votes: 0GitHub stars: 200
- DocsBuild and execute the CLM5/CTSM model binary, either through the CIME case management system or standalone via LILAC. This stage handles compilation, job submission, runtime monitoring, and error capture.Votes: 0GitHub stars: 200
- DocsExtract, analyse, and validate CLM5 history file outputs. Convert NetCDF history files to analysis-friendly formats (CSV, JSON), compute summary statistics, and compare against observations or published reference values.Votes: 0GitHub stars: 200
- COAWST| Field | Value | |-------------------|--------------------------------------------------------------| | **Package** | COAWST KI v1.0 | | **Model** | COAWST v3.8 (Coupled-Ocean-Atmosphere-Wave-Sediment Transport) | | **Authors** | John C. Warner (USGS), Brandy Armstrong, Ruoying He, Jesse Maitland | | **Repository** | https://github.com/DOI-USGS/COAWST ...Votes: 0GitHub stars: 200
- COSIPY**Package**: `cosipy-ki` v1.0.0 **Model**: COSIPY v2.0.2 **Source**: https://github.com/cryotools/cosipy **Domain**: Cryosphere — glacier and snowpack energy/mass balance **Last updated**: 2026-03-26 **Stats**: 4 tools | 6 skill documents | 20 diagnostic triplets | ~2,400 lines of validated Python **Validation status**: `validated` (Zhadang Glacier, Tibet, ERA5 2009) ---Votes: 0GitHub stars: 200
- CREST**Package**: `hydrocraft-crest-ef5` v1.1.0 **Model**: EF5 v1.2.3 with CREST water balance + Linear Reservoir / Kinematic Wave routing **Framework**: Ensemble Framework For Flash Flood Forecasting (EF5) **KDT version**: 5.1.2 (uses `ki_tools_common` for forcing/metrics/cross-platform) **Created by**: Jianyun Zhang Research Group, Hohai University **Last updated**: 2026-04-28 (added Stage-1 `prepare_basic_grids` tool; corrected `ef5 -p` documentation) **Stats**: 5 tools | 5 skill documents | 18...Votes: 0GitHub stars: 200
- CRHM**Package**: hydrocraft-crhm v1.0.0 **Model**: CRHM 1.3 (crhmcode, University of Saskatchewan) **Domain**: Cold regions hydrology -- blowing snow, sublimation, frozen soil infiltration, energy-balance snowmelt **Coupling target**: VIC 5.1.0 (cold regions process enhancement) ---Votes: 0GitHub stars: 200
- Docs> **Stage ID**: s1_basin_setup > **Pipeline order**: 1 of 6 > **Depends on**: noneVotes: 0GitHub stars: 200
- Docs> **Stage ID**: s2_observation_data > **Pipeline order**: 2 of 6 > **Depends on**: none for one point; s1 (the basin polygon) for a basin meanVotes: 0GitHub stars: 200