agentleFS
NVIDIAKnown publisherNVIDIA/Model-Optimizer/tools/debugger/CLAUDE.md

Model-Optimizer / debugger

CLAUDE.md5.2k starsChanged 58 days agoApache-2.0View on GitHub

This directory contains a file-based command relay for executing commands inside a remote Docker container from the host machine (where Claude Code runs). The user must start the server inside Docker first: Then Claude Code performs the handshake:

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 3 mentionsFeb 2026: 2 mentionsMar 2026: 0 mentionsApr 2026: 2 mentionsMay 2026: 3 mentionsJun 2026: 1 mentionJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 10 mentionsOct 2026: 3 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the NVIDIA/Model-Optimizer repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about NVIDIA/Model-Optimizer

The biggest 5 of 26 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 26

Talked about on GitHub and Bluesky (26 times).

On GitHub · 22

17 more on GitHub

The file

We split this CLAUDE.md into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Default command timeout is 600 seconds (10 minutes).

    line 68
  2. Distinctive:

    All commands run with the auto-detected repo root as the working directory.

    line 71

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Remote Command Relay

This directory contains a file-based command relay for executing commands inside a remote Docker container from the host machine (where Claude Code runs).

How to Use (for Claude Code)

Setup (one-time per session)

The user must start the server inside Docker first:

# Inside Docker container (auto-detects repo root from script location):
bash /path/to/modelopt/tools/debugger/server.sh

Then Claude Code performs the handshake:

bash tools/debugger/client.sh handshake

Running Commands

# Run any command in the Docker container (workdir = auto-detected repo root):
bash tools/debugger/client.sh run "<command>"

# For long-running tasks, increase timeout:
bash tools/debugger/client.sh --timeout 1800 run "<command>"

Key Paths Inside Docker

PathDescription
Repo root (auto-detected)ModelOpt source, used as workdir
/hf-localHuggingFace model cache

Examples

# Run PTQ test
bash tools/debugger/client.sh run "bash hf_ptq/scripts/huggingface_example.sh"

# Run pytest
bash tools/debugger/client.sh run "python -m pytest tests/gpu -k test_quantize"

# Check GPU
bash tools/debugger/client.sh run "nvidia-smi"

# Use HF models from local cache
bash tools/debugger/client.sh run "python script.py --model /hf-local/Qwen/Qwen3-8B"

Cancelling Commands

# Cancel the currently running command
bash tools/debugger/client.sh cancel

# Client-side timeout also auto-cancels the running command

Important Notes

  • The server must be started by the user manually inside Docker before the handshake.
  • Default command timeout is 600 seconds (10 minutes). Use --timeout for longer tasks.
  • Commands execute sequentially — one at a time.
  • A running command can be cancelled; cancelled commands exit with code 130.
  • All commands run with the auto-detected repo root as the working directory.
  • The .relay/ directory is ephemeral and git-ignored.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.