Taxonomy unification

From XuShuwenn/RedAct · View interactive version

Taxonomy unification is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Unify multiple hierarchical category taxonomies into a single 5-level catalog using weighted text embeddings, recursive clustering, rule-based naming, and validation.

How to use this skill

Skill file

Hierarchical Taxonomy Unification

Unify category taxonomies from different sources (e.g., marketplaces, catalogs) into a single 5-level hierarchy that satisfies structure and naming constraints. The workflow combines text preprocessing, weighted embeddings, recursive clustering, rule-based naming, and validation.

When to Use

Use this skill when you need to:

Core Workflow

  1. Input Inspection and Normalization
  1. Text Standardization (per level)
  1. Weighted Embedding Generation
  1. Recursive Clustering (Top-Down)
  1. Cluster Naming (Rule-Based)
  1. Assignment and Export
  1. Validation

Verification

Success criteria:

Use the included validator script:

Common Pitfalls and Remedies

Optional Script Usage

These utilities are independent of any specific dataset and can be integrated into your preprocessing and QA steps.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.