ov-immich/skills/immich-ml-layer/SKILL.md
Immich machine learning backend on port 3003 for photo classification and search. Use when working with Immich ML features, face detection, or CLIP search.
npx skillsauth add overthinkos/overthink-plugins immich-mlInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Property | Value |
|----------|-------|
| Dependencies | immich |
| Ports | 3003 |
| Volumes | models -> ~/.immich/models |
| Service | immich-ml (supervisord, priority 40) |
| Install files | tasks: |
| Variable | Value |
|----------|-------|
| IMMICH_MACHINE_LEARNING_ENABLED | true (overrides immich default) |
| IMMICH_MACHINE_LEARNING_URL | http://127.0.0.1:3003 |
| MACHINE_LEARNING_HOST | 0.0.0.0 |
| MACHINE_LEARNING_PORT | 3003 |
| MACHINE_LEARNING_WORKERS | 1 |
| MACHINE_LEARNING_WORKER_TIMEOUT | 120 |
| TRANSFORMERS_CACHE | ~/.immich/models |
/opt/immich/machine-learning/.venv~/.immich/models (TRANSFORMERS_CACHE) and ~/.cache/immich_ml (immich ML model cache). The ~/.cache/immich_ml directory must be created at build time because ~/.cache may be root-owned from earlier layer builds (npm/pixi). Creating it in tasks: ensures correct UID 1000 ownership.# image.yml -- adds ML to an immich image
immich-ml:
layers:
- immich-ml
/ov-immich:immich-ml/ov-immich:immich -- required base (provides server + database)/ov-foundation:cuda -- GPU acceleration (when used in cuda images)Use when the user asks about:
/ov-build:layer — layer authoring reference (layer.yml schema, task verbs, service declarations)/ov-build:eval — declarative testing (eval: block, ov eval image, ov eval live)tools
Use when authoring or modifying a charly PLUGIN — a candy with a `plugin:` block that contributes Providers (verbs/kinds/deploy-targets/steps/builders/commands), its own CUE schema, builtin (compiled-in) or external (out-of-tree git repo). Covers the unified Provider model, the per-plugin CUE-schema contract (single source → Go params for dev + schema-over-Describe RPC for runtime), the SDK, and the loader.
tools
The CUE data-validation / configuration CLI (cue), pinned to v0.16.1. Use when working with the cue candy, installing the cue binary into a box or onto a target:local dev host, or running the offline schema-vendoring pipeline that feeds charly's egress validation.
tools
CUE EGRESS validation — validating (and, where it adds value, generating) the config files charly WRITES to a system BEFORE the bytes hit disk. MUST be invoked before working on charly/egress.go, the vendored schemas under candy/plugin-egress/egress-schemas/vendor/, the ValidateEgress / registerVendoredEgressKind path, the offline `task cue:vendor` pipeline, or adding an egress schema for any written artifact (cloud-init, k8s manifests, traefik routes, runtime config, install ledger, systemd/quadlet units, ssh_config, libvirt XML).
tools
Kubernetes cluster-probe declarative check verb — the `kube:` check verb (nodes, pods, ingress, storage class, addon health, apply/delete, and arbitrary resource GETs) served out-of-process by the candy/plugin-kube plugin (vendored client-go; no external kubectl required).