Files
PDFToMD/.codex/commands/env-check.md
T
김경종 7e985ae94a add files
2026-04-30 17:05:19 +09:00

707 B

description, argument-hint, allowed-tools
description argument-hint allowed-tools
Verify the repo-local PDFtoMD Python environment, CUDA, and Nougat CLI.
quick|full
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