Command Palette

Search for a command to run...

Назад к скиллам
скилл № 07684

Setup

Verify and provision Windows DLSS 5 prerequisites (pwsh, GPU/driver, data dir, runtime DLL, fork builds, state): check (read-only) or apply.

БесплатноБез исполняемых скриптов
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Setup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Setup

Purpose

Verify and provision the prerequisites for /gaming:dlss5, per the uniform setup contract (docs/plugin-philosophy.md "Setup is explicit and repeatable" in the marketplace repository). No argument or check runs the read-only check; apply runs check, provisions through the script's own verbs, then runs check again. Windows only.

All provisioning goes through ${CLAUDE_PLUGIN_ROOT}/skills/dlss5/scripts/Invoke-Dlss5Mod.ps1 (below: the script). Its provision verbs own download, hash verification, extraction and the runtime gate; this body calls them.

Resolving paths (do this first)

Resolve each option to a literal value before composing any command. A command line carries the resolved path, never a ${user_config.*} token, so it never depends on how an unset option renders. When checking where such a token is substituted, read manifest reference § Reference a saved value.

Option Resolution Passed as
<data-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 '<data-dir>' on every call
<runtime-dll> ${user_config.runtime_dll} when set; otherwise <data-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
<runtime-source> ${user_config.runtime_source} when set; otherwise none -RuntimeSource only when set. A path or a plain https:// 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. A private store is synced to a path by the user's own tooling

The default data_dir follows OneDrive Known Folder Move, which $env:USERPROFILE\Documents does not:

pwsh -NoProfile -Command "Join-Path ([Environment]::GetFolderPath('MyDocuments')) 'Gaming\dlss5'"

<script> is ${CLAUDE_PLUGIN_ROOT}/skills/dlss5/scripts/Invoke-Dlss5Mod.ps1. Pass Windows-form paths in single quotes ('D:\Gaming'), never a Git Bash /d/... path. Run the multi-line probe in step 5 through the PowerShell tool: it contains single quotes, so a single-quoted Bash argument cannot 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.

check (read-only)

Report a PASS/FAIL/INFO table with one remediation line per FAIL. Write nothing, copy nothing, download nothing, and never call provision in any form.

  1. pwsh 7. pwsh -NoProfile -Command '$PSVersionTable.PSVersion.ToString()'. FAIL when absent or below 7: the script declares #Requires -Version 7.

  2. NVIDIA GPU and driver. nvidia-smi --query-gpu=name,driver_version --format=csv,noheader. FAIL when nvidia-smi is absent or lists no GPU. Report the name and driver. A GPU outside the RTX 50 series is FAIL (see the verification record below).

  3. Data directory. Absent is INFO (apply creates it). Present is PASS. check does not test writability, because that takes a write; the directory creation in apply is the test.

  4. Ledger. <data-dir>\LEDGER.md present is PASS; absent is INFO (apply seeds it).

  5. Runtime DLL. Hash <runtime-dll>:

    $dll = '<runtime-dll>'
    if (Test-Path -LiteralPath $dll) {
      (Get-FileHash -LiteralPath $dll -Algorithm SHA256).Hash
      $s = Get-AuthenticodeSignature -LiteralPath $dll; "$($s.Status) $($s.SignerCertificate.Subject)"
      $v = (Get-Item -LiteralPath $dll).VersionInfo; '{0}.{1}.{2}.{3}' -f $v.FileMajorPart, $v.FileMinorPart, $v.FileBuildPart, $v.FilePrivatePart
    }
    

    PASS when the hash is the known-good value. An NVIDIA-signed file (status Valid, signer subject containing CN=NVIDIA Corporation) at 310.8.0.0 or later with a different hash is FAIL: the gate refuses it unless -AllowUnknownRuntime is passed, which is the user's explicit call and never a default. A missing or refused file is FAIL. When runtime_dll is set, the remediation is to fix or unset it: provision -Runtime refuses a configured file without looking further. When it is unset, report what apply would do: use the step 7 scan and name each candidate with its gate result, and say whether <runtime-source> is set. The remediation then names the three remedies in the order provision -Runtime tries them: set runtime_dll to a copy you already have; install a DLSS 5 title on this machine; set runtime_source to a copy you control

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • reference/ledger-template.md

FAQ

Что делает скилл Setup?

Verify and provision Windows DLSS 5 prerequisites (pwsh, GPU/driver, data dir, runtime DLL, fork builds, state): check (read-only) or apply.

Как установить скилл Setup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Setup запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Setup с