Agent skill

Nws Flood Thresholds

by benchflow-ai in benchflow-ai/skillsbench

Download flood stage thresholds from NWS (National Weather Service).

MITAuto-check passed

Install Nws Flood Thresholds

skills CLI
$ npx skills add benchflow-ai/skillsbench --skill nws-flood-thresholds -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install benchflow-ai/skillsbench nws-flood-thresholds --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tasks/flood-risk-analysis/environment/skills/nws-flood-thresholds .claude/skills/nws-flood-thresholds && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
nws-flood-thresholds
GitHub stars
1.8k
Token cost
~1k tokens
SKILL.md length
313 words
Files
1
Skills in repo
189
Repo updated
First seen
Licence
MIT

At a glance

Download flood stage thresholds from NWS (National Weather Service).

  • Determining flood levels for USGS stations
  • SKILL.md covers Overview, Data Sources, Flood Stage Categories and Downloading Bulk CSV, plus 7 more sections
  • Reaches water.noaa.gov
  • Accessing action/minor/moderate/major flood stages

What it does

Nws Flood Thresholds is an agent skill from benchflow-ai/skillsbench. Download flood stage thresholds from NWS (National Weather Service). Use when determining flood levels for USGS stations, accessing action/minor/moderate/major flood stages, or matching stations to their flood thresholds.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: SkillsBench evaluates how well skills work and how effective agents are at using them. The licence is MIT.

When your agent uses it

  • Determining flood levels for USGS stations
  • Accessing action/minor/moderate/major flood stages
  • Matching stations to their flood thresholds

Example prompts

  • “/nws-flood-thresholds”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 9a1f4dd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • water.noaa.gov

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Nws Flood Thresholds loads about 1k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 313 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from benchflow-ai/skillsbench at commit 9a1f4dd, republished under its MIT licence (© benchflow-ai). 313 words, ~1,023 tokens.

