Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add pedroiff0/awesome-skills --skill gpu-debian-setupgit clone --depth 1 https://github.com/pedroiff0/awesome-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pedroiff0/awesome-skills/gpu-debian-setup)<a href="https://agentmods.dev/skills/pedroiff0/awesome-skills/gpu-debian-setup"><img src="https://agentmods.dev/badge/skills/pedroiff0/awesome-skills/gpu-debian-setup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pedroiff0/awesome-skills/gpu-debian-setup"><img src="https://agentmods.dev/badge/skills/pedroiff0/awesome-skills/gpu-debian-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00119 | $0.01512 |
| Opus 5.5 | $0.00048 | $0.00605 |
| Sonnet 5.5 | $0.00024 | $0.00302 |
| Haiku 4.5 | $0.00012 | $0.00151 |
Grade D, and why
gpu-debian-setup scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- Add `non-free` next to `non-free-firmware`, e.g. `sudo sed -i 's/ non-free-firmware/ non-free non-free-firmware/g' /etc/apt/sources.list.d/contrib.list` Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Verify: `nvidia-smi` now lists the GPU. Cleanup: `rm -rf /tmp/nv_extract /tmp/NVIDIA.run`. Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- `curl -fsSL -o /tmp/NVIDIA.run "https://us.download.nvidia.com/XFree86/Linux-x86_64/<VER>/NVIDIA-Linux-x86_64-<VER>.run"` How it starts
The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GPU driver setup on Debian for local LLM inference
When to use
- User has an NVIDIA GPU but local models run slow / on CPU only.
- "install nvidia driver", "enable GPU for ollama", "nvidia-smi not found", "ollama not using gpu".
- After a driver install, nvidia-smi is missing even though the GPU seems present.
Steps (Debian, root or passwordless sudo)
- Assess hardware & current state (no root needed):
- RAM/CPU:
free -h,nproc,lscpu | grep -E "Model name" - GPU:
lspci | grep -iE "vga|3d|nvidia" - Driver loaded?
lsmod | grep -i nvidia; nouveau still active?lsmod | grep -i nouveau nvidia-smi(if present) ; CUDA:nvcc --version(often absent — normal)- Secure Boot:
mokutil --sb-state(if available). OFF avoids module-signing pain. - DKMS headers:
dpkg -l | grep linux-headers(needed to build the module).
- RAM/CPU:
- Enable the
non-freecomponent (Debian splits proprietary blobs out):- Find the active sources file (trixie commonly has
/etc/apt/sources.list.d/contrib.list). - Add
non-freenext tonon-free-firmware, e.g.sudo sed -i 's/ non-free-firmware/ non-free non-free-firmware/g' /etc/apt/sources.list.d/contrib.list sudo apt-get update
- Find the active sources file (trixie commonly has
- Install driver (metapackage pulls DKMS + userspace libs):
sudo apt-get install -y nvidia-driver firmware-misc-nonfree- trixie ships 610.x (CUDA repo) or 550.x (Debian non-free) — either works; don't mix versions.
- Blacklist nouveau (the open driver conflicts with the proprietary module):
echo -e 'blacklist nouveau\noptions nouveau modeset=0' | sudo tee /etc/modprobe.d/blacklist-nouveau.confsudo update-initramfs -u
- Reboot:
sudo reboot. After reboot the proprietary module loads and nouveau is gone.
PITFALL — nvidia-smi is a DUMMY on Debian 13 (trixie)
On trixie, apt-get install nvidia-smi installs a transitional dummy package that ships NO binary. nvidia-utils does not exist by that name; neither nvidia-driver nor nvidia-driver-bin .debs contain /usr/bin/nvidia-smi; the CUDA-repo nvidia-smi .deb is also a dummy.
Symptom: after a clean driver install + reboot, nvidia-smi -> "command not found", even though lsmod | grep nvidia shows the module loaded and libnvidia-ml.so.1 exists.
FIX — extract the real binary from the official .run (must match the installed driver version!):
- Version:
dpkg -l | grep nvidia-driver(e.g. 610.43.02) orcat /proc/driver/nvidia/version. curl -fsSL -o /tmp/NVIDIA.run "https://us.download.nvidia.com/XFree86/Linux-x86_64/<VER>/NVIDIA-Linux-x86_64-<VER>.run"chmod +x /tmp/NVIDIA.run && /tmp/NVIDIA.run --extract-only --target /tmp/nv_extractsudo cp /tmp/nv_extract/nvidia-smi /usr/bin/nvidia-smi && sudo chmod 755 /usr/bin/nvidia-smi- Verify:
nvidia-sminow lists the GPU. Cleanup:rm -rf /tmp/nv_extract /tmp/NVIDIA.run. Important: the GPU works for compute WITHOUTnvidia-smi— it is only a monitoring tool. Do not block the whole setup on obtaining it. Seereferences/nvidia-smi-extract.md.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 66 lines · 119 tokens per session scan D fcb23819bcb1
gpu-debian-setup is a skill published in the GitHub repository pedroiff0/awesome-skills (1 stars, last pushed 18d ago), licensed MIT. It adds 119 tokens to every session and 1,512 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it D with 3 findings (asks for root, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
gpu-debian-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gpu-debian-setuppedroiff0/awesome-skills | Skill | 1 | 18d ago | MIT | D | 119 | Claude Code, Codex |
| mnemosyne-maintenanceAtlasOmnia/hermes-custom-pack | Skill | 87 | 13d ago | MIT | A | 40 | Claude Code, Codex |
| 3d-printer-consumer-designLoopyLuci/Skills | Skill | 1 | 9d ago | none | A | 17 | Claude Code, Codex |
| 5g-network-architectureLoopyLuci/Skills | Skill | 1 | 9d ago | none | A | 24 | Claude Code, Codex |
| gpu-optimizerMathews-Tom/armory | Skill | 345 | 5d ago | MIT | B | 80 | Claude Code |
| ai-llm-skills-guidegmh5225/awesome-skills | Skill | 101 | 1mo ago | MIT | A | 35 | Claude Code |
| mnemosyne-maintenanceAtlasOmnia/donna-starter | Skill | 140 | 1mo ago | MIT | A | 40 | Claude Code, Codex |