From text-corpus-analysis
Assign 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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/text-corpus-analysis:categorize-corpusThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Route each document to a category from a fixed list.
Route each document to a category from a fixed list.
choose-approach):
facebook/bart-large-mnli via HF, or cross-encoder/nli-deberta-v3-base) — free, local, fast, good baseline. Often sufficient for 10-20 well-defined categories.You are a classifier. Choose the single best category for the document.
Categories:
- <label>: <definition>
- ...
Document: <text, truncated to budget>
Respond with JSON: {"category": "<label>", "confidence": 0-1, "reasoning": "<one sentence>"}
Use structured output / JSON mode. Cache the system prompt (Anthropic/OpenAI prompt caching) — same taxonomy for every doc.confidence<0.7 on premium.categorized.jsonl: {doc_id, category, confidence, reasoning}category-distribution.csv: counts per category.If categories aren't mutually exclusive, ask the model for {"categories": [...]} with max-k constraint, or use zero-shot with a threshold on independent scores.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin text-corpus-analysis