# Skippy Model Package

> Use this skill when inspecting GGUF models, planning layer ranges, generating or validating skippy package artifacts, fake packages for direct GGUFs, materialized stage cache behavior, or GGUF writer integration.

- Skill: `mesh-llm/skippy-model-package` (Agent Skill)
- Install (CLI): `npx skillmds@latest add mesh-llm/skippy-model-package`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mesh-llm/skippy-model-package/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: mesh-llm (https://skillmd.com/u/mesh-llm)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/mesh-llm/skippy-model-package

---


# skippy-model-package

Use this skill for model inspection, package planning, stage materialization,
and cache behavior.

## Ownership

Rust owns package manifests, topology planning inputs, cache policy, and mesh
model-storage integration. The patched llama/skippy ABI owns GGUF tensor
inspection and GGUF artifact writing.

The native package ABI is declared in `include/skippy/model_package.h` and
implemented in `src/skippy/model_package.cpp`. Keep model inspection, tensor
filtering, metadata copying, and package writing in that module; do not grow
`src/skippy.cpp` with package behavior.

Direct GGUF loading in mesh should materialize as a fake package identity in
the skippy runtime so the split-serving path can use the same package-backed
stage machinery as Hugging Face packages.

## Commands

Check current package names before running commands:

```bash
cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name' | sort
```

Useful current checks in this repo:

```bash
cargo test -p skippy-runtime --lib
cargo test -p skippy-topology --lib
cargo test -p mesh-llm-host-runtime --lib inference::skippy
```

For a published layer package, prefer package-local diagnostics before a live
split smoke:

```bash
cargo test -p skippy-model-package --bin skippy-model-package
skippy-model-package preflight <package-dir> --stages 2
```

## Cache Policy

Materialized stages are derived cache. Model storage commands may evict
materialized stage artifacts without deleting the source model/package. Preserve
pinned materialized artifacts unless the command explicitly asks for a stronger
cleanup.

