Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "modelopt-skills",
"description": "NVIDIA ModelOpt agent skills for model quantization, deployment, and evaluation.",
"owner": {
"name": "NVIDIA ModelOpt",
"email": "modelopt@nvidia.com"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

qq: is this email valid?

},
"plugins": [
{
"name": "modelopt-agent",
"source": "./.claude/skills",
"description": "AI agent skills for model optimization: quantization (PTQ), deployment (vLLM/SGLang/TRT-LLM), evaluation (NEL), and end-to-end orchestration.",
"version": "0.1.0"
}
Comment on lines +8 to +14
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify that skill definition files exist under the declared source path
# (excluding plugin metadata-only files).

set -euo pipefail

echo "Declared source path from marketplace:"
rg -n '"source"\s*:\s*"\./\.claude/skills"' .claude-plugin/marketplace.json

echo
echo "Files under .claude/skills:"
fd . .claude/skills

echo
echo "Potential skill definition files (excluding plugin metadata):"
fd . .claude/skills \
  | rg -n -v '\.claude/skills/\.claude-plugin/plugin\.json$|/\.claude-plugin/|README|LICENSE' || true

Repository: NVIDIA/Model-Optimizer

Length of output: 235


🏁 Script executed:

#!/bin/bash
# Check if .claude/skills directory exists and verify the broader plugin structure

set -euo pipefail

echo "=== Checking .claude/skills directory existence ==="
if [ -d "./.claude/skills" ]; then
  echo "✓ Directory exists"
  echo "Listing contents:"
  ls -la "./.claude/skills" || echo "Cannot list contents"
else
  echo "✗ Directory does NOT exist"
fi

echo
echo "=== Checking for .claude directory structure ==="
if [ -d "./.claude" ]; then
  echo "Contents of .claude directory:"
  find ./.claude -type f | head -20
else
  echo "./.claude directory does not exist"
fi

echo
echo "=== Searching for skill/command definitions elsewhere ==="
# Search for potential skill definition patterns
rg -l '"name".*"modelopt"' --type json --type yaml --type md | head -20 || echo "No matches found"

echo
echo "=== Checking marketplace.json file completely ==="
cat -n .claude-plugin/marketplace.json

Repository: NVIDIA/Model-Optimizer

Length of output: 1195


🏁 Script executed:

#!/bin/bash
# Check the plugin.json metadata to understand the declared skills

echo "=== Contents of .claude/skills/.claude-plugin/plugin.json ==="
cat -n ./.claude/skills/.claude-plugin/plugin.json

echo
echo "=== Check for any .ts, .js, .py files that might define skills ==="
fd -e ts -e js -e py . .claude/skills || echo "No such files found"

echo
echo "=== Check repository root for any skills or commands definitions ==="
rg -l "quantization|deployment|vLLM|SGLang" --type json --max-count 5 || echo "No matches"

Repository: NVIDIA/Model-Optimizer

Length of output: 636


Plugin declares features but contains no skill implementations.

The .claude/skills directory exists but contains only metadata in .claude-plugin/plugin.json. There are no actual skill definition files (.ts, .js, .py, etc.) implementing the promised features (quantization, deployment, evaluation, orchestration). Commands like /modelopt-agent:* will not be discoverable after installation, making the plugin non-functional.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.claude-plugin/marketplace.json around lines 8 - 14, The plugin manifest
declares "modelopt-agent" with source "./.claude/skills" but the skills
directory only contains plugin metadata and no executable skill implementations,
so commands like /modelopt-agent:* won't be discovered; add actual skill files
(e.g., TypeScript/JavaScript/Python handlers) into the "./.claude/skills" folder
that export the declared commands and handlers referenced by the plugin manifest
(ensure function/command names and routes match the manifest and plugin.json),
include proper entry points and registration code so the runtime can discover
commands, and update the package manifest if needed to reference the new skill
files.

]
}
9 changes: 9 additions & 0 deletions .claude/skills/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "modelopt-agent",
"version": "0.1.0",
"description": "AI agent skills for NVIDIA ModelOpt: quantization (PTQ), deployment (vLLM/SGLang/TRT-LLM), evaluation (NEL), and end-to-end orchestration.",
"author": {
"name": "NVIDIA ModelOpt",
"email": "modelopt@nvidia.com"
}
}
Loading