Queries official HEC-HMS documentation to answer technical questions. Provides access to User's Manual, Technical Reference Manual, Release Notes, and community resources. Use when seeking official documentation on HMS methods, parameters, file formats, version features, or workflow guidance. Complements hms_investigate_internals (decompiled source code) with authoritative documentation. Trigger keywords: HMS documentation, User's Manual, Technical Reference, loss methods, transform methods, routing methods, HMS parameters, file formats, release notes, HMS version features, method parameters, official HMS, USACE documentation.
Purpose: Answer technical questions using official HEC-HMS documentation from the U.S. Army Corps of Engineers (USACE) Hydrologic Engineering Center.
Q: "What parameters does SCS Curve Number require?"
A: See hms_agents/hms_doc_query/AGENT.md → query_documentation("SCS Curve Number parameters", focus_area="loss_methods")
Q: "How are subbasins defined in .basin files?"
A: See hms_agents/hms_doc_query/AGENT.md → query_documentation("subbasin definition", focus_area="file_formats")
Q: "What was added in HMS 4.11?"
A: See hms_agents/hms_doc_query/AGENT.md → search_release_notes("4.11")
Location: hms_agents/hms_doc_query/
Quick access:
QUICK_START.md - 5-minute guideAGENT.md - Comprehensive documentationdoc_query.py - Query implementationThis agent queries official documentation via web requests to HEC documentation servers.
| Source | URL | Coverage |
|---|---|---|
| User's Manual | https://www.hec.usace.army.mil/confluence/hmsdocs/hmsum/latest/ | UI, workflows, methods |
| Technical Reference | https://www.hec.usace.army.mil/confluence/hmsdocs/hmstrm/latest/ | Method algorithms, equations |
| Release Notes | https://www.hec.usace.army.mil/software/hec-hms/downloads.aspx | Version changes, features |
| Downloads | https://www.hec.usace.army.mil/software/hec-hms/downloads.aspx | Installation, examples |
| Source | URL | Coverage |
|---|---|---|
| The RAS Solution Forum | https://therassolution.kleinschmidtgroup.com/ | Professional Q&A |
| Hydro School Forums | https://hydroschool.org/forums/ | Tutorials, modeling |
| Reddit r/HECRAS | https://www.reddit.com/r/HECRAS/ | Quick questions |
Method Documentation
File Format Questions
Version-Specific Features
Workflow Guidance
Troubleshooting
Internal Implementation Details
JythonHms API Reference
Undocumented Features
hms-commander API Questions
Main function to query HMS documentation.
Parameters:
question (str): The technical questionfocus_area (str): Narrow search
hms_version (str): Target version (e.g., "4.11")Get parameter details for specific HMS method.
Parameters:
method_type (str): "loss", "transform", "baseflow", "routing"method_name (str): Name of the methodSearch HMS release notes.
Parameters:
query (str): Search queryversion (str): Specific version to searchCheck if method name is valid in HMS.
Parameters:
method_name (str): Method name to validatemethod_type (str): "loss", "transform", etc.| Question | Focus Area |
|---|---|
| "What are SCS Curve Number parameters?" | loss_methods |
| "How does Deficit-Constant differ from Initial-Constant?" | loss_methods |
| "What is Green-Ampt infiltration?" | loss_methods |
| Question | Focus Area |
|---|---|
| "Clark Unit Hydrograph parameters?" | transform_methods |
| "How to calculate Time of Concentration?" | transform_methods |
| "What's the difference between Clark and ModClark?" | transform_methods |
| Question | Focus Area |
|---|---|
| "Muskingum-Cunge parameters?" | routing_methods |
| "How does kinematic wave routing work?" | routing_methods |
| "Modified Puls vs Muskingum?" | routing_methods |
| Question | Focus Area |
|---|---|
| "Structure of .basin file?" | file_formats |
| "DSS pathname format for HMS?" | file_formats |
| "How are time series stored?" | file_formats |
IMPORTANT: HMS documentation relies heavily on screenshots and diagrams.
Workaround: Agent provides URLs for manual viewing when visual content is needed.
Purpose: Decompiled source code analysis
Complementary use:
| Question Type | Use This Skill |
|---|---|
| "What does the documentation say about X?" | hms_query_docs |
| "How does HMS actually implement X?" | hms_investigate_internals |
| "What parameters are documented for X?" | hms_query_docs |
| "What is the JythonHms method signature for X?" | hms_investigate_internals |
This skill supports hms-commander development by providing:
Example workflow:
# 1. Query documentation for method parameters
# Use hms_doc_query to verify "Deficit and Constant" parameters
# 2. Set parameters with confidence
from hms_commander import HmsBasin
HmsBasin.set_loss_parameters(
"model.basin", "Sub1",
method="Deficit and Constant",
initial_deficit=0.5,
maximum_deficit=1.0,
constant_rate=0.2,
impervious_percent=10
)
User Question
|
v
Identify Focus Area
|-- loss_methods, transform_methods, routing_methods
|-- file_formats, workflows, release_notes
|-- installation, troubleshooting
|
v
Query Documentation (hms_doc_query)
|
v
Return Answer + Source URLs
|
v
Provide URL for Visual Content (if needed)
Documentation Query
|
v
Answer Found? --> YES --> Return Answer
|
NO
|
v
Undocumented Feature?
|
v
Use hms_investigate_internals
|
v
Decompile and Analyze Source
Before answering user questions:
Common questions -> Focus areas:
| Question Type | Focus Area |
|---|---|
| Method parameters | loss_methods, transform_methods, routing_methods |
| File structure | file_formats |
| Version features | release_notes |
| How-to guides | workflows |
| Error messages | troubleshooting |
| Setup/install | installation |
Agent location: hms_agents/hms_doc_query/
Documentation URLs:
Status: Production skill Version: 1.0 Created: 2025-12-17 Agent: hms_doc_query