Skills for Real Engineers. Straight from my .agents directory.
hierarchical-taxonomy-clustering
Agent skill frombenchflow-ai/skillsbench
Build unified multi-level category taxonomy from hierarchical product category paths from any e-commerce companies using embedding-based recursive clustering with intelligent category naming via weighted word frequency analysis.
How to install hierarchical-taxonomy-clustering
npx skills add benchflow-ai/skillsbench# or add only this skill to Claude Code: copy the folder
tasks-extra/taxonomy-tree-merge/environment/skills/hierarchical-taxonomy-clustering/
# into
~/.claude/skills/hierarchical-taxonomy-clustering/ (all projects)
.claude/skills/hierarchical-taxonomy-clustering/ (one project)
tasks-extra/taxonomy-tree-merge/environment/skills/hierarchical-taxonomy-clustering/SKILL.md
Apache-2.0Full file1# Hierarchical Taxonomy Clustering23Create a unified multi-level taxonomy from hierarchical category paths by clustering similar paths and automatically generating meaningful category names.45## Problem67Given category paths from multiple sources (e.g., "electronics -> computers -> laptops"), create a unified taxonomy that groups similar paths across sources, generates meaningful category names, and produces a clean N-level hierarchy (typically 5 levels). The unified category taxonomy could be used to do analysis or metric tracking on products from different platform.89## Methodology10111. **Hierarchical Weighting**: Convert paths to embeddings with exponentially decaying weights (Level i gets weight 0.6^(i-1)) to signify the importance of category granularity122. **Recursive Clustering**: Hierarchically cluster at each level (10-20 clusters at L1, 3-20 at L2-L5) using cosine distance133. **Intelligent Naming**: Generate category names via weighted word frequency + lemmatization + bundle word logic144. **Quality Control**: Exclude all ancestor words (parent, grandparent, etc.), avoid ancestor path duplicates, clean special characters1516## Output1718DataFrame with added columns:19- `unified_level_1`: Top-level category (e.g., "electronic | device")20- `unified_level_2`: Second-level category (e.g., "computer | laptop")21- `unified_level_3` through `unified_level_N`: Deeper levels2223Category names use ` | ` separator, max 5 words, covering 70%+ of records in each cluster.2425## Installation26…
Excerpt shown under the repository's Apache-2.0 license.
More skills in skillsbench
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
