usgs-water-iv-fetch
Skill11 starsChanged 3 months agoMITView on GitHub
Retrieve USGS WaterServices instantaneous station observations through the Tiangong CLI for one bounded numeric area or an explicit site list and one bounded time selector. Use for streamflow, gage-height, or other USGS time-series measurements with qualifiers; do not use for station discovery, daily values, flood-stage classification, forecasts, hazard advice, or workflows that require guaranteed service after the legacy API retires.
In this repository62 other files it gives its agents.
- AGENTS.mdAGENTS.md
- academic-paper-downloadSkill
- airnow-hourly-obs-fetchSkill
- ai-tech-fulltext-fetchSkill
- ai-tech-rss-fetchSkill
- ai-tech-summarySkill
- apply-environmental-thinkingSkill
- bluesky-cascade-fetchSkill
- convert-image-to-jpgSkill
- dify-knowledge-base-searchSkill
- dify-knowledge-base-uploadSkill
- document-granular-decomposeSkill
- domain-onboardingSkill
- eceee-news-fulltext-fetchSkill
- email-imap-appendSkill
- email-imap-fetchSkill
- email-imap-full-fetchSkill
- email-smtp-sendSkill
- epa-eis-records-fetchSkill
- federal-register-doc-fetchSkill
- fetch-abstract-to-kbSkill
- fetch-meta-from-kbSkill
- fetch-meta-to-kbSkill
- figshare-data-downloadSkill
- gdelt-doc-searchSkill
- gdelt-events-fetchSkill
- gdelt-gkg-fetchSkill
- gdelt-mentions-fetchSkill
- gdelt-web-ngrams-searchSkill
- github-contribution-period-analysisSkill
- nasa-firms-fire-fetchSkill
- notebooklmSkill
- openaq-data-fetchSkill
- open-meteo-air-quality-fetchSkill
- open-meteo-flood-fetchSkill
- open-meteo-historical-fetchSkill
- regulationsgov-attachments-fetchSkill
- regulationsgov-comment-detail-fetchSkill
- regulationsgov-comments-fetchSkill
- remove-similar-imageSkill
- river-outfall-status-visualizerSkill
- sustainability-fulltext-fetchSkill
- sustainability-rss-fetchSkill
- sustainability-summarySkill
- synology-file-stationSkill
- tiangong-auto-researchSkill
- tiangong-auto-research-workbuddySkill
- tiangong-kb-course-fulltext-fetchSkill
- tiangong-kb-course-searchSkill
- tiangong-kb-edu-searchSkill
- tiangong-kb-esg-searchSkill
- tiangong-kb-ingestSkill
- tiangong-kb-patent-searchSkill
- tiangong-kb-report-searchSkill
- tiangong-kb-sci-searchSkill
- tiangong-kb-textbook-searchSkill
- tsinghua-graduate-thesisSkill
- usbr-project-records-fetchSkill
- usbr-rise-fetchSkill
- use-thuenv-presentation-styleSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 3 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use the CLI-owned usgs.water-instantaneous-values capability.
- Distinctive: line 16
Use the caller- or workspace-resolved stable CLI.
- Very specific: line 19
Run data describe with that same CLI.
- Very specific: line 22
Run the default static doctor.
- Very specific: line 30
Use the returned Discovery Metadata to confirm current source coverage, freshness, decommission status, restrictions, provides, and …
- Very specific: line 68
Use the operation input schema returned by the same data describe response for current field semantics and limits.
- Distinctive: line 70
Do not infer site numbers from place names, widen an area or time range without the user's intent, or mix selectors that the schema …
- Very specific: line 90
Treat qualifier P and provisional: true as provider warnings that values may change.
- Very specific: line 92
Treat partial as incomplete normalization coverage and report the affected series or value paths.
- Very specific: line 95
Treat blocked as no usable business result and surface the structured errors instead of silently broadening the query or bypassing limits.
- Distinctive: line 105
Do not infer flood stage, return period, alert status, hazard, cause, or policy meaning from raw station observations.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
USGS Water Instantaneous Values
Use the CLI-owned usgs.water-instantaneous-values capability. This Skill
supplies intent routing and result-use boundaries only; the CLI owns source
discovery, input/output schemas, HTTP behavior, limits, validation, and
receipts.
Before running
- Read
references/tiangong-data-requirement.json. - Use the caller- or workspace-resolved stable CLI. The requirement declares compatible capability and operation contract majors; it does not select a package build.
- Run
data describewith that same CLI. Continue only when the capability ID and required contract majors match, and copy the exact current capability/operation versions from that response into the run request. - Run the default static doctor. Do not add
--liveunless the user explicitly asks for a provider probe.
tiangong-ai data describe usgs.water-instantaneous-values --json
tiangong-ai data doctor usgs.water-instantaneous-values --jsonUse the returned Discovery Metadata to confirm current source coverage,
freshness, decommission status, restrictions, provides, and
doesNotProvide. Prefer a modern USGS Water Data capability when the task
requires operation beyond the legacy service lifetime. USGS currently warns
that decommission preparation can include intentional degradation or blackouts
during the second half of 2026, before the planned 2027-Q1 retirement; treat
such failures as provider-interface availability problems, not evidence that
water observations are absent.
Prepare the request
Build a tiangong.data.run-request.v1 envelope and replace the two version
placeholders with the exact versions from the same data describe response. Under input, choose exactly
one spatial selector (boundingBox or siteNumbers) and exactly one time
selector (period or a paired explicit start/end window):
{
"schemaVersion": "tiangong.data.run-request.v1",
"capabilityId": "usgs.water-instantaneous-values",
"capabilityVersion": "<describe.manifest.capabilityVersion>",
"operationId": "fetch",
"operationVersion": "<describe.manifest.operations[0].operationVersion>",
"input": {
"boundingBox": {
"minLongitude": -77.3,
"minLatitude": 38.8,
"maxLongitude": -77.0,
"maxLatitude": 39.1
},
"period": "P1D",
"parameterCodes": ["00060", "00065"],
"siteType": "ST",
"siteStatus": "active"
}
}Use the operation input schema returned by the same data describe response for current field
semantics and limits. Preserve leading zeroes in site and parameter identifiers.
Do not infer site numbers from place names, widen an area or time range without
the user's intent, or mix selectors that the schema declares exclusive. The
reviewed contract accepts at most 100 exact site IDs, one bbox whose coordinate
span product is at most 25 square degrees, and one to eight parameter codes.
period must be a positive ISO-8601 duration; do not use a zero duration,
append an empty T, or mix week notation with other duration components.
Run
tiangong-ai data run usgs.water-instantaneous-values fetch \
--input /absolute/path/to/request.json --jsonThe command emits a tiangong.data.run-result.v1 envelope. Preserve its
contract, warnings, errors, and receipt with data when handing the
result to another workflow.
Result boundaries
- Treat qualifier
Pandprovisional: trueas provider warnings that values may change; retain qualifiers with any downstream use. - Treat
partialas incomplete normalization coverage and report the affected series or value paths. Do not convert missing or invalid observations to zero. - Treat
blockedas no usable business result and surface the structured errors instead of silently broadening the query or bypassing limits. - Report record-limit truncation; do not imply that a truncated result is an exhaustive time series.
- A zero or sparse provider result can reflect selector choice, activity status, site/parameter coverage, outage, or a local data-retention limit; it does not prove that streamflow, water-level change, or flood effects were absent. Some operational parameters that are not quality assured, such as temperature or precipitation, can be limited by the responsible USGS center to 120 days or less.
- Do not infer flood stage, return period, alert status, hazard, cause, or policy meaning from raw station observations.
- Cross-source comparison and research evidence admission belong to the caller or Auto Research, not this atomic Skill.
Reference
references/tiangong-data-requirement.json: stable capability requirement; it is not a package lock.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

