[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77KR8NEDJ69W57J05RYF7BA":3,"skill-same:01M77KR8NEDJ69W57J05RYF7BA":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M77KR8NEDJ69W57J05RYF7BA","setup",null,"Verify and provision the gaming plugin's DLSS 5 mod prerequisites on Windows. check (read-only): pwsh, NVIDIA GPU and driver, data directory, runtime DLL, installed games per launcher (Steam, Epic, EA app, Battle.net, GOG, Ubisoft Connect, Xbox app), provisioned fork builds, orphaned state. apply: create the data directory, seed the ledger, place the runtime DLL from a configured path, an installed DLSS 5 title, or the configured runtime source, and download the pinned fork builds. Use when: 'set up the gaming plugin', 'set up DLSS 5', 'is my DLSS 5 setup ready', 'provision the DLSS 5 mod'. Re-runnable and safe.","melodic-software\u002Fclaude-code-plugins","melodic-software","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F58273638?v=4","01M77JVQTXNGKCE4MDFY2BC936","Melodic Software","01M77JVQVN9QDWKAH6W03ANP76",30,"MIT","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fgaming\u002Fskills\u002Fsetup\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Verify and provision the gaming plugin's DLSS 5 mod prerequisites on Windows. check (read-only): pwsh, NVIDIA GPU and driver, data directory, runtime DLL, installed games per launcher (Steam, Epic, EA app, Battle.net, GOG, Ubisoft Connect, Xbox app), provisioned fork builds, orphaned state. apply: create the data directory, seed the ledger, place the runtime DLL from a configured path, an installed DLSS 5 title, or the configured runtime source, and download the pinned fork builds. Use when: 'set up the gaming plugin', 'set up DLSS 5', 'is my DLSS 5 setup ready', 'provision the DLSS 5 mod'. Re-runnable and safe.\"\nargument-hint: \"[check|apply]\"\nuser-invocable: true\ndisable-model-invocation: true\n---\n\n## Purpose\n\nVerify and provision the prerequisites for `\u002Fgaming:dlss5`, per the uniform setup contract\n(`docs\u002Fplugin-philosophy.md` \"Setup is explicit and repeatable\" in the marketplace repository).\nNo argument or `check` runs the read-only check; `apply` runs `check`, provisions through the\nscript's own verbs, then runs `check` again. Windows only.\n\nAll provisioning goes through `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fdlss5\u002Fscripts\u002FInvoke-Dlss5Mod.ps1`\n(below: the script). Its `provision` verbs own download, hash verification, extraction and the\nruntime gate; this body calls them.\n\n## Resolving paths (do this first)\n\nResolve each option to a literal value before composing any command. A command line carries the\nresolved path, never a `${user_config.*}` token: an unset option leaves the token in place, and\nBash then fails with `bad substitution` before pwsh starts.\n\n| Option | Resolution | Passed as |\n|---|---|---|\n| **`\u003Cdata-dir>`** | `${user_config.data_dir}` when non-empty and not still showing the unexpanded token; otherwise the output of the default command below. Changing it after an apply is a MOVE of the directory, not a reconfiguration: every manifest stays at the old root | `-DataDir '\u003Cdata-dir>'` on every call |\n| **`\u003Cruntime-dll>`** | `${user_config.runtime_dll}` when set; otherwise `\u003Cdata-dir>\\runtime\\nvngx_dlssnr.dll` | `-RuntimeDll` ONLY when the option is set. Passing the default path marks it configured, and `provision -Runtime` then refuses a failing file without scanning |\n| **`\u003Cruntime-source>`** | `${user_config.runtime_source}` when set; otherwise none | `-RuntimeSource` ONLY when set. A path or a plain `https:\u002F\u002F` URL. A URL with a query string (where signed-URL credentials live) is refused, because this option is not stored as a secret: [manifest reference § Where values are stored](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fmanifest-reference#where-values-are-stored). A private store is synced to a path by the user's own tooling |\n\nThe default `data_dir` follows OneDrive Known Folder Move, which `$env:USERPROFILE\\Documents`\ndoes not:\n\n```bash\npwsh -NoProfile -Command \"Join-Path ([Environment]::GetFolderPath('MyDocuments')) 'Gaming\\dlss5'\"\n```\n\n`\u003Cscript>` is `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fdlss5\u002Fscripts\u002FInvoke-Dlss5Mod.ps1`. Pass Windows-form\npaths in single quotes (`'D:\\Gaming'`), never a Git Bash `\u002Fd\u002F...` path. Run the multi-line probe\nin step 5 through the PowerShell tool: it contains single quotes, so a single-quoted Bash argument\ncannot carry it, and a double-quoted one lets Bash expand `$` before pwsh starts. A one-line probe with no single quote in it (step 1) runs from Bash in single quotes.\n\n## `check` (read-only)\n\nReport a PASS\u002FFAIL\u002FINFO table with one remediation line per FAIL. Write nothing, copy nothing,\ndownload nothing, and never call `provision` in any form.\n\n1. **pwsh 7.** `pwsh -NoProfile -Command '$PSVersionTable.PSVersion.ToString()'`. FAIL when absent\n   or below 7: the script declares `#Requires -Version 7`.\n2. **NVIDIA GPU and driver.** `nvidia-smi --query-gpu=name,driver_version --format=csv,noheader`.\n   FAIL when `nvidia-smi` is absent or lists no GPU. Report the name and driver. A GPU outside the\n   RTX 50 series is FAIL (see the verification record below).\n3. **Data directory.** Absent is INFO (`apply` creates it). Present is PASS. `check` does not test\n   writability, because that takes a write; the directory creation in `apply` is the test.\n4. **Ledger.** `\u003Cdata-dir>\\LEDGER.md` present is PASS; absent is INFO (`apply` seeds it).\n5. **Runtime DLL.** Hash `\u003Cruntime-dll>`:\n\n   ```powershell\n   $dll = '\u003Cruntime-dll>'\n   if (Test-Path -LiteralPath $dll) {\n     (Get-FileHash -LiteralPath $dll -Algorithm SHA256).Hash\n     $s = Get-AuthenticodeSignature -LiteralPath $dll; \"$($s.Status) $($s.SignerCertificate.Subject)\"\n     $v = (Get-Item -LiteralPath $dll).VersionInfo; '{0}.{1}.{2}.{3}' -f $v.FileMajorPart, $v.FileMinorPart, $v.FileBuildPart, $v.FilePrivatePart\n   }\n   ```\n\n   PASS when the hash is the known-good value. An NVIDIA-signed file (status `Valid`, signer\n   subject containing `CN=NVIDIA Corporation`) at 310.8.0.0 or later with a\n   different hash is FAIL: the gate refuses it unless `-AllowUnknownRuntime` is passed, which is\n   the user's explicit call and never a default. A missing or refused file is FAIL. When\n   `runtime_dll` is set, the remediation is to fix or unset it: `provision -Runtime` refuses a\n   configured file without looking further. When it is unset, report what `apply` would do:\n   use the step 7 scan and name each candidate with its gate result, and say whether\n   `\u003Cruntime-source>` is set. The remediation then names the three remedies in the order\n   `provision -Runtime` tries them: set `runtime_dll` to a copy you already have; install a DLSS 5\n   title on this machine; set `runtime_source` to a copy you control. The plugin names no source\n   of its own for this file.\n6. **Runtime source.** INFO: set or not. A URL with a query string, or a URL scheme other than\n   `https:\u002F\u002F`, is FAIL: the script refuses it.\n7. **Game library scan.** Read-only; it lists games and runtime candidates and copies nothing:\n   `pwsh -NoProfile -File \"\u003Cscript>\" -Verb discover`. It prints JSON:\n   - `games`: every installed game found, each with `launcher` (Steam, Epic Games Launcher, EA\n     app, Origin, Battle.net, GOG Galaxy, Ubisoft Connect, Xbox app), `name`, `installDir` and the\n     `source` record it came from. Report the count per launcher as INFO; the locations are in\n     `skills\u002Fdlss5\u002Freference\u002Flaunchers.md`.\n   - `unchecked`: what it could not read, such as the EA app's encrypted install list, Battle.net's\n     `product.db`, or a malformed `.GamingRoot`. Report each as INFO.\n   - `runtimeCandidates`: every `nvngx_dlssnr.dll` under a discovered install folder, with\n     `version`, `sha256`, `passes`, `known`, `reason` and `besideOptiScalerIni`. `passes` is the\n     script's own gate: the known-good hash, or a `Valid` signature whose signer subject contains\n     `CN=NVIDIA Corporation` at 310.8.0.0 or later plus `-AllowUnknownRuntime`. A candidate beside\n     an `OptiScaler.ini` is a copy the mod placed in a game, not a native title; step 9 uses it.\n8. **Fork builds.** For `dagherbou` and `wilsjo2`, read `\u003Cdata-dir>\\builds\\\u003Cbuild>\\.provisioned.json`: \u003C!-- portability-ok: Windows path, not a shell regex -->\n   - no marker, directory absent or empty: INFO, never provisioned (`apply` provisions it);\n   - marker present and every allow-list entry present (dagherbou: `OptiScaler.dll`,\n     `OptiScaler.ini`, `OptiScaler\\`, `Licenses\\`, `nvngx.dll_dlssnr.dll`; wilsjo2: the first\n     four), marker `sha256` equal to the pin below: PASS;\n   - marker present, an allow-list entry missing: FAIL, provisioned then emptied. `provision` treats\n     a matching marker as done, so the remediation is to delete `\u003Cdata-dir>\\builds\\\u003Cbuild>\\`, then \u003C!-- portability-ok: Windows path, not a shell regex -->\n     run `apply`;\n   - marker `sha256` differing from the pin: FAIL, provisioned from an unexpected asset. `apply`\n     re-provisions it.\n9. **Orphaned state.** Read `gameDir` from each `\u003Cdata-dir>\\state\\*\\snapshot.json`, \u003C!-- portability-ok: Windows path, not a shell regex -->\n   `manifest.json` and `pending.json`. A `pending.json` is FAIL (an interrupted apply; run\n   `\u002Fgaming:dlss5 remove \u003CgameDir>`). A `manifest.json` whose `gameDir` no longer exists is FAIL\n   (the game moved or was uninstalled; move it back and run `remove`, or delete that state\n   directory if it is gone for good). A snapshot-only directory whose `gameDir` is gone is INFO.\n   Two probes for a `data_dir` changed after an apply, since nothing on disk records the previous\n   root: a step 7 candidate beside an `OptiScaler.ini` whose directory no manifest under\n   `\u003Cdata-dir>` names as `gameDir` is FAIL (a modded game this data directory does not track); and\n   another directory whose `state\\` has entries is FAIL: the default (`Gaming\\dlss5` under\n   Documents) when `\u003Cdata-dir>` is not the default, or the legacy default (`Gaming` under\n   Documents) when `\u003Cdata-dir>\\state\\` is absent or empty. The remediation for both is to MOVE the \u003C!-- portability-ok: Windows path, not a shell regex -->\n   old directory's contents (`runtime\\`, `state\\`, `builds\\`, `cache\\` and `LEDGER.md`) to\n   `\u003Cdata-dir>`; without its manifest, `remove` cannot undo the mod. When `\u003Cdata-dir>` is the\n   default, the script refuses every verb but `refetch` and `selftest` on the legacy case.\n10. **`gh`.** INFO only: `gh --version`. `refetch` needs it; setup and apply do not, because\n    `provision` downloads by direct release URL.\n\n## `apply` (idempotent)\n\nRun `check`, then these steps in order; stop before step 1 when step 9 reports another\ndirectory holding `state\\`, since step 1 would start an empty state tree beside it.\n\n1. Create the tree:\n   `pwsh -NoProfile -Command \"New-Item -ItemType Directory -Force -Path '\u003Cdata-dir>\\state','\u003Cdata-dir>\\runtime','\u003Cdata-dir>\\builds','\u003Cdata-dir>\\cache' | Out-Null\"`. \u003C!-- portability-ok: Windows paths inside a pwsh argument, not a shell regex -->\n2. Seed the ledger only when `\u003Cdata-dir>\\LEDGER.md` is absent: copy `reference\u002Fledger-template.md`\n   there, replacing `\u003Cdata-dir>` with the resolved path. Never overwrite an existing ledger.\n3. Place the runtime DLL, adding `-RuntimeDll` and `-RuntimeSource` only per the resolution table:\n   `pwsh -NoProfile -File \"\u003Cscript>\" -Verb provision -Runtime -DataDir '\u003Cdata-dir>'`.\n   When the user has explicitly asked to accept an NVIDIA-signed runtime that fails the hash, add\n   `-AllowUnknownRuntime` and say so in the report; never add it otherwise. On a non-zero exit,\n   relay the printed remedies and refusals verbatim and continue to step 4.\n4. Provision both pinned fork builds, so an apply that falls back to `dagherbou` finds its files:\n   `pwsh -NoProfile -File \"\u003Cscript>\" -Verb provision -Build wilsjo2 -DataDir '\u003Cdata-dir>'`, then\n   the same with `-Build dagherbou`.\n5. Run `check` again and report its actual table; never report success from an exit code alone.\n\nRe-running `apply` changes nothing: the directories exist, the ledger is kept, `provision -Runtime`\nprints `runtime ok` and copies nothing, and `provision` prints `already provisioned` for a build\nwhose marker matches its pin.\n\nTwo hard rules. `apply` never runs `setup_windows.bat`, and neither may you by hand: it is\ninteractive, and `provision` never extracts it. And `apply` never fetches the runtime DLL from\nanywhere but the three sources `provision -Runtime` tries.\n\n## Verification record\n\n| Claim | Basis | As of | Recheck trigger |\n|---|---|---|---|\n| Known-good runtime: `nvngx_dlssnr.dll` 310.8.0.0, SHA-256 `E16BCF15E16E13F527491CDF7845B2FE6521A738D8F7C9C721866A8496E1FC8E` | `$ModelHash` in the script, hashed from a working install | 2026-09-22 | `\u002Fgaming:dlss5 refetch` reports a different runtime version, or an NVIDIA-signed runtime fails the hash |\n| Default fork pin: `wilsjo2\u002FOptiScaler-DLSSNR-PreSR-Multipass` tag `v0.8.3`, asset `OptiScaler-NR-v0.8.3.zip`, SHA-256 `3F2D26FB136D964A394BF50896D082156173153A2A55B88E1995277B4DABE3C8` | `gh api repos\u002Fwilsjo2\u002FOptiScaler-DLSSNR-PreSR-Multipass\u002Freleases`; the hash matches the release's own `.sha256` sidecar | 2026-09-24 | a new non-prerelease on that repo, or `refetch` reports a tag change |\n| Fallback fork pin: `Dagherbou\u002FOptiScaler_DLSSNR` tag `v0.2.0-patch1` (a prerelease), asset `OptiScaler-DLSSNR-v0.2.0-onimusha-fix.zip`, SHA-256 `5DB547216FA8A7DBD8AB0A193DA1E3BCE0EA4BD71F91189AFA4ED2EDE8BB9561` | `gh api repos\u002FDagherbou\u002FOptiScaler_DLSSNR\u002Freleases`; the release publishes no checksum, so the hash is a local-copy attestation | 2026-09-21 | a new release on that repo, or `refetch` reports a tag change |\n| Step 2 FAILs a GPU outside the RTX 50 series, the series NVIDIA's launch post names | https:\u002F\u002Fwww.nvidia.com\u002Fen-us\u002Fgeforce\u002Fnews\u002Fdlss-5-3d-guided-neural-rendering\u002F | 2026-11-10 | NVIDIA ships DLSS 5 support for another GPU series |\n\n## Next\n\n\u002Fgaming:dlss5 assess \u003Cgame-dir>\n\n## Gotchas\n\n- **`VersionInfo.FileVersion` misreads the runtime DLL.** NVIDIA's `nvngx_dlssnr.dll` reports\n  `310,8,0,0` there. Read the numeric `FileMajorPart` to `FilePrivatePart` fields, as steps 5 and 7\n  do; `refetch` reports the same numeric form.\n\n## What this skill does NOT do\n\n- Apply, remove or tune the mod in a game. That is `\u002Fgaming:dlss5`.\n- Write Claude Code user settings or `pluginConfigs`. Reconfigure with\n  `\u002Fplugin configure gaming@\u003Cmarketplace>`, then rerun `check` in a fresh session.\n- Delete anything. Emptied builds and orphaned state are reported with a remediation the user runs.\n- Name, bundle or download a source for the runtime DLL beyond the three the user controls.\n","## Purpose\n\nVerify and provision the prerequisites for `\u002Fgaming:dlss5`, per the uniform setup contract\n(`docs\u002Fplugin-philosophy.md` \"Setup is explicit and repeatable\" in the marketplace repository).\nNo argument or `check` runs the read-only check; `apply` runs `check`, provisions through the\nscript's own verbs, then runs `check` again. Windows only.\n\nAll provisioning goes through `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fdlss5\u002Fscripts\u002FInvoke-Dlss5Mod.ps1`\n(below: the script). Its `provision` verbs own download, hash verification, extraction and the\nruntime gate; this body calls them.\n\n## Resolving paths (do this first)\n\nResolve each option to a literal value before composing any command. A command line carries the\nresolved path, never a `${user_config.*}` token: an unset option leaves the token in place, and\nBash then fails with `bad substitution` before pwsh starts.\n\n| Option | Resolution | Passed as |\n|---|---|---|\n| **`\u003Cdata-dir>`** | `${user_config.data_dir}` when non-empty and not still showing the unexpanded token; otherwise the output of the default command below. Changing it after an apply is a MOVE of the directory, not a reconfiguration: every manifest stays at the old root | `-DataDir '\u003Cdata-dir>'` on every call |\n| **`\u003Cruntime-dll>`** | `${user_config.runtime_dll}` when set; otherwise `\u003Cdata-dir>\\runtime\\nvngx_dlssnr.dll` | `-RuntimeDll` ONLY when the option is set. Passing the default path marks it configured, and `provision -Runtime` then refuses a failing file without scanning |\n| **`\u003Cruntime-source>`** | `${user_config.runtime_source}` when set; otherwise none | `-RuntimeSource` ONLY when set. A path or a plain `https:\u002F\u002F` URL. A URL with a query string (where signed-URL credentials live) is refused, because this option is not stored as a secret: [manifest reference § Where values are stored](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fmanifest-reference#where-values-are-stored). A private store is synced to a path by the user's own tooling |\n\nThe default `data_dir` follows OneDrive Known Folder Move, which `$env:USERPROFILE\\Documents`\ndoes not:\n\n```bash\npwsh -NoProfile -Command \"Join-Path ([Environment]::GetFolderPath('MyDocuments')) 'Gaming\\dlss5'\"\n```\n\n`\u003Cscript>` is `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fdlss5\u002Fscripts\u002FInvoke-Dlss5Mod.ps1`. Pass Windows-form\npaths in single quotes (`'D:\\Gaming'`), never a Git Bash `\u002Fd\u002F...` path. Run the multi-line probe\nin step 5 through the PowerShell tool: it contains single quotes, so a single-quoted Bash argument\ncannot carry it, and a double-quoted one lets Bash expand `$` before pwsh starts. A one-line probe with no single quote in it (step 1) runs from Bash in single quotes.\n\n## `check` (read-only)\n\nReport a PASS\u002FFAIL\u002FINFO table with one remediation line per FAIL. Write nothing, copy nothing,\ndownload nothing, and never call `provision` in any form.\n\n1. **pwsh 7.** `pwsh -NoProfile -Command '$PSVersionTable.PSVersion.ToString()'`. FAIL when absent\n   or below 7: the script declares `#Requires -Version 7`.\n2. **NVIDIA GPU and driver.** `nvidia-smi --query-gpu=name,driver_version --format=csv,noheader`.\n   FAIL when `nvidia-smi` is absent or lists no GPU. Report the name and driver. A GPU outside the\n   RTX 50 series is FAIL (see the verification record below).\n3. **Data directory.** Absent is INFO (`apply` creates it). Present is PASS. `check` does not test\n   writability, because that takes a write; the directory creation in `apply` is the test.\n4. **Ledger.** `\u003Cdata-dir>\\LEDGER.md` present is PASS; absent is INFO (`apply` seeds it).\n5. **Runtime DLL.** Hash `\u003Cruntime-dll>`:\n\n   ```powershell\n   $dll = '\u003Cruntime-dll>'\n   if (Test-Path -LiteralPath $dll) {\n     (Get-FileHash -LiteralPath $dll -Algorithm SHA256).Hash\n     $s = Get-AuthenticodeSignature -LiteralPath $dll; \"$($s.Status) $($s.SignerCertificate.Subject)\"\n     $v = (Get-Item -LiteralPath $dll).VersionInfo; '{0}.{1}.{2}.{3}' -f $v.FileMajorPart, $v.FileMinorPart, $v.FileBuildPart, $v.FilePrivatePart\n   }\n   ```\n\n   PASS when the hash is the known-good value. An NVIDIA-signed file (status `Valid`, signer\n   subject containing `CN=NVIDIA Corporation`) at 310.8.0.0 or later with a\n   different hash is FAIL: the gate refuses it unless `-AllowUnknownRuntime` is passed, which is\n   the user's explicit call and never a default. A missing or refused file is FAIL. When\n   `runtime_dll` is set, the remediation is to fix or unset it: `provision -Runtime` refuses a\n   configured file without looking further. When it is unset, report what `apply` would do:\n   use the step 7 scan and name each candidate with its gate result, and say whether\n   `\u003Cruntime-source>` is set. The remediation then names the three remedies in the order\n   `provision -Runtime` tries them: set `runtime_dll` to a copy you already have; install a DLSS 5\n   title on this machine; set `runtime_source` to a copy you control. The plugin names no source\n   of its own for this file.\n6. **Runtime source.** INFO: set or not. A URL with a query string, or a URL scheme other than\n   `https:\u002F\u002F`, is FAIL: the script refuses it.\n7. **Game library scan.** Read-only; it lists games and runtime candidates and copies nothing:\n   `pwsh -NoProfile -File \"\u003Cscript>\" -Verb discover`. It prints JSON:\n   - `games`: every installed game found, each with `launcher` (Steam, Epic Games Launcher, EA\n     app, Origin, Battle.net, GOG Galaxy, Ubisoft Connect, Xbox app), `name`, `installDir` and the\n     `source` record it came from. Report the count per launcher as INFO; the locations are in\n     `skills\u002Fdlss5\u002Freference\u002Flaunchers.md`.\n   - `unchecked`: what it could not read, such as the EA app's encrypted install list, Battle.net's\n     `product.db`, or a malformed `.GamingRoot`. Report each as INFO.\n   - `runtimeCandidates`: every `nvngx_dlssnr.dll` under a discovered install folder, with\n     `version`, `sha256`, `passes`, `known`, `reason` and `besideOptiScalerIni`. `passes` is the\n     script's own gate: the known-good hash, or a `Valid` signature whose signer subject contains\n     `CN=NVIDIA Corporation` at 310.8.0.0 or later plus `-AllowUnknownRuntime`. A candidate beside\n     an `OptiScaler.ini` is a copy the mod placed in a game, not a native title; step 9 uses it.\n8. **Fork builds.** For `dagherbou` and `wilsjo2`, read `\u003Cdata-dir>\\builds\\\u003Cbuild>\\.provisioned.json`: \u003C!-- portability-ok: Windows path, not a shell regex -->\n   - no marker, directory absent or empty: INFO, never provisioned (`apply` provisions it);\n   - marker present and every allow-list entry present (dagherbou: `OptiScaler.dll`,\n     `OptiScaler.ini`, `OptiScaler\\`, `Licenses\\`, `nvngx.dll_dlssnr.dll`; wilsjo2: the first\n     four), marker `sha256` equal to the pin below: PASS;\n   - marker present, an allow-list entry missing: FAIL, provisioned then emptied. `provision` treats\n     a matching marker as done, so the remediation is to delete `\u003Cdata-dir>\\builds\\\u003Cbuild>\\`, then \u003C!-- portability-ok: Windows path, not a shell regex -->\n     run `apply`;\n   - marker `sha256` differing from the pin: FAIL, provisioned from an unexpected asset. `apply`\n     re-provisions it.\n9. **Orphaned state.** Read `gameDir` from each `\u003Cdata-dir>\\state\\*\\snapshot.json`, \u003C!-- portability-ok: Windows path, not a shell regex -->\n   `manifest.json` and `pending.json`. A `pending.json` is FAIL (an interrupted apply; run\n   `\u002Fgaming:dlss5 remove \u003CgameDir>`). A `manifest.json` whose `gameDir` no longer exists is FAIL\n   (the game moved or was uninstalled; move it back and run `remove`, or delete that state\n   directory if it is gone for good). A snapshot-only directory whose `gameDir` is gone is INFO.\n   Two probes for a `data_dir` changed after an apply, since nothing on disk records the previous\n   root: a step 7 candidate beside an `OptiScaler.ini` whose directory no manifest under\n   `\u003Cdata-dir>` names as `gameDir` is FAIL (a modded game this data directory does not track); and\n   another directory whose `state\\` has entries is FAIL: the default (`Gaming\\dlss5` under\n   Documents) when `\u003Cdata-dir>` is not the default, or the legacy default (`Gaming` under\n   Documents) when `\u003Cdata-dir>\\state\\` is absent or empty. The remediation for both is to MOVE the \u003C!-- portability-ok: Windows path, not a shell regex -->\n   old directory's contents (`runtime\\`, `state\\`, `builds\\`, `cache\\` and `LEDGER.md`) to\n   `\u003Cdata-dir>`; without its manifest, `remove` cannot undo the mod. When `\u003Cdata-dir>` is the\n   default, the script refuses every verb but `refetch` and `selftest` on the legacy case.\n10. **`gh`.** INFO only: `gh --version`. `refetch` needs it; setup and apply do not, because\n    `provision` downloads by direct release URL.\n\n## `apply` (idempotent)\n\nRun `check`, then these steps in order; stop before step 1 when step 9 reports another\ndirectory holding `state\\`, since step 1 would start an empty state tree beside it.\n\n1. Create the tree:\n   `pwsh -NoProfile -Command \"New-Item -ItemType Directory -Force -Path '\u003Cdata-dir>\\state','\u003Cdata-dir>\\runtime','\u003Cdata-dir>\\builds','\u003Cdata-dir>\\cache' | Out-Null\"`. \u003C!-- portability-ok: Windows paths inside a pwsh argument, not a shell regex -->\n2. Seed the ledger only when `\u003Cdata-dir>\\LEDGER.md` is absent: copy `reference\u002Fledger-template.md`\n   there, replacing `\u003Cdata-dir>` with the resolved path. Never overwrite an existing ledger.\n3. Place the runtime DLL, adding `-RuntimeDll` and `-RuntimeSource` only per the resolution table:\n   `pwsh -NoProfile -File \"\u003Cscript>\" -Verb provision -Runtime -DataDir '\u003Cdata-dir>'`.\n   When the user has explicitly asked to accept an NVIDIA-signed runtime that fails the hash, add\n   `-AllowUnknownRuntime` and say so in the report; never add it otherwise. On a non-zero exit,\n   relay the printed remedies and refusals verbatim and continue to step 4.\n4. Provision both pinned fork builds, so an apply that falls back to `dagherbou` finds its files:\n   `pwsh -NoProfile -File \"\u003Cscript>\" -Verb provision -Build wilsjo2 -DataDir '\u003Cdata-dir>'`, then\n   the same with `-Build dagherbou`.\n5. Run `check` again and report its actual table; never report success from an exit code alone.\n\nRe-running `apply` changes nothing: the directories exist, the ledger is kept, `provision -Runtime`\nprints `runtime ok` and copies nothing, and `provision` prints `already provisioned` for a build\nwhose marker matches its pin.\n\nTwo hard rules. `apply` never runs `setup_windows.bat`, and neither may you by hand: it is\ninteractive, and `provision` never extracts it. And `apply` never fetches the runtime DLL from\nanywhere but the three sources `provision -Runtime` tries.\n\n## Verification record\n\n| Claim | Basis | As of | Recheck trigger |\n|---|---|---|---|\n| Known-good runtime: `nvngx_dlssnr.dll` 310.8.0.0, SHA-256 `E16BCF15E16E13F527491CDF7845B2FE6521A738D8F7C9C721866A8496E1FC8E` | `$ModelHash` in the script, hashed from a working install | 2026-09-22 | `\u002Fgaming:dlss5 refetch` reports a different runtime version, or an NVIDIA-signed runtime fails the hash |\n| Default fork pin: `wilsjo2\u002FOptiScaler-DLSSNR-PreSR-Multipass` tag `v0.8.3`, asset `OptiScaler-NR-v0.8.3.zip`, SHA-256 `3F2D26FB136D964A394BF50896D082156173153A2A55B88E1995277B4DABE3C8` | `gh api repos\u002Fwilsjo2\u002FOptiScaler-DLSSNR-PreSR-Multipass\u002Freleases`; the hash matches the release's own `.sha256` sidecar | 2026-09-24 | a new non-prerelease on that repo, or `refetch` reports a tag change |\n| Fallback fork pin: `Dagherbou\u002FOptiScaler_DLSSNR` tag `v0.2.0-patch1` (a prerelease), asset `OptiScaler-DLSSNR-v0.2.0-onimusha-fix.zip`, SHA-256 `5DB547216FA8A7DBD8AB0A193DA1E3BCE0EA4BD71F91189AFA4ED2EDE8BB9561` | `gh api repos\u002FDagherbou\u002FOptiScaler_DLSSNR\u002Freleases`; the release publishes no checksum, so the hash is a local-copy attestation | 2026-09-21 | a new release on that repo, or `refetch` reports a tag change |\n| Step 2 FAILs a GPU outside the RTX 50 series, the series NVIDIA's launch post names | https:\u002F\u002Fwww.nvidia.com\u002Fen-us\u002Fgeforce\u002Fnews\u002Fdlss-5-3d-guided-neural-rendering\u002F | 2026-11-10 | NVIDIA ships DLSS 5 support for another GPU series |\n\n## Next\n\n\u002Fgaming:dlss5 assess \u003Cgame-dir>\n\n## Gotchas\n\n- **`VersionInfo.FileVersion` misreads the runtime DLL.** NVIDIA's `nvngx_dlssnr.dll` reports\n  `310,8,0,0` there. Read the numeric `FileMajorPart` to `FilePrivatePart` fields, as steps 5 and 7\n  do; `refetch` reports the same numeric form.\n\n## What this skill does NOT do\n\n- Apply, remove or tune the mod in a game. That is `\u002Fgaming:dlss5`.\n- Write Claude Code user settings or `pluginConfigs`. Reconfigure with\n  `\u002Fplugin configure gaming@\u003Cmarketplace>`, then rerun `check` in a fresh session.\n- Delete anything. Emptied builds and orphaned state are reported with a remediation the user runs.\n- Name, bundle or download a source for the runtime DLL beyond the three the user controls.\n",{"description":7,"argument-hint":24,"user-invocable":25,"disable-model-invocation":25},"[check|apply]",true,"main","d0e68c3f36b92a1d6381f0ba0060d7a0b8b886c5","plugins\u002Fgaming\u002Fskills\u002Fsetup",7,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins","https:\u002F\u002Fgithub.com\u002Fmelodic-software","https:\u002F\u002Fmelodicsoftware.com","Independent software studio building developer tools, automation, and application services, with roots in music.","2026-11-15 05:15:06",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":25},[37,40,43],{"tool":38,"command":39},"npx","npx skills add melodic-software\u002Fclaude-code-plugins --skill setup",{"tool":41,"command":42},"bunx","bunx skills add melodic-software\u002Fclaude-code-plugins --skill setup",{"tool":44,"command":45},"pnpm","pnpm dlx skills add melodic-software\u002Fclaude-code-plugins --skill setup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fgaming\u002Fskills\u002Fsetup\u002FSKILL.md",[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"reference\u002Fledger-template.md","REFERENCE","参考文档",2833,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fgaming\u002Fskills\u002Fsetup\u002Freference\u002Fledger-template.md",[55,62,69,76,81,88],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7DYYDG31B9YX7N9MB9QW2GW","track","Backlog reads through the bound tracker: search open and closed items, view one item with its comments and state history. Use when another skill searches or reads tracker items.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fsession-flow\u002Fevals\u002Frecall-still-reports-reopened-bug\u002Fwork-items-stub\u002Fskills\u002Ftrack\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7DYXVBAVG3NV30PA7GKW9Q6","reviewer-media","Reviewer media for one pull request: decides whether it needs a narrated walkthrough, builds the storyboard from \u002Freview:explain-change's digest, has \u002Fexplainer-video:produce render it and hands the manifest to \u002Fsource-control:pull-request media. Use when asked for 'reviewer media', 'a walkthrough video for this PR', 'a produced video of this change', or when pull-request ready or monitor hands a PR over.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Freview\u002Fskills\u002Freviewer-media\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7DYRZ5YD44AMYH26YR25GZ8","route","Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-pin-without-override\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":77,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7DYRTVT4FWTGDJY0HCCFJMZ","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-override-from-route\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7DYNZC8PNW3T27V2ADKECKJ","principles","Module-design vocabulary for architecture findings, and the checks built on it. Use when: 'what is a deep module', 'what is a seam', 'deep vs shallow module', 'what is the deletion test', 'leverage and locality', 'module design vocabulary', 'which word do we use for X in architecture findings'. Scanning a codebase for friction is \u002Farchitecture:improve.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fskills\u002Fprinciples\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7DYNMCZNEWBFHV9KTSS6H60","write","Structured five-field bug report (title, steps to reproduce, expected vs actual, justified severity, suggested fix location) from an informal description, read-only. Use when the user names a defect they observed, or asks for one written up ('report a bug', 'file a bug', 'write this up as a bug').","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fevals\u002Fdeepening-defect-goes-to-bugs-write\u002Fbugs-stub\u002Fskills\u002Fwrite\u002FSKILL.md",[],[]]