[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XD6Y507DKRNPKBPHDNH8QR":3,"skill-same:01M6XD6Y507DKRNPKBPHDNH8QR":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":13,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M6XD6Y507DKRNPKBPHDNH8QR","flood-detection",null,"Detect flood events by comparing water levels to thresholds. Use when determining if flooding occurred, counting flood days, aggregating instantaneous data to daily values, or classifying flood severity.","Waaaalnut\u002Fskillsbench","Waaaalnut","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F103995656?v=4","01M6XCS9K1V51EY3JMB7DGMX24","01M6XCS9Q4WPW88W62C55G1H44",0,"MIT","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks-no-skills\u002Fflood-risk-analysis\u002Fenvironment\u002Fskills\u002Fflood-detection\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29],"detection","flood detection","data","severity","use","daily","thresholds","events","counting","detect","values","when","2026-11-10 10:12:30",false,"---\nname: flood-detection\ndescription: Detect flood events by comparing water levels to thresholds. Use when determining if flooding occurred, counting flood days, aggregating instantaneous data to daily values, or classifying flood severity.\nlicense: MIT\n---\n\n# Flood Detection Guide\n\n## Overview\n\nFlood detection involves comparing observed water levels against established flood stage thresholds. This guide covers how to process water level data and identify flood events.\n\n## Flood Stage Definition\n\nAccording to the National Weather Service, flood stage is the water level at which overflow of the natural banks begins to cause damage. A flood event occurs when:\n```\nwater_level >= flood_stage_threshold\n```\n\n## Aggregating Instantaneous Data to Daily\n\nUSGS instantaneous data is recorded at ~15-minute intervals. For flood detection, aggregate to daily maximum:\n```python\n# df is DataFrame from nwis.get_iv() with datetime index\n# gage_col is the column name containing water levels\n\ndaily_max = df[gage_col].resample('D').max()\n```\n\n### Why Daily Maximum?\n\n| Aggregation | Use Case |\n|-------------|----------|\n| `max()` | Flood detection - captures peak water level |\n| `mean()` | Long-term trends - may miss short flood peaks |\n| `min()` | Low flow analysis |\n\n## Detecting Flood Days\n\nCompare daily maximum water level against flood threshold:\n```python\nflood_threshold = \u003Cthreshold_from_nws>  # feet\n\n# Count days with flooding\nflood_days = (daily_max >= flood_threshold).sum()\n\n# Get specific dates with flooding\nflood_dates = daily_max[daily_max >= flood_threshold].index.tolist()\n```\n\n## Processing Multiple Stations\n```python\nflood_results = []\n\nfor site_id, site_data in all_data.items():\n    daily_max = site_data['water_levels'].resample('D').max()\n    threshold = thresholds[site_id]['flood']\n\n    days_above = int((daily_max >= threshold).sum())\n\n    if days_above > 0:\n        flood_results.append({\n            'station_id': site_id,\n            'flood_days': days_above\n        })\n\n# Sort by flood days descending\nflood_results.sort(key=lambda x: x['flood_days'], reverse=True)\n```\n\n## Flood Severity Classification\n\nIf multiple threshold levels are available:\n```python\ndef classify_flood(water_level, thresholds):\n    if water_level >= thresholds['major']:\n        return 'major'\n    elif water_level >= thresholds['moderate']:\n        return 'moderate'\n    elif water_level >= thresholds['flood']:\n        return 'minor'\n    elif water_level >= thresholds['action']:\n        return 'action'\n    else:\n        return 'normal'\n```\n\n## Output Format Examples\n\n### Simple CSV Output\n```python\nimport csv\n\nwith open('flood_results.csv', 'w', newline='') as f:\n    writer = csv.writer(f)\n    writer.writerow(['station_id', 'flood_days'])\n    for result in flood_results:\n        writer.writerow([result['station_id'], result['flood_days']])\n```\n\n### JSON Output\n```python\nimport json\n\noutput = {\n    'flood_events': flood_results,\n    'total_stations_with_flooding': len(flood_results)\n}\n\nwith open('flood_report.json', 'w') as f:\n    json.dump(output, f, indent=2)\n```\n\n## Common Issues\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| No floods detected | Threshold too high or dry period | Verify threshold values |\n| All days show flooding | Threshold too low or data error | Check threshold units (feet vs meters) |\n| NaN in daily_max | Missing data for entire day | Check data availability |\n\n## Best Practices\n\n- Use daily maximum for flood detection to capture peaks\n- Ensure water level and threshold use same units (typically feet)\n- Only report stations with at least 1 flood day\n- Sort results by flood severity or duration for prioritization\n","# Flood Detection Guide\n\n## Overview\n\nFlood detection involves comparing observed water levels against established flood stage thresholds. This guide covers how to process water level data and identify flood events.\n\n## Flood Stage Definition\n\nAccording to the National Weather Service, flood stage is the water level at which overflow of the natural banks begins to cause damage. A flood event occurs when:\n```\nwater_level >= flood_stage_threshold\n```\n\n## Aggregating Instantaneous Data to Daily\n\nUSGS instantaneous data is recorded at ~15-minute intervals. For flood detection, aggregate to daily maximum:\n```python\n# df is DataFrame from nwis.get_iv() with datetime index\n# gage_col is the column name containing water levels\n\ndaily_max = df[gage_col].resample('D').max()\n```\n\n### Why Daily Maximum?\n\n| Aggregation | Use Case |\n|-------------|----------|\n| `max()` | Flood detection - captures peak water level |\n| `mean()` | Long-term trends - may miss short flood peaks |\n| `min()` | Low flow analysis |\n\n## Detecting Flood Days\n\nCompare daily maximum water level against flood threshold:\n```python\nflood_threshold = \u003Cthreshold_from_nws>  # feet\n\n# Count days with flooding\nflood_days = (daily_max >= flood_threshold).sum()\n\n# Get specific dates with flooding\nflood_dates = daily_max[daily_max >= flood_threshold].index.tolist()\n```\n\n## Processing Multiple Stations\n```python\nflood_results = []\n\nfor site_id, site_data in all_data.items():\n    daily_max = site_data['water_levels'].resample('D').max()\n    threshold = thresholds[site_id]['flood']\n\n    days_above = int((daily_max >= threshold).sum())\n\n    if days_above > 0:\n        flood_results.append({\n            'station_id': site_id,\n            'flood_days': days_above\n        })\n\n# Sort by flood days descending\nflood_results.sort(key=lambda x: x['flood_days'], reverse=True)\n```\n\n## Flood Severity Classification\n\nIf multiple threshold levels are available:\n```python\ndef classify_flood(water_level, thresholds):\n    if water_level >= thresholds['major']:\n        return 'major'\n    elif water_level >= thresholds['moderate']:\n        return 'moderate'\n    elif water_level >= thresholds['flood']:\n        return 'minor'\n    elif water_level >= thresholds['action']:\n        return 'action'\n    else:\n        return 'normal'\n```\n\n## Output Format Examples\n\n### Simple CSV Output\n```python\nimport csv\n\nwith open('flood_results.csv', 'w', newline='') as f:\n    writer = csv.writer(f)\n    writer.writerow(['station_id', 'flood_days'])\n    for result in flood_results:\n        writer.writerow([result['station_id'], result['flood_days']])\n```\n\n### JSON Output\n```python\nimport json\n\noutput = {\n    'flood_events': flood_results,\n    'total_stations_with_flooding': len(flood_results)\n}\n\nwith open('flood_report.json', 'w') as f:\n    json.dump(output, f, indent=2)\n```\n\n## Common Issues\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| No floods detected | Threshold too high or dry period | Verify threshold values |\n| All days show flooding | Threshold too low or data error | Check threshold units (feet vs meters) |\n| NaN in daily_max | Missing data for entire day | Check data availability |\n\n## Best Practices\n\n- Use daily maximum for flood detection to capture peaks\n- Ensure water level and threshold use same units (typically feet)\n- Only report stations with at least 1 flood day\n- Sort results by flood severity or duration for prioritization\n",{"name":5,"license":14,"description":7},"main","7eeb258ada72b7f58119b0e7a2c00ea89d9beedd","tasks-no-skills\u002Fflood-risk-analysis\u002Fenvironment\u002Fskills\u002Fflood-detection","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench","https:\u002F\u002Fgithub.com\u002FWaaaalnut","student of Zhejiang University","2026-04-21 23:16:23",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add Waaaalnut\u002Fskillsbench --skill flood-detection",{"tool":48,"command":49},"bunx","bunx skills add Waaaalnut\u002Fskillsbench --skill flood-detection",{"tool":51,"command":52},"pnpm","pnpm dlx skills add Waaaalnut\u002Fskillsbench --skill flood-detection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks-no-skills\u002Fflood-risk-analysis\u002Fenvironment\u002Fskills\u002Fflood-detection\u002FSKILL.md",true,[],[57,66,81,102,122,140],{"skillNo":58,"name":59,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":30},"01M6XEWMJ6VY3ZC53MPDCPG3GH","data-reconciliation","Apache-2.0","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fxlsx-recover-data\u002Fenvironment\u002Fskills\u002Fdata-reconciliation\u002FSKILL.md",[],[64,65,20],"data reconciliation","reconciliation",{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":30},"01M6XEW8MNPMF1KRXV6ATGFRQF","speech-to-text","Transcribe video to timestamped text using Whisper tiny model (pre-installed).","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-tutorial-indexer\u002Fenvironment\u002Fskills\u002Fspeech-to-text\u002FSKILL.md",[],[73,74,75,76,77,78,79,80],"speech","text","speech to text","transcribe video","whisper","model","Video","transcribe",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":30},"01M6XEW3FQZP0T1RKQQJFXVY9T","video-processor","Process videos by removing segments and concatenating remaining parts. Use when you need to remove detected pauses\u002Fopenings from videos, create highlight reels, or batch process segment removals using ffmpeg filter_complex.","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Fvideo-processor\u002FSKILL.md",[],[79,88,89,90,91,92,29,93,94,95,96,97,98,99,100,22,101],"processor","video processor","batch","create","reels","parts","segments","process","videos","you","segment","filter","ffmpeg","remove",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":30},"01M6XEVXJ5KZ0NTY3XZKRY4AS1","silence-detector","Detect initial silence segments in audio\u002Fvideo using energy-based analysis. Use when you need to find low-energy periods at the start of recordings (title slides, setup time, pre-roll silence).","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Fsilence-detector\u002FSKILL.md",[],[109,110,111,112,29,97,113,114,115,116,27,94,117,118,79,119,120,121,22],"detector","silence detector","title","slides","time","energy","at","recordings","find","Audio","analysis","start","setup",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":30},"01M6XEVT3NGRN1FT7JPMAPXS6M","segment-combiner","Combine multiple segment detection results into a unified list. Use when you need to merge segments from different detectors, prepare removal lists for video processing, or consolidate detection outputs.","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Fsegment-combiner\u002FSKILL.md",[],[98,129,79,18,130,131,132,133,29,134,135,94,97,136,137,22,138,139],"segment combiner","prepare","merge","video processing","for","outputs","combine","processing","consolidate","results","list",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":30},"01M6XEVMPVASGS2KX86QK4FMT7","report-generator","Generate compression reports for video processing. Use when you need to create structured JSON reports with duration statistics, compression ratios, and segment details after video processing.","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Freport-generator\u002FSKILL.md",[],[147,148,149,98,29,133,97,150,136,151,152,153,22,132,154,79,155,156,91],"generator","report generator","report","with","statistics","structured","reports","json","compression","generate"]