lamm-mit/scienceclaw/motif-clustering

Claude Code and agent skill by lamm-mit/scienceclaw

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install lamm-mit/scienceclaw/motif-clustering

SKILL.md

The same SKILL.md was published earlier as lamm-mit/scienceclaw/motif-clustering.

motif-clustering

Clusters melodic motifs using scikit-learn (KMeans or hierarchical clustering) with optional UMAP projection. Takes motif JSON (from motif-detection) and groups them by interval similarity.

Usage

bash
python3 skills/motif-clustering/scripts/motif_clustering.py --query "bach motifs" --n-clusters 8 --method kmeans
python3 skills/motif-clustering/scripts/motif_clustering.py --query "bach motifs" --method hierarchical

Output

json
{
"method": "kmeans",
"n_clusters": 8,
"clusters": [
{
"cluster_id": 0,
"n_members": 12,
"centroid_intervals": [2, -1, 2],
"genre_distribution": {"baroque": 8, "folk": 4},
"top_motifs": ["m_0001", "m_0012"]
}
],
"silhouette_score": 0.47,
"inertia": 234.5
}

Dependencies

  • scikit-learn
  • music21

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
242
Repository forks
42
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 30 Aug 2026, 3 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/lamm-mit/scienceclaw/motif-clustering/badge)](https://verified-skill.com/skills/lamm-mit/scienceclaw/motif-clustering)

Something wrong with this skill or its page? Tell us.