[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BWY9CYN7S23KDXWQWEP1AP":3,"skill-same:01M7BWY9CYN7S23KDXWQWEP1AP":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7BWY9CYN7S23KDXWQWEP1AP","nws-flood-thresholds",null,"Download flood stage thresholds from NWS (National Weather Service). Use when determining flood levels for USGS stations, accessing action\u002Fminor\u002Fmoderate\u002Fmajor flood stages, or matching stations to their flood thresholds.","linyouxue\u002Fskill-repair-benchmark","linyouxue","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216151464?v=4","01M7BJEVCXKD74KH6FG9CBVSQB","林宥学","01M7BJEVE02NP217V93BKZFC0J",0,"MIT","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FOpus47-OriginalSkill-79Tasks-20260920\u002Fruns\u002Fopus47-original-skill\u002Fflood-risk-analysis-opus47-original-skill-r001\u002Finputs\u002Fskills\u002Fnws-flood-thresholds\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: nws-flood-thresholds\ndescription: Download flood stage thresholds from NWS (National Weather Service). Use when determining flood levels for USGS stations, accessing action\u002Fminor\u002Fmoderate\u002Fmajor flood stages, or matching stations to their flood thresholds.\nlicense: MIT\n---\n\n# NWS Flood Thresholds Guide\n\n## Overview\n\nThe 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.\n\n## Data Sources\n\n### Option 1: Bulk CSV Download (Recommended for Multiple Stations)\n```\nhttps:\u002F\u002Fwater.noaa.gov\u002Fresources\u002Fdownloads\u002Freports\u002Fnwps_all_gauges_report.csv\n```\n\n### Option 2: Individual Station Pages\n```\nhttps:\u002F\u002Fwater.noaa.gov\u002Fgauges\u002F\u003Cstation_id>\n```\n\nExample: `https:\u002F\u002Fwater.noaa.gov\u002Fgauges\u002F04118105`\n\n## Flood Stage Categories\n\n| Category | CSV Column | Description |\n|----------|------------|-------------|\n| Action Stage | `action stage` | Water level requiring monitoring, preparation may be needed |\n| **Flood Stage (Minor)** | **`flood stage`** | **Minimal property damage, some public threat. Use this to determine if flooding occurred.** |\n| Moderate Flood Stage | `moderate flood stage` | Structure inundation, evacuations may be needed |\n| Major Flood Stage | `major flood stage` | Extensive damage, significant evacuations required |\n\nFor general flood detection, use the `flood stage` column as the threshold.\n\n## Downloading Bulk CSV\n```python\nimport pandas as pd\nimport csv\nimport urllib.request\nimport io\n\nnws_url = \"https:\u002F\u002Fwater.noaa.gov\u002Fresources\u002Fdownloads\u002Freports\u002Fnwps_all_gauges_report.csv\"\n\nresponse = urllib.request.urlopen(nws_url)\ncontent = response.read().decode('utf-8')\nreader = csv.reader(io.StringIO(content))\nheaders = next(reader)\ndata = [row[:43] for row in reader]  # Truncate to 43 columns\nnws_df = pd.DataFrame(data, columns=headers)\n```\n\n## Important: CSV Column Mismatch\n\nThe 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:\n```python\ndata = [row[:43] for row in reader]\n```\n\n## Key Columns\n\n| Column Name | Description |\n|-------------|-------------|\n| `usgs id` | USGS station ID (8-digit string) |\n| `location name` | Station name\u002Flocation |\n| `state` | Two-letter state code |\n| `action stage` | Action threshold (feet) |\n| `flood stage` | Minor flood threshold (feet) |\n| `moderate flood stage` | Moderate flood threshold (feet) |\n| `major flood stage` | Major flood threshold (feet) |\n\n## Converting to Numeric\n\nThreshold columns need conversion from strings:\n```python\nnws_df['flood stage'] = pd.to_numeric(nws_df['flood stage'], errors='coerce')\n```\n\n## Filtering by State\n```python\n# Get stations for a specific state\nstate_stations = nws_df[\n    (nws_df['state'] == '\u003CSTATE_CODE>') &\n    (nws_df['usgs id'].notna()) &\n    (nws_df['usgs id'] != '') &\n    (nws_df['flood stage'].notna()) &\n    (nws_df['flood stage'] != -9999)\n]\n```\n\n## Matching Thresholds to Station IDs\n```python\n# Build a dictionary of station thresholds\nstation_ids = ['\u003Cid_1>', '\u003Cid_2>', '\u003Cid_3>']\nthresholds = {}\n\nfor _, row in nws_df.iterrows():\n    usgs_id = str(row['usgs id']).strip()\n    if usgs_id in station_ids:\n        thresholds[usgs_id] = {\n            'name': row['location name'],\n            'flood': row['flood stage']\n        }\n```\n\n## Common Issues\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Column mismatch error | CSV has 44 data columns but 43 headers | Truncate rows to 43 columns |\n| Missing thresholds | Station not in NWS database | Skip station or use alternative source |\n| Value is -9999 | No threshold defined | Filter out these values |\n| Empty usgs id | NWS-only station | Filter by `usgs id != ''` |\n\n## Best Practices\n\n- Always truncate CSV rows to match header count\n- Convert threshold columns to numeric before comparison\n- Filter out -9999 values (indicates no threshold defined)\n- Match stations by USGS ID (8-digit string with leading zeros)\n- Some stations may have flood stage but not action\u002Fmoderate\u002Fmajor\n","# NWS Flood Thresholds Guide\n\n## Overview\n\nThe 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.\n\n## Data Sources\n\n### Option 1: Bulk CSV Download (Recommended for Multiple Stations)\n```\nhttps:\u002F\u002Fwater.noaa.gov\u002Fresources\u002Fdownloads\u002Freports\u002Fnwps_all_gauges_report.csv\n```\n\n### Option 2: Individual Station Pages\n```\nhttps:\u002F\u002Fwater.noaa.gov\u002Fgauges\u002F\u003Cstation_id>\n```\n\nExample: `https:\u002F\u002Fwater.noaa.gov\u002Fgauges\u002F04118105`\n\n## Flood Stage Categories\n\n| Category | CSV Column | Description |\n|----------|------------|-------------|\n| Action Stage | `action stage` | Water level requiring monitoring, preparation may be needed |\n| **Flood Stage (Minor)** | **`flood stage`** | **Minimal property damage, some public threat. Use this to determine if flooding occurred.** |\n| Moderate Flood Stage | `moderate flood stage` | Structure inundation, evacuations may be needed |\n| Major Flood Stage | `major flood stage` | Extensive damage, significant evacuations required |\n\nFor general flood detection, use the `flood stage` column as the threshold.\n\n## Downloading Bulk CSV\n```python\nimport pandas as pd\nimport csv\nimport urllib.request\nimport io\n\nnws_url = \"https:\u002F\u002Fwater.noaa.gov\u002Fresources\u002Fdownloads\u002Freports\u002Fnwps_all_gauges_report.csv\"\n\nresponse = urllib.request.urlopen(nws_url)\ncontent = response.read().decode('utf-8')\nreader = csv.reader(io.StringIO(content))\nheaders = next(reader)\ndata = [row[:43] for row in reader]  # Truncate to 43 columns\nnws_df = pd.DataFrame(data, columns=headers)\n```\n\n## Important: CSV Column Mismatch\n\nThe 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:\n```python\ndata = [row[:43] for row in reader]\n```\n\n## Key Columns\n\n| Column Name | Description |\n|-------------|-------------|\n| `usgs id` | USGS station ID (8-digit string) |\n| `location name` | Station name\u002Flocation |\n| `state` | Two-letter state code |\n| `action stage` | Action threshold (feet) |\n| `flood stage` | Minor flood threshold (feet) |\n| `moderate flood stage` | Moderate flood threshold (feet) |\n| `major flood stage` | Major flood threshold (feet) |\n\n## Converting to Numeric\n\nThreshold columns need conversion from strings:\n```python\nnws_df['flood stage'] = pd.to_numeric(nws_df['flood stage'], errors='coerce')\n```\n\n## Filtering by State\n```python\n# Get stations for a specific state\nstate_stations = nws_df[\n    (nws_df['state'] == '\u003CSTATE_CODE>') &\n    (nws_df['usgs id'].notna()) &\n    (nws_df['usgs id'] != '') &\n    (nws_df['flood stage'].notna()) &\n    (nws_df['flood stage'] != -9999)\n]\n```\n\n## Matching Thresholds to Station IDs\n```python\n# Build a dictionary of station thresholds\nstation_ids = ['\u003Cid_1>', '\u003Cid_2>', '\u003Cid_3>']\nthresholds = {}\n\nfor _, row in nws_df.iterrows():\n    usgs_id = str(row['usgs id']).strip()\n    if usgs_id in station_ids:\n        thresholds[usgs_id] = {\n            'name': row['location name'],\n            'flood': row['flood stage']\n        }\n```\n\n## Common Issues\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Column mismatch error | CSV has 44 data columns but 43 headers | Truncate rows to 43 columns |\n| Missing thresholds | Station not in NWS database | Skip station or use alternative source |\n| Value is -9999 | No threshold defined | Filter out these values |\n| Empty usgs id | NWS-only station | Filter by `usgs id != ''` |\n\n## Best Practices\n\n- Always truncate CSV rows to match header count\n- Convert threshold columns to numeric before comparison\n- Filter out -9999 values (indicates no threshold defined)\n- Match stations by USGS ID (8-digit string with leading zeros)\n- Some stations may have flood stage but not action\u002Fmoderate\u002Fmajor\n",{"name":5,"license":15,"description":7},"main","cdcb6d230f3b15c3c33f8a2bdd16439f43602cbe","evaluation\u002Fresults\u002FOpus47-OriginalSkill-79Tasks-20260920\u002Fruns\u002Fopus47-original-skill\u002Fflood-risk-analysis-opus47-original-skill-r001\u002Finputs\u002Fskills\u002Fnws-flood-thresholds",1,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark","https:\u002F\u002Fgithub.com\u002Flinyouxue","2026-11-14 20:28:35",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add linyouxue\u002Fskill-repair-benchmark --skill nws-flood-thresholds",{"tool":37,"command":38},"bunx","bunx skills add linyouxue\u002Fskill-repair-benchmark --skill nws-flood-thresholds",{"tool":40,"command":41},"pnpm","pnpm dlx skills add linyouxue\u002Fskill-repair-benchmark --skill nws-flood-thresholds","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FOpus47-OriginalSkill-79Tasks-20260920\u002Fruns\u002Fopus47-original-skill\u002Fflood-risk-analysis-opus47-original-skill-r001\u002Finputs\u002Fskills\u002Fnws-flood-thresholds\u002FSKILL.md",true,[],[46,54,61,68,73,78],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":50,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7E1HGVRY73NBJ022CJG13X6","video-frame-extraction","Extract frames from video files and save them as images using OpenCV","Apache-2.0","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":50,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7E1HAG5R7CJ9C8NYJS771MB","openai-vision","Analyze images and multi-frame sequences using OpenAI GPT vision models","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":50,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7E1H7DADKB6QBWKC2KQ63SZ","image-ocr","Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[],{"skillNo":69,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":50,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7E1H0WBNT43TENGQY7AVZHD","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":74,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":50,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7E1GTC7D4N4Q2EF03875J9E","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":79,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":50,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7E1GQ92CWFMGH53KSSE4WER","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[]]