agentsclimarketplace

Run2 Find Earthquake Furthest from Pacific Boundary

Skill cxcscmu/SkillLearnBench/skills/b3-teacher-feedback-claude-haiku-4-5/earthquake-plate-calculation/run2_Find-Earthquake-Furthest-from-Pacific-Boundary

Identify the earthquake with the maximum distance to the Pacific plate boundary from the earthquakes within the Pacific plate. Use this skill to locate the target earthquake for final output.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run2_Find-Earthquake-Furthest-from-Pacific-Boundary

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.4 KB, 253 tokens by cl100k_base, as published. Nobody here has run it

def find_furthest_earthquake(earthquakes_with_distance):
    """
    Find the earthquake furthest from Pacific plate boundaries.
    
    Args:
        earthquakes_with_distance: GeoDataFrame with distance_km column
        
    Returns:
        Dictionary with result earthquake data
    """
    if len(earthquakes_with_distance) == 0:
        raise ValueError("No earthquakes found within Pacific plate")
    
    # Find earthquake with maximum distance
    furthest_idx = earthquakes_with_distance['distance_km'].idxmax()
    furthest_earthquake = earthquakes_with_distance.loc[furthest_idx]
    
    # Extract coordinates (convert back to lat/lon from geometry)
    lat = furthest_earthquake.geometry.y
    lon = furthest_earthquake.geometry.x
    
    result = {
        'id': furthest_earthquake['id'],
        'place': furthest_earthquake['place'],
        'time': furthest_earthquake['time'],
        'magnitude': furthest_earthquake['magnitude'],
        'latitude': lat,
        'longitude': lon,
        'distance_km': round(furthest_earthquake['distance_km'], 2)
    }
    
    return result

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.