Provides guidance for fine-tuning models, configuring training parameters, and handling multimodal tasks using LLaMA-Factory.

Install

mkdir -p .claude/skills/llama-factory && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/201" && unzip -o skill.zip -d .claude/skills/llama-factory && rm skill.zip

Installs to .claude/skills/llama-factory

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Expert guidance for fine-tuning LLMs with LLaMA-Factory - WebUI no-code, 100+ models, 2/3/4/5/6/8-bit QLoRA, multimodal support
127 charsno explicit “when” trigger
Advanced

Key capabilities

  • Configure QLoRA and LoRA training parameters
  • Manage multimodal dataset preparation workflows
  • Debug common training crashes and memory errors
  • Access pre-built model training templates
  • Navigate framework-specific reference documentation

How it works

References official LLaMA-Factory documentation and boilerplate scripts to guide users through training configuration and error mitigation.

Inputs & outputs

You give it
Training objective and model configuration requirements
You get back
Optimized configuration files or troubleshooting steps

When to use llama-factory

  • Fine-tune custom LLMs using QLoRA
  • Configure WebUI settings for training
  • Debug model training crashes
  • Implement multimodal dataset support

About this skill

Llama-Factory Skill

Comprehensive assistance with llama-factory development, generated from official documentation.

When to Use This Skill

This skill should be triggered when:

  • Working with llama-factory
  • Asking about llama-factory features or APIs
  • Implementing llama-factory solutions
  • Debugging llama-factory code
  • Learning llama-factory best practices

Quick Reference

Common Patterns

Quick reference patterns will be added as you use the skill.

Reference Files

This skill includes comprehensive documentation in references/:

  • _images.md - Images documentation
  • advanced.md - Advanced documentation
  • getting_started.md - Getting Started documentation
  • other.md - Other documentation

Use view to read specific reference files when detailed information is needed.

Working with This Skill

For Beginners

Start with the getting_started or tutorials reference files for foundational concepts.

For Specific Features

Use the appropriate category reference file (api, guides, etc.) for detailed information.

For Code Examples

The quick reference section above contains common patterns extracted from the official docs.

Resources

references/

Organized documentation extracted from official sources. These files contain:

  • Detailed explanations
  • Code examples with language annotations
  • Links to original documentation
  • Table of contents for quick navigation

scripts/

Add helper scripts here for common automation tasks.

assets/

Add templates, boilerplate, or example projects here.

Notes

  • This skill was automatically generated from official documentation
  • Reference files preserve the structure and examples from source docs
  • Code examples include language detection for better syntax highlighting
  • Quick reference patterns are extracted from common usage examples in the docs

Updating

To refresh this skill with updated documentation:

  1. Re-run the scraper with the same configuration
  2. The skill will be rebuilt with the latest information

When not to use it

  • Training without using LLaMA-Factory
  • Simple inference tasks that do not require fine-tuning

Prerequisites

llmtunertorchtransformerspeft

Limitations

  • Requires significant compute resources
  • Documentation relies on upstream library versions
  • Troubleshooting is specific to the LLaMA-Factory environment

How it compares

It focuses on specific LLaMA-Factory tooling and configuration patterns rather than generic machine learning theory.

Compared to similar skills

llama-factory side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
llama-factory (this skill)158moNo flagsAdvanced
senior-prompt-engineer77moReviewAdvanced
dspy47moReviewIntermediate
agentic-development14moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

More by zechenzhangAGI

View all by zechenzhangAGI

langchain

zechenzhangAGI

Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct agents, tool calling, memory management, and vector store retrieval. Use for building chatbots, question-answering systems, autonomous agents, or RAG applications. Best for rapid prototyping and production deployments.

26138

llama-cpp

zechenzhangAGI

Runs LLM inference on CPU, Apple Silicon, and consumer GPUs without NVIDIA hardware. Use for edge deployment, M1/M2/M3 Macs, AMD/Intel GPUs, or when CUDA is unavailable. Supports GGUF quantization (1.5-8 bit) for reduced memory and 4-10× speedup vs PyTorch on CPU.

21471

qdrant-vector-search

zechenzhangAGI

High-performance vector similarity search engine for RAG and semantic search. Use when building production RAG systems requiring fast nearest neighbor search, hybrid search with filtering, or scalable vector storage with Rust-powered performance.

18161

unsloth

zechenzhangAGI

Expert guidance for fast fine-tuning with Unsloth - 2-5x faster training, 50-80% less memory, LoRA/QLoRA optimization

15117

llava

zechenzhangAGI

Large Language and Vision Assistant. Enables visual instruction tuning and image-based conversations. Combines CLIP vision encoder with Vicuna/LLaMA language models. Supports multi-turn image chat, visual question answering, and instruction following. Use for vision-language chatbots or image understanding tasks. Best for conversational image analysis.

7117

You might also like

senior-prompt-engineer

davila7

World-class prompt engineering skill for LLM optimization, prompt patterns, structured outputs, and AI product development. Expertise in Claude, GPT-4, prompt design patterns, few-shot learning, chain-of-thought, and AI evaluation. Includes RAG optimization, agent design, and LLM system architecture. Use when building AI products, optimizing LLM performance, designing agentic systems, or implementing advanced prompting techniques.

743

dspy

davila7

Build complex AI systems with declarative programming, optimize prompts automatically, create modular RAG systems and agents with DSPy - Stanford NLP's framework for systematic LM programming

430

agentic-development

alinaqi

Build AI agents with Pydantic AI (Python) and Claude SDK (Node.js)

19

model-merging

davila7

Merge multiple fine-tuned models using mergekit to combine capabilities without retraining. Use when creating specialized models by blending domain-specific expertise (math + coding + chat), improving performance beyond single models, or experimenting rapidly with model variants. Covers SLERP, TIES-Merging, DARE, Task Arithmetic, linear merging, and production deployment strategies.

32

model-management

pollinations

Add, update, or remove text/image/video models. Handles any provider.

13

context-engineering

mrgoonie

Master context engineering for AI agent systems. Use when designing agent architectures, debugging context failures, optimizing token usage, implementing memory systems, building multi-agent coordination, evaluating agent performance, or developing LLM-powered pipelines. Covers context fundamentals, degradation patterns, optimization techniques (compaction, masking, caching), compression strategies, memory architectures, multi-agent patterns, LLM-as-Judge evaluation, tool design, and project development.

10

Search skills

Search the agent skills registry