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.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin text-corpus-analysisThis skill uses the workspace's default tool permissions.
Route each document to a category from a fixed list.
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.
Analyzes multiple pages for keyword overlap, SEO cannibalization risks, and content duplication. Suggests differentiation, consolidation, and resolution strategies when reviewing similar content.
Share bugs, ideas, or general feedback.
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.