[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KFQN67M4D2XPR6RHQEVJ89":3,"skill-same:01M6KFQN67M4D2XPR6RHQEVJ89":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":39,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M6KFQN67M4D2XPR6RHQEVJ89","run2_earthquake-analysis",null,"Parse USGS GeoJSON earthquake data into GeoPandas GeoDataFrame and output structured JSON results for geospatial analysis.","cxcscmu\u002FSkillLearnBench","cxcscmu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142838272?v=4","01M6KCQDFQWPDSN0MKZY96MSQP","01M6KCQDM7G70TKJ28NTSQC0RZ",93,"MIT","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb2-self-feedback-claude-sonnet-4-6\u002Fearthquake-plate-calculation\u002Frun2_earthquake-analysis\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28],"analysis","run2 earthquake analysis","geospatial","data","geopandas","json","results","geojson","structured","output","for","2026-11-10 10:12:30",false,"---\nname: run2_earthquake-analysis\ndescription: Parse USGS GeoJSON earthquake data into GeoPandas GeoDataFrame and output structured JSON results for geospatial analysis.\n---\n\n# USGS Earthquake GeoJSON Analysis (Improved)\n\n## Data Structure\n\n```json\n{\n  \"type\": \"FeatureCollection\",\n  \"metadata\": {\"count\": 1504},\n  \"features\": [{\n    \"type\": \"Feature\",\n    \"properties\": {\n      \"mag\": 5.1,\n      \"place\": \"13 km NW of Port-Vila, Vanuatu\",\n      \"time\": 1735537742808,  \u002F\u002F milliseconds since Unix epoch (UTC)\n      \"type\": \"earthquake\"    \u002F\u002F could also be \"quarry blast\" etc.\n    },\n    \"geometry\": {\n      \"type\": \"Point\",\n      \"coordinates\": [lon, lat, depth_km]  \u002F\u002F NOTE: lon first, then lat\n    },\n    \"id\": \"us6000pgf9\"\n  }]\n}\n```\n\n## Loading into GeoPandas\n\n```python\nimport json\nimport geopandas as gpd\nfrom shapely.geometry import Point\nfrom datetime import datetime, timezone\n\nwith open(\"earthquakes_2024.json\") as f:\n    eq_data = json.load(f)\n\nrows = []\nfor feat in eq_data[\"features\"]:\n    props = feat[\"properties\"]\n    coords = feat[\"geometry\"][\"coordinates\"]\n    # coordinates = [longitude, latitude, depth] — lon FIRST\n    rows.append({\n        \"id\": feat[\"id\"],\n        \"place\": props.get(\"place\", \"\"),\n        \"time\": datetime.fromtimestamp(props[\"time\"] \u002F 1000, tz=timezone.utc),\n        \"magnitude\": props.get(\"mag\"),\n        \"longitude\": coords[0],\n        \"latitude\": coords[1],\n    })\n\ngeometry = [Point(r[\"longitude\"], r[\"latitude\"]) for r in rows]\ngdf_eq = gpd.GeoDataFrame(rows, geometry=geometry, crs=\"EPSG:4326\")\n```\n\n## Key Points\n\n- **Timestamps** are in milliseconds (not seconds) — divide by 1000 before `fromtimestamp()`\n- **Coordinates** order is `[longitude, latitude, depth]` in GeoJSON (lon first!)\n- **Depth** is the third coordinate element — ignore for 2D spatial analysis\n- Event types may include non-earthquakes; filter if needed: `props[\"type\"] == \"earthquake\"`\n\n## Time Formatting (ISO 8601)\n\n```python\nfrom datetime import datetime, timezone\n\ntime_ms = 1735537742808\ndt = datetime.fromtimestamp(time_ms \u002F 1000, tz=timezone.utc)\niso_str = dt.strftime(\"%Y-%m-%dT%H:%M:%SZ\")\n# => \"2024-12-30T02:29:02Z\"\n```\n\n## Output JSON Format\n\n```python\nimport json\n\nresult = {\n    \"id\": str(furthest[\"id\"]),\n    \"place\": furthest[\"place\"],\n    \"time\": furthest[\"time\"].strftime(\"%Y-%m-%dT%H:%M:%SZ\"),\n    \"magnitude\": float(furthest[\"magnitude\"]),\n    \"latitude\": float(furthest[\"latitude\"]),\n    \"longitude\": float(furthest[\"longitude\"]),\n    \"distance_km\": round(float(furthest[\"distance_km\"]), 2)\n}\n\nwith open(\"\u002Froot\u002Fanswer.json\", \"w\") as f:\n    json.dump(result, f, indent=2)\n```\n\n## Common Gotchas\n\n| Issue | Solution |\n|-------|----------|\n| Unicode in place names | Python's json.dump handles it; use `ensure_ascii=False` to preserve UTF-8 |\n| Timestamp in ms vs seconds | Always divide `time` by 1000 before `fromtimestamp()` |\n| lon\u002Flat order in GeoJSON | GeoJSON uses `[lon, lat]`; `Point(lon, lat)` matches this |\n| float precision in output | Use `float()` cast and `round()` for clean JSON output |\n","# USGS Earthquake GeoJSON Analysis (Improved)\n\n## Data Structure\n\n```json\n{\n  \"type\": \"FeatureCollection\",\n  \"metadata\": {\"count\": 1504},\n  \"features\": [{\n    \"type\": \"Feature\",\n    \"properties\": {\n      \"mag\": 5.1,\n      \"place\": \"13 km NW of Port-Vila, Vanuatu\",\n      \"time\": 1735537742808,  \u002F\u002F milliseconds since Unix epoch (UTC)\n      \"type\": \"earthquake\"    \u002F\u002F could also be \"quarry blast\" etc.\n    },\n    \"geometry\": {\n      \"type\": \"Point\",\n      \"coordinates\": [lon, lat, depth_km]  \u002F\u002F NOTE: lon first, then lat\n    },\n    \"id\": \"us6000pgf9\"\n  }]\n}\n```\n\n## Loading into GeoPandas\n\n```python\nimport json\nimport geopandas as gpd\nfrom shapely.geometry import Point\nfrom datetime import datetime, timezone\n\nwith open(\"earthquakes_2024.json\") as f:\n    eq_data = json.load(f)\n\nrows = []\nfor feat in eq_data[\"features\"]:\n    props = feat[\"properties\"]\n    coords = feat[\"geometry\"][\"coordinates\"]\n    # coordinates = [longitude, latitude, depth] — lon FIRST\n    rows.append({\n        \"id\": feat[\"id\"],\n        \"place\": props.get(\"place\", \"\"),\n        \"time\": datetime.fromtimestamp(props[\"time\"] \u002F 1000, tz=timezone.utc),\n        \"magnitude\": props.get(\"mag\"),\n        \"longitude\": coords[0],\n        \"latitude\": coords[1],\n    })\n\ngeometry = [Point(r[\"longitude\"], r[\"latitude\"]) for r in rows]\ngdf_eq = gpd.GeoDataFrame(rows, geometry=geometry, crs=\"EPSG:4326\")\n```\n\n## Key Points\n\n- **Timestamps** are in milliseconds (not seconds) — divide by 1000 before `fromtimestamp()`\n- **Coordinates** order is `[longitude, latitude, depth]` in GeoJSON (lon first!)\n- **Depth** is the third coordinate element — ignore for 2D spatial analysis\n- Event types may include non-earthquakes; filter if needed: `props[\"type\"] == \"earthquake\"`\n\n## Time Formatting (ISO 8601)\n\n```python\nfrom datetime import datetime, timezone\n\ntime_ms = 1735537742808\ndt = datetime.fromtimestamp(time_ms \u002F 1000, tz=timezone.utc)\niso_str = dt.strftime(\"%Y-%m-%dT%H:%M:%SZ\")\n# => \"2024-12-30T02:29:02Z\"\n```\n\n## Output JSON Format\n\n```python\nimport json\n\nresult = {\n    \"id\": str(furthest[\"id\"]),\n    \"place\": furthest[\"place\"],\n    \"time\": furthest[\"time\"].strftime(\"%Y-%m-%dT%H:%M:%SZ\"),\n    \"magnitude\": float(furthest[\"magnitude\"]),\n    \"latitude\": float(furthest[\"latitude\"]),\n    \"longitude\": float(furthest[\"longitude\"]),\n    \"distance_km\": round(float(furthest[\"distance_km\"]), 2)\n}\n\nwith open(\"\u002Froot\u002Fanswer.json\", \"w\") as f:\n    json.dump(result, f, indent=2)\n```\n\n## Common Gotchas\n\n| Issue | Solution |\n|-------|----------|\n| Unicode in place names | Python's json.dump handles it; use `ensure_ascii=False` to preserve UTF-8 |\n| Timestamp in ms vs seconds | Always divide `time` by 1000 before `fromtimestamp()` |\n| lon\u002Flat order in GeoJSON | GeoJSON uses `[lon, lat]`; `Point(lon, lat)` matches this |\n| float precision in output | Use `float()` cast and `round()` for clean JSON output |\n",{"name":5,"description":7},"main","726e1f79b96b0cb3d729d0e55a1c847e0b5353ae","skills\u002Fb2-self-feedback-claude-sonnet-4-6\u002Fearthquake-plate-calculation\u002Frun2_earthquake-analysis",8,"https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench","https:\u002F\u002Fcxcscmu.github.io\u002FSkillLearnBench","https:\u002F\u002Fgithub.com\u002Fcxcscmu","2026-10-02 22:55:36",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add cxcscmu\u002FSkillLearnBench --skill run2_earthquake-analysis",{"tool":48,"command":49},"bunx","bunx skills add cxcscmu\u002FSkillLearnBench --skill run2_earthquake-analysis",{"tool":51,"command":52},"pnpm","pnpm dlx skills add cxcscmu\u002FSkillLearnBench --skill run2_earthquake-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb2-self-feedback-claude-sonnet-4-6\u002Fearthquake-plate-calculation\u002Frun2_earthquake-analysis\u002FSKILL.md",true,[],[57,70,90,108,126,137],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":29},"01M6KM5KH175P5ABP5JMX2SBDQ","object_counter","Count occurrences of an object in the image using computer vision algorithm.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Fvideo-object-counting\u002Fobject_counter\u002FSKILL.md",[],[64,65,66,67,68,69],"object counter","object","vision","computer","Computer Vision","image",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":29},"01M6KM51TMVXG79MMPCS6Y8G86","travel-planning-workflow","Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftravel-planning\u002Ftravel-planning-workflow\u002FSKILL.md",[],[77,78,79,80,81,82,26,83,84,28,85,86,87,88,89],"workflow","planning","planning workflow","travel","travel planning","travel planning workflow","performing","plan","user","it","requirements","essential","itineraries",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":29},"01M6KM4DY820XHS9YTSK5QP5HD","bundled-dataset-search-tool","invoke this skill when you need to perform database search for travel planning. This skill provides some useful pre-packaged tools to look up accommodations, attractions, cities, driving distance, flights, and restaurants from the bundled dataset.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftravel-planning\u002Fbundled-dataset-search-tool\u002FSKILL.md",[],[97,98,99,100,101,102,103,80,104,105,81,106,28,107,78],"search","tool","dataset","bundled dataset search tool","restaurants","Tools","up","look","flights","you","database",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":29},"01M6KM465BB9PQ0B548HQSVAWZ","glm-output","Output-processing guidance for GLM tasks. Especially useful after glm-basics and glm-calibration when you need verifier-matching metrics from output.nc and a final \u002Froot\u002Fmetrics.json.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-output\u002FSKILL.md",[],[115,27,116,28,117,118,23,119,120,121,122,123,106,124,125],"glm output","glm","tasks","metrics","basics","guidance","matching","verifier","processing","root","calibration",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":29},"01M6KM40KY3QWDW5W97S39R2BC","glm-calibration","Calibration guidance for GLM tasks. Often most effective after glm-basics has clarified the setup; glm-output is the companion skill for exact final metric computation.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-calibration\u002FSKILL.md",[],[133,125,116,27,120,119,117,134,135,28,136],"glm calibration","setup","companion","metric",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":29},"01M6KM3VHHVSGMGHJQB3PPT6YG","glm-basics","A good starting point for GLM calibration tasks. Use to inspect glm3.nml, confirm how GLM runs, and identify the relevant files before moving on to calibration and output evaluation.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-basics\u002FSKILL.md",[],[144,116,119,145,133,125,28,27,146,147,148,149,150,151,117],"glm basics","inspect","relevant","files","good","use","how","Evaluation"]