/text-corpus-analysis:setup-local-llmfrom text-corpus-analysis
Audit what local LLM runtimes are installed (Ollama, llama.cpp, vLLM, LM Studio) and suggest/install a model suitable for corpus analysis tasks — classification, labeling, summarization. Use when a skill in this plugin wants a local-LLM lane but nothing is available, or when the user wants to move a cloud workload local for cost/privacy.
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.
Get a local model ready for text-corpus work.
Audit: check for ollama, llama.cpp, vllm, LM Studio, llamafile. Check GPU (nvidia-smi, rocm-smi) for VRAM budget.
Recommend by task profile:
| Task profile | Suggested models |
|---|---|
| Classification / labeling into known categories (1-3k tokens, short answer) | llama3.1:8b, qwen2.5:7b, gemma2:9b — 8-16GB VRAM |
| Semantic judgment on longer docs | qwen2.5:14b, llama3.1:70b (quantized) — 24GB+ VRAM |
| Embedding generation | nomic-embed-text, mxbai-embed-large via Ollama, or all-MiniLM-L6-v2 via sentence-transformers (CPU-fast) |
| Topic labeling (one-off, 20-50 calls) | Any 7B+ instruct model |
Install (Ollama preferred):
ollama pull qwen2.5:7b-instruct
ollama pull nomic-embed-text
Verify with a test prompt, measure throughput (tokens/sec). For a 10k-doc classification run, calculate wall-clock: (N docs × ~300 output tokens) / throughput. If >8 hours, consider cloud instead.
Expose via Ollama's OpenAI-compatible endpoint at http://localhost:11434/v1 — skills in this plugin can hit it with the OpenAI SDK.
See docs/local-llm-sizing.md if present for VRAM/throughput guidance.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
15 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-pluginstext-corpus-analysis@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin text-corpus-analysis