managing-models
Sanctioned model download path. Reads policies/model_sources.yaml, downloads via huggingface_hub or direct URL with sha256 verification, places the file under the correct ComfyUI models folder. DEFERR
SKILL.md.claude/skills/managing-models/SKILL.md
GitHubmanaging-models
Planning-category skill (v1.2 slots 6.7 + 8.9). Scripts:
scripts/download.py— stdin{"capability": str, "file": str, "repo": str, "sha256": str}, stdout aModelHandleJSON when the download succeeds + verifies, else a structured error envelope.
Activation gate
This Skill is dormant by default. The planner may emit a
model_download sub-goal but the executor refuses to dispatch unless
the user has set allow_model_download = true in their host settings.
This is per the iron-law clause in CLAUDE.md: model weight downloads
are a halt point, not a silent action.
CLAUDE.md compliance
- §12 #3 — every download is keyed to a
model_sources.yamlentry. No "guess the URL" path. - §12 #8 — sha256 mismatch raises a loud error envelope; never silently proceeds.
- Iron-law — never installs software on the user's machine without explicit gate.