Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add responsible-genai-hackweek/nicer-nisar --skill nisar-snow-diagnosegit clone --depth 1 https://github.com/responsible-genai-hackweek/nicer-nisarWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/responsible-genai-hackweek/nicer-nisar/nisar-snow-diagnose)<a href="https://agentmods.dev/skills/responsible-genai-hackweek/nicer-nisar/nisar-snow-diagnose"><img src="https://agentmods.dev/badge/skills/responsible-genai-hackweek/nicer-nisar/nisar-snow-diagnose/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/responsible-genai-hackweek/nicer-nisar/nisar-snow-diagnose"><img src="https://agentmods.dev/badge/skills/responsible-genai-hackweek/nicer-nisar/nisar-snow-diagnose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00086 | $0.01550 |
| Opus 5.5 | $0.00034 | $0.00620 |
| Sonnet 5.5 | $0.00017 | $0.00310 |
| Haiku 4.5 | $0.00009 | $0.00155 |
Grade A, and why
nisar-snow-diagnose scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagnosing a product
This is the only part of the system with agency. Training and prediction had every decision deliberately removed so results stay reproducible; diagnostics is where the loop, the hypotheses, and the judgment live.
It runs on the analysis side, never in the path that generates a product. It
reads artifacts that already exist and writes findings. It does not write rasters,
does not refit, does not touch models/<id>/. If a diagnosis implies a change, that
change belongs to nisar-snow-train and produces a new pinned model_id — never
an edit to the current one.
There is no diagnose.py. This is an exploratory loop over saved artifacts, which is
correct: freezing it into a module would be freezing the part that should stay
flexible.
What you have to work with
import json, joblib, pandas as pd, numpy as np, rasterio
d = "models/mcs-dsd-20260828-0f28ba57"
card = json.load(open(f"{d}/model_card.json"))
rows = pd.read_parquet(f"{d}/training_rows.parquet") # features + dsd_mean + x/y
est = joblib.load(f"{d}/model.joblib")
with rasterio.open("products/dsd_077_2026-02-07_<model_id>.tif") as ds:
dsd, coh, gate = ds.read(1), ds.read(2), ds.read(3)
tags = ds.tags()
rows carries the bookkeeping columns as well as the features — cell_id, row,
col, x_center, y_center, cc_label, mask_water, mask_sub_ref,
mask_sub_sec, pair_id, track — which is what makes spatial and
mask-conditioned residual analysis possible without re-streaming.
Residuals must be out-of-fold. cross_validate returns (results, oof);
in-sample residuals on a ridge with 12 features will look flat and tell you nothing.
The axes worth looking at
| Condition on | Looking for | What it would mean |
|---|---|---|
coh80, coh20_std |
error rising as coherence falls | the cell threshold (0.20) is too permissive |
chm_mean |
error under canopy | L-band canopy penetration limits — expected, worth quantifying |
slope_deg, aspect_sin/cos |
error on steep or lee slopes | geometric distortion, or wind redistribution the features miss |
elev_m |
structure across the gradient | the orographic term is doing work the radar should |
cc_label |
offset between components | datum leakage — should be impossible at CC_ALLOW = (1,) |
gate_code bits |
error concentrated in one bit's cells | a gate is admitting cells it should drop |
x_center, y_center |
spatial clustering of residuals | unmodelled spatial process; also re-check the variogram |
| distance to nodata edge | error on the perimeter | boundary artifact in an ancillary layer |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 113 lines · 86 tokens per session scan A 85cbcf7f14d2
nisar-snow-diagnose is a skill published in the GitHub repository responsible-genai-hackweek/nicer-nisar (2 stars, last pushed 3mo ago), licensed BSD-3-Clause. It adds 86 tokens to every session and 1,550 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
nisar-snow-diagnose compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nisar-snow-diagnoseresponsible-genai-hackweek/nicer-nisar | Skill | 2 | 3mo ago | BSD-3-Clause | A | 86 | Claude Code, Codex |
| alternative-coffee-intelligenceElmatadorZ/alternative-coffee-claudeskill | Skill | 7 | 2d ago | CC0-1.0 | A | 92 | Claude Code, Codex |
| research-schematic-designhanhuark/mechanical-engineering-research-skill | Skill | 27 | today | MIT | A | 50 | Claude Code, Codex |
| thermal-fluid-analysishanhuark/mechanical-engineering-research-skill | Skill | 27 | today | MIT | A | 56 | Claude Code, Codex |
| research-data-analysishanhuark/mechanical-engineering-research-skill | Skill | 27 | today | MIT | A | 50 | Claude Code, Codex |
| mechanical-engineering-researchhanhuark/mechanical-engineering-research-skill | Skill | 27 | today | MIT | A | 53 | Claude Code, Codex |
| kelly-dog-walkmr-kelly/skills | Skill | 6 | 1mo ago | MIT | A | 165 | Codex |