Download SKILL.mdSave it as .claude/skills/nws-flood-thresholds/SKILL.md (or your agent's skills folder).
name
nws-flood-thresholds
description
Download flood stage thresholds from NWS (National Weather Service). Use when determining flood levels for USGS stations, accessing action/minor/moderate/major flood stages, or matching stations to their flood thresholds.
license
MIT

NWS Flood Thresholds Guide

Overview

The National Weather Service (NWS) maintains flood stage thresholds for thousands of stream gages across the United States. These thresholds define when water levels become hazardous.

Data Sources

https://water.noaa.gov/resources/downloads/reports/nwps_all_gauges_report.csv
Option 2: Individual Station Pages
https://water.noaa.gov/gauges/<station_id>

Example: https://water.noaa.gov/gauges/04118105

Flood Stage Categories

CategoryCSV ColumnDescription
Action Stageaction stageWater level requiring monitoring, preparation may be needed
Flood Stage (Minor)flood stageMinimal property damage, some public threat. Use this to determine if flooding occurred.
Moderate Flood Stagemoderate flood stageStructure inundation, evacuations may be needed
Major Flood Stagemajor flood stageExtensive damage, significant evacuations required

For general flood detection, use the flood stage column as the threshold.

Downloading Bulk CSV

python
import pandas as pd
import csv
import urllib.request
import io

nws_url = "https://water.noaa.gov/resources/downloads/reports/nwps_all_gauges_report.csv"

response = urllib.request.urlopen(nws_url)
content = response.read().decode('utf-8')
reader = csv.reader(io.StringIO(content))
headers = next(reader)
data = [row[:43] for row in reader]  # Truncate to 43 columns
nws_df = pd.DataFrame(data, columns=headers)

Important: CSV Column Mismatch

The NWS CSV has a known issue: header row has 43 columns but data rows have 44 columns. Always truncate data rows to match header count:

python
data = [row[:43] for row in reader]

Key Columns

Column NameDescription
usgs idUSGS station ID (8-digit string)
location nameStation name/location
stateTwo-letter state code
action stageAction threshold (feet)
flood stageMinor flood threshold (feet)
moderate flood stageModerate flood threshold (feet)
major flood stageMajor flood threshold (feet)

Converting to Numeric

Threshold columns need conversion from strings:

python
nws_df['flood stage'] = pd.to_numeric(nws_df['flood stage'], errors='coerce')

Filtering by State

python
# Get stations for a specific state
state_stations = nws_df[
    (nws_df['state'] == '<STATE_CODE>') &
    (nws_df['usgs id'].notna()) &
    (nws_df['usgs id'] != '') &
    (nws_df['flood stage'].notna()) &
    (nws_df['flood stage'] != -9999)
]

Matching Thresholds to Station IDs

python
# Build a dictionary of station thresholds
station_ids = ['<id_1>', '<id_2>', '<id_3>']
thresholds = {}

for _, row in nws_df.iterrows():
    usgs_id = str(row['usgs id']).strip()
    if usgs_id in station_ids:
        thresholds[usgs_id] = {
            'name': row['location name'],
            'flood': row['flood stage']
        }

Common Issues

IssueCauseSolution
Column mismatch errorCSV has 44 data columns but 43 headersTruncate rows to 43 columns
Missing thresholdsStation not in NWS databaseSkip station or use alternative source
Value is -9999No threshold definedFilter out these values
Empty usgs idNWS-only stationFilter by usgs id != ''

Best Practices

  • Always truncate CSV rows to match header count
  • Convert threshold columns to numeric before comparison
  • Filter out -9999 values (indicates no threshold defined)
  • Match stations by USGS ID (8-digit string with leading zeros)
  • Some stations may have flood stage but not action/moderate/major

© benchflow-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in tasks/flood-risk-analysis/environment/skills/nws-flood-thresholds of benchflow-ai/skillsbench.

Open the folder on GitHubat commit 9a1f4dd

Compare with similar skills

Nws Flood Thresholds next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Nws Flood Thresholds compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nws Flood Thresholds this skillbenchflow-ai/skillsbench1.8k—~1kAutomated safety check: PassMIT
Weatheropenclaw/openclaw392k—~726Automated safety check: PassMIT
Weather Lookupsipeed/picoclaw30k—~657Automated safety check: PassMIT
Weatheriflytek/skillhub5.2k—~734Automated safety check: PassMIT
Weatheralsk1992/CloddsBot3k—~567Automated safety check: PassMIT
Video Downloadernexu-io/open-design100k—~339Automated safety check: PassApache-2.0

Similar skills

  • Weather

    openclaw/openclaw

    Current weather and forecasts with webfetch, falling back to wttr.in curl for locations, rain, temperature, travel planning.

    392k GitHub stars~726 tokensUpdated today
    Auto-check passed
  • Weather Lookup

    sipeed/picoclaw

    Looks up current weather and forecasts with curl and verified location matching, using wttr.in for city names and Open-Meteo for structured data.

    30k GitHub stars~657 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Weather

    iflytek/skillhub

    Retrieve and summarize current weather and forecasts for locations, rain, temperature, and travel planning using an available web tool or wttr.in over HTTPS.

    5.2k GitHub stars~734 tokensUpdated today
    Auto-check passed
  • Weather

    alsk1992/CloddsBot

    Weather betting - NOAA data for Polymarket weather markets. An agent skill from alsk1992/CloddsBot.

    3k GitHub stars~567 tokensUpdated 7 days ago
    Business, Finance & HRAuto-check passed
  • Video Downloader

    nexu-io/open-design

    Download videos from YouTube and other platforms for offline viewing, editing, or archival with support for various formats and quality options.

    100k GitHub stars~339 tokensUpdated today
    Media & CreativeAuto-check passed
  • Video Download

    calesthio/OpenMontage

    Download video and audio from YouTube and 1000+ sites using yt-dlp.

    66k GitHub stars~885 tokensUpdated 6 days ago
    Media & CreativeAuto-check passed

More from benchflow-ai/skillsbench

All 189 skills in this repo
  • Lean4 Memories

    benchflow-ai/skillsbench

    This skill should be used when working on Lean 4 formalization projects to maintain persistent memory of successful proof patterns, failed approaches, project conventions, and user preferences…

    1.8k GitHub stars~3.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Senior Data Engineer

    benchflow-ai/skillsbench

    World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, real-time streaming, and data infrastructure.

    1.8k GitHub stars~5.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Ac Branch Pi Model

    benchflow-ai/skillsbench

    AC branch pi-model power flow equations (P/Q and |S|) with transformer tap ratio and phase shift, matching acopf-math-model.md and MATPOWER branch fields.

    1.8k GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Civ6lib

    benchflow-ai/skillsbench

    Civilization 6 district mechanics library. An agent skill from benchflow-ai/skillsbench.

    1.8k GitHub stars~1.7k tokensUpdated 2 mo ago
    Auto-check passed
  • D3 Visualization

    benchflow-ai/skillsbench

    Build deterministic, verifiable data visualizations with D3.js (v6).

    1.8k GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Dc Power Flow

    benchflow-ai/skillsbench

    DC power flow analysis for power systems. An agent skill from benchflow-ai/skillsbench.

    1.8k GitHub stars~717 tokensUpdated 2 mo ago
    Auto-check passed

Questions about Nws Flood Thresholds

What does Nws Flood Thresholds do?

Download flood stage thresholds from NWS (National Weather Service). Nws Flood Thresholds is an agent skill from benchflow-ai/skillsbench. Download flood stage thresholds from NWS (National Weather Service).

When should I use Nws Flood Thresholds?

Nws Flood Thresholds fits situations like: determining flood levels for USGS stations; accessing action/minor/moderate/major flood stages; matching stations to their flood thresholds.

How do I install Nws Flood Thresholds in Claude Code?

Run `npx skills add benchflow-ai/skillsbench --skill nws-flood-thresholds -a claude-code`. Or copy the skill folder (tasks/flood-risk-analysis/environment/skills/nws-flood-thresholds in benchflow-ai/skillsbench) into .claude/skills/nws-flood-thresholds in your project. Claude Code loads it when a task matches its description.

How do I install Nws Flood Thresholds in Codex?

Run `npx skills add benchflow-ai/skillsbench --skill nws-flood-thresholds -a codex`. Or copy the skill folder (tasks/flood-risk-analysis/environment/skills/nws-flood-thresholds in benchflow-ai/skillsbench) into .agents/skills/nws-flood-thresholds in your project. Codex loads it when a task matches its description.

Can I use Nws Flood Thresholds in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add benchflow-ai/skillsbench --skill nws-flood-thresholds -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nws-flood-thresholds, .gemini/skills/nws-flood-thresholds, .github/skills/nws-flood-thresholds and .opencode/skills/nws-flood-thresholds in your project.

What does Nws Flood Thresholds need to run?

SKILL.md names no scripts, command-line tools or credentials: Nws Flood Thresholds is instructions for the agent only. Our summary lists: Python 3.

Does Nws Flood Thresholds access the network?

SKILL.md names 1 domain. In commands or code: water.noaa.gov; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Nws Flood Thresholds safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Nws Flood Thresholds use?

Nws Flood Thresholds is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Nws Flood Thresholds use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Nws Flood Thresholds?

Skills that share tags, products or a category with Nws Flood Thresholds: Weather (openclaw/openclaw, 392k stars), Weather Lookup (sipeed/picoclaw, 30k stars), Weather (iflytek/skillhub, 5.2k stars) and Weather (alsk1992/CloddsBot, 3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nws Flood Thresholds?

benchflow-ai (a GitHub organization) maintains it in benchflow-ai/skillsbench, which has 1,835 GitHub stars. The repository holds 189 skills in this directory. The repository was last updated on July 23, 2026.

Source: benchflow-ai/skillsbench on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.