--- description: Verify the repo-local PDFtoMD Python environment, CUDA, and Nougat CLI. argument-hint: [quick|full] allowed-tools: [Read, Bash] --- # /env-check ## Arguments The user invoked this command with: $ARGUMENTS ## Workflow 1. Read `AGENTS.md`, `requirements.txt`, `docs/TOOLCHAIN.md`, and `PROGRESS.md`. 2. Run `.\venv\python.exe -m pip check`. 3. Run a CUDA smoke test with `torch.ones((1,), device="cuda")` unless `$ARGUMENTS` says `quick`. 4. Run `.\venv\Scripts\nougat.exe --help`. 5. Summarize versions and failures. 6. Do not install or upgrade packages unless the user explicitly asks. ## Output - **Environment** - **CUDA** - **Nougat** - **Dependency Health** - **Action Needed**