gpu-lock

gpu-lock is a Claude Code mod by CoderDayton that one CUDA job at a time, or shared up to a memory limit: locks the GPU across sessions, checks free memory first, and shows who runs and who waits.

Updated 2026-11-30

What is gpu-lock?

gpu-lock is a Claude Code mod by CoderDayton that one CUDA job at a time, or shared up to a memory limit: locks the GPU across sessions, checks free memory first, and shows who runs and who waits. It is listed under Context & memory and has no public popularity data yet.

TypeClaude code mod
AuthorCoderDayton
RepositoryCoderDayton/vii-mods
Popularityno public popularity data yet
CategoryContext & memory
SecurityLow risk (88/100)
Rank#5,412 of 9,397 Claude Code mods; #474 in Context & memory
LicenseMIT
Last commit2026-11-30
Hooks6 events
SeesBash calls
Draws onAbovePrompt, Pane

Is gpu-lock safe to install?

gpu-lock scores 88/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 7 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.fs.existsreads files
$.fs.readreads files
$.process.runruns processes
$.session.cwd
$.session.id
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.closedraws interface
$.ui.opendraws interface
$.ui.panesdraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install gpu-lock?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/CoderDayton/vii-mods
    claude plugin validate ./vii-mods/plugins/gpu-lock
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add CoderDayton/vii-mods && claude plugin install gpu-lock@vii-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs gpu-lock for you:

Install the "gpu-lock" Claude Code mod from https://github.com/CoderDayton/vii-mods/tree/main/plugins/gpu-lock. Run claude plugin validate on it first and show me what it can access before you enable it.

More from CoderDayton/vii-mods

This repository has 8 Claude Code mods on MCPMods.

  • correction-ledger: Saves each correction you make as a rule, sends it every turn or when Claude makes the call it is about, makes it louder (High risk)
  • cues: Sound for Claude Code on Linux: mechanical key sounds as you type, and a chime when you send a prompt, when the reply la (Review before installing)
  • fleet-board: A read-only pane for the other Claude sessions you run: who is working, who went quiet, and the team your boss session b (High risk)
  • lookback: Searches your past Claude Code sessions by words and by meaning. A local SQLite index and local Ollama embeddings, no cl (Review before installing)
  • rescribe: Prompt enhancer: a shortcut rewrites the draft in the prompt box, and a menu shows the change to apply or dismiss. (Review before installing)
  • smart-comments: Reads each comment Claude adds, lets through the ones that tell a reader what the code cannot, skips docstrings, and nam (Review before installing)
  • sudo-askpass: Lets Claude run sudo commands: each one opens a password dialog on your screen that shows the command. Your password goe (Low risk)