weather-model-run-discovery
Helps your agent find the latest weather forecast data without downloading everything. It quickly locates complete cycles and forecasts.
What it does
This tool finds the most recent and complete weather forecast available. It checks which forecast data exists before downloading it, ensuring you get the latest and most reliable information.
When to use it
- ✓When you need the latest forecast from models like GFS or HRRR.
- ✓If the newest forecast isn't complete or is still being updated.
- ✓To compare data from different sources (AWS, Google, Azure) and ensure they are from the same forecast run.
Example of what to ask your AI
“Find the latest HRRR model forecast for the next 24 hours, including surface data.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool checks various weather forecast data sources. It looks for the most recent forecast that contains all the necessary information (like different times and data types) before confirming which one to use.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add sickn33/agentic-awesome-skills --skill weather-model-run-discoveryOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/weather-model-run-discovery/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Weather Model Run Discovery
Overview
Resolve a numerical weather prediction run before downloading model fields. Probe exact objects or narrow prefixes, verify a request-specific completion contract, and return the newest qualifying initialization with its source metadata.
This skill decides which run and objects exist. Use
weather-model-data-fetching afterward to transfer or subset the data.
When to Use This Skill
- An application needs the newest usable GFS, GEFS, HRRR, RAP, NAM, or similar model cycle.
- The nominal latest cycle returns
404, has only early forecast hours, or is still changing. - Equivalent AWS, NOMADS, Google, Azure, or other mirrors must be compared without silently mixing runs.
- A scheduled job needs a bounded fallback to an older complete cycle.
- The resolved run and provider must be recorded for later reproduction.
Do not activate this skill when the initialization is already fixed or when the task is to download, decode, or interpret model variables.
Define Complete Before Probing
Collect the following request contract:
- model, domain, product, and ensemble member;
- legal UTC cycle hours and cycle interval;
- required forecast hours;
- required companion objects, such as pressure and surface products;
- required inventory or index sidecars;
- provider priority and whether cross-provider fallback is allowed;
- maximum lookback, maximum probes, and freshness requirement.
A run is complete only when every sentinel required by the consumer exists. Examples include:
- one product at one forecast hour for a single-image job;
- both pressure-level and surface files for a sounding;
- the terminal forecast hour needed by a time series;
- every required member for an ensemble statistic.
The presence of forecast hour zero does not prove that a run is complete.
Discovery Workflow
- Normalize the current time and all candidate initialization times to UTC.
- Enumerate only legal cycles, newest first, within the lookback bound.
- Build documented object keys for the exact model, product, member, and forecast hour. Never recursively scan an entire bucket.
- Probe exact objects with
HeadObject, HTTPHEAD, or a narrow paginated prefix listing. A probe should retrieve metadata, not the model payload. - Require every sentinel and sidecar in the completion contract. Reject zero- length or obviously placeholder objects.
- For a live mirror that may expose objects before publication finishes, repeat the metadata probe after a short bounded interval and require stable size and object identity.
- Select the first complete candidate. A fallback provider must refer to the same initialization, product, member, and forecast hour.
- Emit a resolution record before starting the download.
Use a provider's documented cycle status page as supporting evidence, not as a substitute for probing the exact objects the consumer requires.
Minimal Resolver Example
Keep provider-specific key construction separate from the selection rule. This
example accepts a metadata-only probe callback so it can be used with S3,
HTTP, or a test fixture.
from datetime import datetime, timedelta, timezone
def candidate_cycles(now, cycle_hours, lookback):
now = now.astimezone(timezone.utc).replace(minute=0, second=0, microsecond=0)
allowed = sorted(set(cycle_hours), reverse=True)
candidates = []
for days_back in range((lookback // 24) + 2):
day = (now - timedelta(days=days_back)).date()
for hour in allowed:
cycle = datetime(day.year, day.month, day.day, hour, tzinfo=timezone.utc)
if cycle <= now and now - cycle <= timedelta(hours=lookback):
candidates.append(cycle)
return sorted(set(candidates), reverse=True)
def resolve_latest(now, cycle_hours, lookback, required_objects, probe):
"""Return one complete run; probe(uri) returns metadata or None."""
attempts = []
for cycle in candidate_cycles(now, cycle_hours, lookback):
requested = required_objects(cycle)
found = {name: probe(uri) for name, uri in requested.items()}
missing = [name for name, metadata in found.items() if not metadata]
attempts.append({"cycle": cycle.isoformat(), "missing": missing})
if not missing:
return {
"initialization": cycle.isoformat(),
"objects": [
…
FAQ
What is a 'numerical weather prediction cycle'?
It's a complete set of weather forecast data generated by a computer model at a specific time.
Why not just download the data directly?
Downloading everything can be time-consuming and unnecessary. This tool first discovers which complete forecast is best available, saving time and resources.
What does 'without downloading full payloads' mean?
It means the tool checks for the existence and metadata of forecast files (like size and date) without transferring the complete data, which can be very large.
Details
Original description by the author
Resolve the newest complete numerical weather prediction cycle and forecast objects across provider mirrors without downloading full payloads.
Popularity
- GitHub stars
- 48k
- Ranking position
- #4533
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
sickn33/agentic-awesome-skills
Similar skills
data-scraper-agent
Helps your agent automatically collect data from any public source. It can be scheduled, enrich information, and save results. Useful for monitoring or tracking online data.
affaan-m/ECC
Apify Automation
Has your agent automatically collect data from the web using the Apify platform. It can run scraping tasks and extract information.
ComposioHQ/awesome-claude-skills
Firecrawl Automation
Helps your agent extract data from the web. It can scrape pages, crawl sites, and organize information.
ComposioHQ/awesome-claude-skills