hierarchical-taxonomy-clustering

Generate unified multi-level category taxonomies from hierarchical product paths.

98|12|Updated May 15, 2026
One-click install
npx skills add https://github.com/agentscope-ai/PawBench --skill hierarchical-taxonomy-clustering-agentscope-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hierarchical-taxonomy-clustering
Source: https://github.com/agentscope-ai/PawBench/tree/main/data/pawbench-v1.0/assets/T139_skillsbench_taxonomy-tree-merge/skills/hierarchical-taxonomy-clustering
Command: npx skills add https://github.com/agentscope-ai/PawBench --skill hierarchical-taxonomy-clustering-agentscope-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, scipy, sentence-transformers, nltk, tqdm, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill builds a unified multi-level category taxonomy from hierarchical product category paths, automating the clustering process for e-commerce platforms.

Core Features & Use Cases

  • Taxonomy Generation: Automates the creation of a unified N-level category hierarchy.
  • Category Naming: Generates meaningful category names using weighted word frequency analysis.
  • Data Preparation: Processes multiple e-commerce datasets, removing duplicates, and cleaning text.
  • Use Case: Use this Skill to cluster product category paths from various online stores into a unified taxonomy for better product analysis and metric tracking.

Quick Start

Run the pipeline to generate a unified taxonomy from the provided category paths.

Frequently Asked Questions about hierarchical-taxonomy-clustering

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a unified multi-level category taxonomy from e-commerce product paths?

Build a unified category taxonomy by using embedding-based recursive clustering on hierarchical product category paths. This process automates grouping similar category paths and generates an N-level hierarchy for e-commerce datasets.

How does embedding-based recursive clustering work for product category clustering?

Embedding-based recursive clustering works by converting hierarchical category paths into text embeddings, then recursively grouping them into a multi-level taxonomy. It also uses weighted word frequency analysis to generate meaningful category names for each cluster.

Do I need sentence-transformers and scipy to automate e-commerce category clustering?

Yes, you need sentence-transformers for generating text embeddings and scipy for clustering operations. The pipeline also requires pandas, numpy, nltk, and tqdm to process multiple e-commerce datasets, remove duplicates, and clean text.

What's the best way to clean and prepare multiple e-commerce datasets for category clustering?

The best way to clean e-commerce datasets is to remove duplicates and process text data before clustering. This data preparation step ensures that the embedding-based recursive clustering generates a unified multi-level taxonomy accurately.

Can I generate meaningful category names automatically from hierarchical product paths?

Yes, you can automatically generate meaningful category names from hierarchical product paths. The pipeline uses weighted word frequency analysis on the clustered category texts to derive representative names for the unified multi-level taxonomy.