inspecting-a-model-bundlelisted
Install: claude install-skill ErtasAI/open-model-skills
# Inspecting a model bundle
Point this at any directory holding a model. It works on an `ollama pull`, a
Hugging Face download, an export from a training platform, or a zip a colleague
sent you.
## Run the inspection
From this skill's own directory:
```bash
python3 scripts/inspect_bundle.py /path/to/bundle
python3 scripts/check_defects.py /path/to/bundle
```
Both are Python 3.9+ standard library only. Nothing to install, no network
access.
If Python is unavailable, work through `references/artifact-shapes.md` by hand.
The file listing alone identifies the shape in most cases.
## The three shapes
| You see | Shape | What it is |
|---|---|---|
| A `.gguf` file, usually with a `Modelfile` | **GGUF** | Quantised, self-contained, tokenizer baked in |
| `adapter_config.json` + `adapter_model.safetensors` | **Adapter** | LoRA weights only. Useless without the exact base model |
| `config.json` + `model.safetensors` | **Merged** | A full checkpoint in Hugging Face format |
Detection is heuristic. Most bundles carry no manifest saying what they are, so
report the confidence the script gives you rather than asserting.
## Write the report
Write `BUNDLE-REPORT.md` into the user's project root. Later skills read it.
Use exactly these sections, in this order:
```markdown
# Bundle report
## Shape
<gguf | adapter | merged | unknown>, confidence <high | medium | low>
<one line per evidence item>
## Base model
<id and where it was found, or "not recorded in the bundle">
## Files