accuracy-improvement-l…
Use when an existing model's results are disappointing and the user wants higher accuracy - 'accuracy is still too low', 'improve/boost the model', 'why is it…
Use for text / NLP / LLM tasks: text classification, sentiment, NER/token tagging, QA, summarization, translation, semantic search / embeddings, retrieval-augmented generation (RAG), chatbots/agents, and fine-tuning language models. Picks prompt vs fine-tune vs RAG, the right
$ npx -y skills add mxslr/mlcraft --skill domain-nlp-llm --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/domain-nlp-llmContext preview
The summary Claude sees to decide when to auto-load this skill.
Use for text / NLP / LLM tasks: text classification, sentiment, NER/token tagging, QA, summarization, translation, semantic search / embeddings, retrieval-augmented generation (RAG), chatbots/agents, and fine-tuning language models. Picks prompt vs fine-tune vs RAG, the right
name: domain-nlp-llm description: "Use for text / NLP / LLM tasks: text classification, sentiment, NER/token tagging, QA, summarization, translation, semantic search / embeddings, retrieval-augmented generation (RAG), chatbots/agents, and fine-tuning language models. Picks prompt vs fine-tune vs RAG, the right model, and rigorous text evaluation. Triggers on 'classify text', 'sentiment', 'NER', 'summarize', 'chatbot', 'RAG', 'embeddings', 'fine-tune LLM', 'question answering'."
First decide the *cheapest approach that works*: prompt, then RAG, then fine-tune, in that order of effort.
| Sub-task | Recommended | Notes | |---|---|---| | Text classification / sentiment | **Fine-tune DeBERTa-v3 / RoBERTa** (or a strong LLM few-shot if data is tiny) | Encoder models are cheap, strong, and fast for fixed label sets. | | NER / token tagging | **DeBERTa/RoBERTa token-classification** | Span-level F1; watch tokenizer alignment. | | Semantic search / dedup / clustering | **Sentence-embeddings (e5 / BGE / GTE)** + vector index | Cosine similarity; evaluate with retrieval metrics. | | Knowledge Q&A over your docs | **RAG** (embed + retrieve + LLM answer) | Prefer RAG over fine-tuning for factual/updatable knowledge. | | Summarize / rewrite / extract / generate | **Instruction-tuned LLM (prompted)** | Start with prompting + few-shot; structured output via schema. | | Domain adaptation of an LLM | **LoRA/QLoRA fine-tune** | Parameter-efficient; only after prompting/RAG proves insufficient. | | Chatbot / tool-use agent | **LLM + tools/function-calling**, RAG for grounding | Define tools crisply; add guardrails. |
A research-first AI/ML research-engineer workflow for Claude Code
Use when an existing model's results are disappointing and the user wants higher accuracy - 'accuracy is still too low', 'improve/boost the model', 'why is it…
Use BEFORE training any model, to build correct train/val/test splits and hunt data leakage - the #1 cause of fake-high accuracy. Covers group/patient/subject…
Use as the FIRST step of any ML task, before choosing a model, to inspect and understand the actual dataset. Works for a LOCAL dataset (Claude reads the files…
Use when turning a trained model into something usable (an app, an inference function, a demo) or adding explainability. Selects the RIGHT interpretability…
Use for 3D and point cloud tasks: point cloud classification, 3D semantic or instance segmentation, 3D object detection from LiDAR, and depth or mesh analysis,…
Use for anomaly, outlier, and novelty detection across data types: industrial or visual defect detection, time-series or sensor anomalies and predictive…