/text-corpus-analysis:synonym-clusterfrom text-corpus-analysis
Identify tokens or phrases that refer to the same concept but appear in different forms — transcription variants from voice notes, spelling variants, acronyms vs expansions, aliases. Use on any voice-note or STT-derived corpus before frequency/NER/topic work, or to deduplicate entity lists.
Ships in text-corpus-analysis. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Collapse variant surface forms to a canonical concept.
word-frequency / ner-extraction. Keep surface counts.token_sort_ratio, Jaro-Winkler, or Levenshtein normalized by length. Fast, handles typos and transcription slips well.[
{"canonical": "GitHub", "variants": ["git hub", "get hub", "gitbub"], "total_count": 1423},
{"canonical": "large language model", "variants": ["LLM", "LLMs"], "total_count": 892}
]
re.sub with word boundaries), or keep as a lookup for downstream skills.No LLM needed for the clustering pass itself. Embeddings (if used) are a one-time cost on the unique-vocabulary set — typically 5-50k unique tokens, not N docs. Cheap.
What SKILL.md sets; muted values are Claude Code's defaults
text-corpus-analysis@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin text-corpus-analysis15 skills in this plugin
/categorize-corpusAssign each document in a corpus to one of N user-defined categories. Use when the user has a fixed taxonomy (e.g. 10-20 labels) and wants every note/document routed into exactly one (or top-k) of them. Supports zero-shot classifiers, local LLMs, and cloud LLMs with cost-aware batching./choose-approachDecide whether a corpus analysis task should use classical NLP, a local LLM, or a cloud LLM (OpenRouter) given corpus size, task complexity, and cost tolerance. Use first, before any other skill in this plugin, especially when the corpus is large (thousands+ of documents) or when an LLM pass could get expensive./complementary-pluginsOther plugins' skills for the same job