Expand description
Unknown-mod dossier writer.
When analyze returns
InstallMethod::Unknown or
execute surfaces
InstallerError::UnknownMethod,
the caller dumps a dossier so a Claude Code skill can extend the
installer to handle this layout.
Layout on disk:
$XDG_DATA_HOME/modde/unknown-installers/<slug>/
├─ metadata.json — Nexus mod metadata + context
├─ archive_tree.txt — recursive ls (up to 500 entries)
├─ file_samples/ — up to 5 small text files verbatim
├─ analyzer_trace.json — which probes ran, what they rejected
└─ PROMPT.md — self-contained skill promptOnce a skill has landed a fix, the dossier directory is renamed to
<slug>.resolved and the UI surfaces a Retry Install button.
Structs§
- Dossier
Context - Context about the mod the analyzer could not classify. Filled in by the CLI / UI caller — the installer crate itself doesn’t fetch Nexus metadata.
- Probe
Trace - A single probe’s decision, recorded so the skill knows which paths were already tried.
Functions§
- dossier_
path - Path to the dossier for a specific unknown mod.
- dossier_
slug - A slug identifying the dossier dir. Stable across retries.
- dossiers_
dir - Root directory holding all unknown-installer dossiers.
- dump
- Write the dossier to disk. Overwrites any existing dossier with the
same slug (this is idempotent — the skill path consumes by renaming
to
.resolved, so a pre-existing dir here means a prior failed attempt we’re retrying).