add-model

Validate and register VMAF model artifacts into build targets and smoke tests.

3|1|Updated May 28, 2026
One-click install
npx skills add https://github.com/VMAFx/vmafx --skill add-model-vmafx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-model
Source: https://github.com/VMAFx/vmafx/tree/main/.claude/skills/add-model
Command: npx skills add https://github.com/VMAFx/vmafx --skill add-model-vmafx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the manual, error-prone work of onboarding new VMAF model artifacts by validating them, placing them in the right location, and updating the repository so they can be loaded correctly.

Core Features & Use Cases

  • Model Validation: Checks JSON, pickle, and ONNX model files for the expected format and safety requirements.
  • Build Integration: Copies approved model files into the repository and updates the build install set when needed.
  • Loader Smoke Testing: Adds a test that confirms the model can be loaded and unloaded cleanly with basic metadata intact.
  • Use Case: A maintainer receives a newly trained VMAF model and uses this Skill to validate it, register it in the build, and verify that the runtime can consume it without regressions.

Quick Start

Ask this Skill to validate your VMAF model file, register it in the repository, and add the necessary build and loader test updates.

Frequently Asked Questions about add-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I register a new VMAF model in my repository?

Registering a VMAF model involves validating the artifact, copying it into the repository, and updating the build install targets. This Skill also adds a loader smoke test to verify the runtime can consume the model without regressions.

What validation checks are required for ONNX VMAF models?

ONNX VMAF models require ONNX checker verification and schema validation. This ensures the tiny-AI model meets expected format and safety requirements before being wired into build targets and loader tests.

How do I safely handle pickle-based VMAF models during integration?

Safe pickle handling is required when integrating pickle-based VMAF models. This Skill applies specific schema checks and safety requirements to validate pickle files before copying them into the repository and updating build targets.

Does adding a VMAF model require updating loader test coverage?

Yes, adding a VMAF model requires loader test coverage. This Skill adds a smoke test that confirms the model can be loaded and unloaded cleanly with basic metadata intact to prevent runtime regressions.

Can I use this process for classical JSON VMAF models?

Yes, this process supports classical JSON VMAF models. It applies schema checks and extension validation to ensure the JSON model is correctly formatted before updating the repository build install set.

What is the best way to wire VMAF models into build targets?

The best way to wire VMAF models into build targets is to validate the artifact first, then copy the approved file into the repository and update the build install set. This ensures correct integration and loader test coverage.