From llamafarm
Schema-aware guidance for validating LlamaFarm configurations. Activates for llamafarm.yaml validation, config errors, schema reference.
npx claudepluginhub llama-farm/claude-code-marketplace --plugin llamafarmThis skill uses the workspace's default tool permissions.
Schema-aware guidance for validating LlamaFarm configurations.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Schema-aware guidance for validating LlamaFarm configurations.
/llamafarm:validate # Validate ./llamafarm.yaml
/llamafarm:validate path/to/llamafarm.yaml # Validate specific file
Activate this skill when:
llamafarm.yaml files/llamafarm:validate commandllamafarm.yaml in current or specified path# Check current directory
ls llamafarm.yaml
# Or check specified path
ls path/to/llamafarm.yaml
If not found, prompt user for location.
# Using LlamaFarm CLI (preferred)
lf projects validate --config llamafarm.yaml
# Using Python validator (alternative)
cd /path/to/llamafarm/config
uv run python validate_config.py llamafarm.yaml --verbose
Exit codes: 0 = valid, 1 = invalid, 2 = error
Success output:
Validation Results
==================
Status: VALID
Your configuration is ready to use.
Next steps:
lf start
Error output:
Validation Results
==================
Status: INVALID
Errors found: 3
1. [runtime.models.0.provider] Invalid provider "anthropic"
Valid providers: universal, ollama, openai, lemonade
Fix: Change provider to one of the valid options
2. [rag.databases.0.name] Invalid name "Main-DB"
Must match pattern: ^[a-z][a-z0-9_]*$
Fix: Rename to "main_db"
3. [datasets.0.data_processing_strategy] Reference "markdown_proc" not found
Available strategies: default_processor
Fix: Update reference to match defined strategy name
For each error, provide:
version: v1 # Required, must be "v1"
name: my-project # Required, project identifier
namespace: default # Required, organization/team grouping
runtime: # Required, model configuration
models: []
Valid values for runtime.models[].provider:
universal - LlamaFarm Universal Runtimeopenai - OpenAI API or compatible endpointsollama - Ollama local modelslemonade - Lemonade runtime with NPU/GPU acceleration| Field | Pattern | Example |
|---|---|---|
| Prompt names | ^[a-z][a-z0-9_]*$ | default, system_prompt |
| Database names | ^[a-z][a-z0-9_]*$ | main_db, vectors |
| Dataset names | ^[a-zA-Z0-9_-]+$ | research, fda-letters |
Error: Missing required field "version"
Fix: Add "version: v1" at the top of your config
Error: Missing required field "runtime.models"
Fix: Add at least one model configuration:
runtime:
models:
- name: default
provider: universal
model: unsloth/Qwen3-4B-GGUF:Q4_K_M
default: true
Error: Invalid provider "anthropic"
Valid: universal, ollama, openai, lemonade
Fix: Change to a supported provider. For Anthropic models,
use provider "openai" with the Anthropic-compatible endpoint.
Error: Parser type "my-custom-parser" is not recognized
Valid parsers:
- PDFParser_LlamaIndex
- MarkdownParser_LlamaIndex
- TextParser_LlamaIndex
- CodeParser_LlamaIndex
- HTMLParser_LlamaIndex
Fix: Use one of the recognized parser types
Error: Duplicate dataset name "research"
Fix: Each dataset must have a unique name. Rename one of the
duplicate datasets.
Error: Prompt reference "chat_prompt" not found in prompts list
Defined prompts: default, analysis
Fix: Either add a prompt named "chat_prompt" to the prompts
section, or update the reference to use an existing prompt.
Error: Database name "My-Database" does not match required pattern
Pattern: ^[a-z][a-z0-9_]*$
Fix: Use lowercase letters, numbers, and underscores only.
Must start with a letter. Example: "my_database"
For detailed references, load these files as needed: