USBR RISE Fetch
Use the CLI-owned usbr.rise capability. This Skill supplies intent routing,
item-selection discipline, and result-use boundaries only; the CLI TypeScript 7
runtime owns RISE endpoints, schemas, pagination, validation, limits, partial
results, 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 describe with 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.
- Immediately inspect
manifest.availability and discovery.availability.
If either does not report available, stop before constructing a request
and report its exact reasonCode, description, and resume criteria. Do not
bypass suspension with a direct legacy API, EDR beta, page fetch, or proxy.
tiangong-ai data describe usbr.rise --json
Use the returned Discovery Metadata to confirm current source coverage,
granularity, limitations, selection hints, provides, and doesNotProvide.
Do not rely on source facts remembered from an older Skill revision.
Choose the operation
- Use
discover-items when the evidence need names a place, facility,
parameter, or source but no official RISE item ID is grounded. Candidate
order is provider page-scan order after client-side filtering, not relevance
ranking or evidence weight.
- Use
fetch-results only with explicit item IDs supported by a reviewed RISE
catalog record or another official source. Add a bounded UTC window whenever
the question has a time scope, and request item metadata when unit, timestep,
transformation, location, or disclaimer context is needed.
- A bounded discovery scan can stop before later catalog pages. Refine terms or
deliberately raise the run-request page limit within the manifest ceiling;
never treat zero candidates as proof that the real-world record is absent.
Discover item IDs
Build a tiangong.data.run-request.v1 envelope. Replace both version
placeholders with the exact versions from the same data describe response and validate input against the
current operation schema returned by data describe.
{
"schemaVersion": "tiangong.data.run-request.v1",
"capabilityId": "usbr.rise",
"capabilityVersion": "<describe.manifest.capabilityVersion>",
"operationId": "discover-items",
"operationVersion": "<describe.manifest.operations[0].operationVersion>",
"input": {
"queryTerms": ["Lake Powell", "release"],
"locationNameContains": "Glen Canyon",
"pageSize": 100
}
}
tiangong-ai data run usbr.rise discover-items \
--input /absolute/path/to/discovery-request.json --json
Review candidate title, location, parameter, unit, timestep, transformation,
source code, temporal coverage, landing page, and spatial metadata before
selecting IDs. Preserve the discovery result when handing selected IDs to a
downstream fetch.
Fetch result rows
{
"schemaVersion": "tiangong.data.run-request.v1",
"capabilityId": "usbr.rise",
"capabilityVersion": "<describe.manifest.capabilityVersion>",
"operationId": "fetch-results",
"operationVersion": "<describe.manifest.operations[1].operationVersion>",
"input": {
"itemIds": ["10835"],
"afterUtc": "2025-01-01T00:00:00Z",
"beforeUtc": "2025-01-31T23:59:59Z",
"orderDateTime": "asc",
"includeItemMetadata": true,
"pageSize": 100
}
}
tiangong-ai data run usbr.rise fetch-results \
--input /absolute/path/to/results-request.json --json
Preserve the complete tiangong.data.run-result.v1 envelope, including
contract, warnings, errors, observations, and receipt, with data.
Result boundaries
- Treat
partial as incomplete item, page, record, or metadata coverage.
Retain successful rows and report each gap; do not replace missing values
with zero. Treat blocked as no usable business result.
- Interpret a value only with its item ID, location, parameter, unit, timestep,
transformation, source code, timestamp, status, and source disclaimer when
available. Do not merge unlike items merely because their titles are close.
- Missing or sparse rows can reflect item choice, date filters, page caps,
provider latency, or metadata availability. They are not proof of physical
absence or non-operation.
- The capability does not determine drought or shortage severity, operating or
legal compliance, causality, policy responsibility, evidence weight, or
report readiness. Those judgments belong to a separately governed caller.
- Project-document retrieval, cross-source joins, durable evidence admission,
normalization, and analysis remain outside this atomic Skill.
Reference
references/tiangong-data-requirement.json: stable capability requirement; it is not a package lock.
1---2name: usbr-rise-fetch3description: Discover U.S. Bureau of Reclamation RISE catalog item IDs and retrieve bounded operational or water-environment time-series rows through the Tiangong CLI. Use when a task needs official RISE metadata or values for a known place, parameter, reservoir, dam, or project; do not use to infer shortage severity, compliance, causality, governance responsibility, or complete USBR coverage.4---5
6# USBR RISE Fetch
7
8Use the CLI-owned `usbr.rise` capability. This Skill supplies intent routing,
9item-selection discipline, and result-use boundaries only; the CLI TypeScript 7
10runtime owns RISE endpoints, schemas, pagination, validation, limits, partial
11results, and receipts.
12
13## Before running
14
151. Read `references/tiangong-data-requirement.json`.
162. Use the caller- or workspace-resolved stable CLI. The requirement declares
17 compatible capability and operation contract majors; it does not select a
18 package build.
193. Run `data describe` with that same CLI. Continue only when the capability
20 ID and required contract majors match, and copy the exact current
21 capability/operation versions from that response into the run request.
224. Immediately inspect `manifest.availability` and `discovery.availability`.
23 If either does not report `available`, stop before constructing a request
24 and report its exact `reasonCode`, description, and resume criteria. Do not
25 bypass suspension with a direct legacy API, EDR beta, page fetch, or proxy.
26
27```bash
28tiangong-ai data describe usbr.rise --json
29```
30
31Use the returned Discovery Metadata to confirm current source coverage,
32granularity, limitations, selection hints, `provides`, and `doesNotProvide`.
33Do not rely on source facts remembered from an older Skill revision.
34
35## Choose the operation
36
37- Use `discover-items` when the evidence need names a place, facility,
38 parameter, or source but no official RISE item ID is grounded. Candidate
39 order is provider page-scan order after client-side filtering, not relevance
40 ranking or evidence weight.
41- Use `fetch-results` only with explicit item IDs supported by a reviewed RISE
42 catalog record or another official source. Add a bounded UTC window whenever
43 the question has a time scope, and request item metadata when unit, timestep,
44 transformation, location, or disclaimer context is needed.
45- A bounded discovery scan can stop before later catalog pages. Refine terms or
46 deliberately raise the run-request page limit within the manifest ceiling;
47 never treat zero candidates as proof that the real-world record is absent.
48
49## Discover item IDs
50
51Build a `tiangong.data.run-request.v1` envelope. Replace both version
52placeholders with the exact versions from the same `data describe` response and validate `input` against the
53current operation schema returned by `data describe`.
54
55```json
56{
57 "schemaVersion": "tiangong.data.run-request.v1",
58 "capabilityId": "usbr.rise",
59 "capabilityVersion": "<describe.manifest.capabilityVersion>",
60 "operationId": "discover-items",
61 "operationVersion": "<describe.manifest.operations[0].operationVersion>",
62 "input": {
63 "queryTerms": ["Lake Powell", "release"],
64 "locationNameContains": "Glen Canyon",
65 "pageSize": 100
66 }
67}
68```
69
70```bash
71tiangong-ai data run usbr.rise discover-items \
72 --input /absolute/path/to/discovery-request.json --json
73```
74
75Review candidate title, location, parameter, unit, timestep, transformation,
76source code, temporal coverage, landing page, and spatial metadata before
77selecting IDs. Preserve the discovery result when handing selected IDs to a
78downstream fetch.
79
80## Fetch result rows
81
82```json
83{
84 "schemaVersion": "tiangong.data.run-request.v1",
85 "capabilityId": "usbr.rise",
86 "capabilityVersion": "<describe.manifest.capabilityVersion>",
87 "operationId": "fetch-results",
88 "operationVersion": "<describe.manifest.operations[1].operationVersion>",
89 "input": {
90 "itemIds": ["10835"],
91 "afterUtc": "2025-01-01T00:00:00Z",
92 "beforeUtc": "2025-01-31T23:59:59Z",
93 "orderDateTime": "asc",
94 "includeItemMetadata": true,
95 "pageSize": 100
96 }
97}
98```
99
100```bash
101tiangong-ai data run usbr.rise fetch-results \
102 --input /absolute/path/to/results-request.json --json
103```
104
105Preserve the complete `tiangong.data.run-result.v1` envelope, including
106`contract`, `warnings`, `errors`, `observations`, and `receipt`, with `data`.
107
108## Result boundaries
109
110- Treat `partial` as incomplete item, page, record, or metadata coverage.
111 Retain successful rows and report each gap; do not replace missing values
112 with zero. Treat `blocked` as no usable business result.
113- Interpret a value only with its item ID, location, parameter, unit, timestep,
114 transformation, source code, timestamp, status, and source disclaimer when
115 available. Do not merge unlike items merely because their titles are close.
116- Missing or sparse rows can reflect item choice, date filters, page caps,
117 provider latency, or metadata availability. They are not proof of physical
118 absence or non-operation.
119- The capability does not determine drought or shortage severity, operating or
120 legal compliance, causality, policy responsibility, evidence weight, or
121 report readiness. Those judgments belong to a separately governed caller.
122- Project-document retrieval, cross-source joins, durable evidence admission,
123 normalization, and analysis remain outside this atomic Skill.
124
125## Reference
126
127- `references/tiangong-data-requirement.json`: stable capability requirement; it is not a package lock.