SkillTrust

← All skills

mars-custom-distance-metric

100 / 100 · Low risk

Fine to try.

By cxcscmu/SkillLearnBench (GitHub) · data · 93 stars · scanned at commit 726e1f7

Implement weighted custom distance metric for DBSCAN clustering. Use this skill when working with DBSCAN on Mars cloud data where distances need to be weighted differently across x and y axes using a shape_weight parameter (w). The custom metric is d(a,b) = sqrt((w*Δx)² + ((2-w)*Δy)²), controlling whether x-distances or y-distances are attenuated.

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'mars-custom-distance-metric' ] || [ -L ~/.agents/skills/'mars-custom-distance-metric' ]; then echo 'A skill folder named mars-custom-distance-metric already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/cxcscmu/SkillLearnBench' "$d" && git -C "$d" checkout --quiet '726e1f79b96b0cb3d729d0e55a1c847e0b5353ae' -- 'skills/b4-skill-creator-claude-haiku-4-5/dbscan-parameter-tuning/mars-custom-distance-metric' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/b4-skill-creator-claude-haiku-4-5/dbscan-parameter-tuning/mars-custom-distance-metric' ~/.agents/skills/'mars-custom-distance-metric' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'mars-custom-distance-metric' ~/.claude/skills/'mars-custom-distance-metric' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for cxcscmu/SkillLearnBench shows the score of its lowest-scoring skill.

SkillTrust badge for cxcscmu/SkillLearnBench

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/cxcscmu/SkillLearnBench.svg)](https://zalavijaysinh.github.io/skilltrust/repos/cxcscmu/SkillLearnBench/)

Score history

DateVersionScore
2026-11-07726e1f7100