discover-ml — Claude Code skill: what it does, how to install
discover-ml loads 42 ML skills from rand/cc-polymath when the agent detects PyTorch, DSPy, RAG, fine-tuning or diffusion model keywords.
MIT 134 installs ★ 193 updated 2026-02-28
npx skills add rand/cc-polymath --skill discover-ml -a claude-codeWhat discover-ml does
The skill activates on machine learning, PyTorch, TensorFlow, Modal, training, inference, RAG, embeddings, fine-tuning, LLM, DSPy, HuggingFace or diffusion model mentions. Inside: 34 ML skills (LLM evaluation, LoRA and Unsloth fine-tuning, DSPy modules and optimizers, Graph RAG, Hierarchical RAG, reranking, Stable Diffusion deployment) and 8 Modal skills (serverless, GPU workloads, web endpoints). Three-level loading: the gateway loads first, then Read ../ml/INDEX.md opens the full category index, and specific skills load on demand.
Without PyTorch, TensorFlow or DSPy in the project, the skill stays dormant. Compatible with any agent that supports the Agent Skills format.
What it helps with
- auto-load relevant ML skills when working with PyTorch or DSPy
- access 42 skills for training, inference, RAG and diffusion without installing each one manually
- trigger LoRA fine-tuning, LLM evaluation or Modal deployment skills by keyword
Example prompts for the agent
- Run
Read ../ml/INDEX.mdto see all 42 skills in the ML category - Fine-tune a model with Unsloth using 4-bit quantization
- Set up Graph RAG with result reranking
How to install discover-ml
1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-ml -a claude-code2Manually: put the files in place
~/.claude/skills/discover-ml/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/discover-ml/
1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-ml -a codex2Manually: put the files in place
.agents/skills/discover-ml/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-ml -a cursor2Manually: put the files in place
.cursor/skills/discover-ml/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install rand/cc-polymath skills/discover-ml2Manually: put the files in place
.github/skills/discover-ml/SKILL.md1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-ml -a gemini-cli2Platform CLI
gemini skills install https://github.com/rand/cc-polymath --path skills/discover-mlManually: put the files in place
.devin/skills/discover-ml/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-ml -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about discover-ml
How to install discover-ml in Claude Code?
Run npx skills add rand/cc-polymath --skill discover-ml -a claude-code. The skill appears in ~/.claude/skills/discover-ml/SKILL.md.
What does discover-ml do?
It auto-loads 42 ML skills from rand/cc-polymath when the agent detects machine learning, PyTorch, DSPy, RAG, fine-tuning, LLM or diffusion work. Inside: fine-tuning, model evaluation, RAG pipelines and Modal deployment skills.
Which skills are included in discover-ml?
34 ML skills (LoRA and Unsloth fine-tuning, LLM evaluation, DSPy modules, Graph RAG, Hierarchical RAG, reranking, Stable Diffusion deployment) and 8 Modal skills (serverless, GPU, web endpoints). Full list in ../ml/INDEX.md.
Source text
SKILL.md · MIT
--- name: discover-ml description: Automatically discover machine learning and AI skills when working with machine learning, PyTorch, training, inference, RAG, embeddings, fine-tuning, LLM, DSPy, HuggingFace, or diffusion models. Activates for ML development tasks. license: MIT metadata: author: rand version: "4.0" compatibility: Designed for Claude Code. Compatible with any agent supporting the Agent Skills format. --- # Ml Skills Discovery Provides automatic access to comprehensive ml skills. ## When This Skill Activates This skill auto-activates when you're working with: - machine learning - ML - AI - models - training - inference - PyTorch - TensorFlow - Modal - serverless functions - cloud deployment - GPU workloads - web endpoints - Modal platform ## Available Skills ### Quick Reference The ML category contains 42 skills across 2 subcategories: **ML (34 skills):** 1. **custom-llm-evaluation** 2. **diffusion-finetuning** 3. **diffusion-model-basics** 4. **dspy-assertions** 5. **dspy-evaluation** 6. **dspy-modules** 7. **dspy-optimizers** 8. **dspy-rag** 9. **dspy-setup** 10. **dspy-signatures** 11. **graph-rag** 12. **hierarchical-rag** 13. **hybrid-search-rag** 14. **llm-as-judge** 15. **llm-benchmarks-evaluation** 16. **llm-dataset-preparation** 17. **llm-evaluation-frameworks** 18. **llm-model-routing** 19. **llm-model-selection** 20. **lora-peft-techniques** 21. **multi-model-orchestration** 22. **rag-evaluation-metrics** 23. **rag-reranking-techniques** 24. **stable-diffusion-deployment** 25. **unsloth-finetuning** Plus 9 more in `../ml/INDEX.md` **Modal (8 skills):** See `../modal/INDEX.md` ### Load Full Category Details Read ../ml/INDEX.md Read ../modal/INDEX.md ## Progressive Loading This gateway skill enables progressive loading: - **Level 1**: Gateway loads automatically (you're here now) - **Level 2**: Load category INDEX.md for full overview - **Level 3**: Load specific skills as needed ## Usage Instructions 1. **Auto-activation**: This skill loads automatically when Claude Code detects ml work 2. **Browse skills**: Run `Read ../ml/INDEX.md` for full category overview 3. **Load specific skills**: Use bash commands above to load individual skills **Next Steps**: Run `Read ../ml/INDEX.md` to see full category details.
© rand · MIT · rand/cc-polymath