Model Builder
qualcomm/qai-appbuilder
QAI ModelBuilder. An agent skill from qualcomm/qai-appbuilder.
Installs or verifies AMD Quark and ensures the selected Python environment has an accelerator-matched PyTorch.
$ npx skills add amd/Quark --skill quark-install -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install amd/Quark quark-install --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/amd/Quark.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/quark-install .claude/skills/quark-install && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "quark-install" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/quark-install into .claude/skills/quark-install/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-install", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/amd/Quark/tree/release%2F0.13/skills/quark-installType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add amd/Quark --skill quark-install -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install amd/Quark quark-install --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/amd/Quark.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/quark-install .agents/skills/quark-install && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "quark-install" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/quark-install into .agents/skills/quark-install/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-install", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add amd/Quark --skill quark-install -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install amd/Quark quark-install --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/amd/Quark.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/quark-install .cursor/skills/quark-install && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "quark-install" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/quark-install into .cursor/skills/quark-install/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-install", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/amd/Quark.git --path skills/quark-install--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add amd/Quark --skill quark-install -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install amd/Quark quark-install --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/amd/Quark.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/quark-install .gemini/skills/quark-install && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "quark-install" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/quark-install into .gemini/skills/quark-install/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-install", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install amd/Quark quark-installInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add amd/Quark --skill quark-install -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/amd/Quark.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/quark-install .github/skills/quark-install && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "quark-install" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/quark-install into .github/skills/quark-install/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-install", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add amd/Quark --skill quark-install -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install amd/Quark quark-install --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/amd/Quark.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/quark-install .opencode/skills/quark-install && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "quark-install" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/quark-install into .opencode/skills/quark-install/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-install", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
quark-installInstalls or verifies AMD Quark and ensures the selected Python environment has an accelerator-matched PyTorch.
Quark Install is an agent skill from amd/Quark. Installs or verifies AMD Quark and ensures the selected Python environment has an accelerator-matched PyTorch. Applies to "install Quark", "set up Quark", "pip install amd-quark", Quark dependency or import failures, ModuleNotFoundError for quark, and Quark kernel compiler errors. Defaults to GPU and requires explicit confirmation before CPU mode. Covers PyPI universal, exactly matched native, local-wheel, and local-source installs. Does not handle standalone PyTorch requests, ONNX Runtime-only setup, or…
Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `evals/evals.json`, `references/contracts/quark_install_result.schema.json` and `skill-card.md`).
It sits in AI & LLM Engineering, covering Deep learning and LLM inference and serving. It works with PyTorch, Python and ONNX. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 313cb0b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pipFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
download.pytorch.orgpypi.orgFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Quark Install loads about 3.5k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 134 tokens; SKILL.md has 1,453 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
-m pip`; never use unqualified `pip` or `sudo pip`.Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from amd/Quark at commit 313cb0b, republished under its MIT licence (© amd). 1,453 words, ~3,501 tokens.
.claude/skills/quark-install/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Install or verify amd-quark without relying on another skill, a Quark checkout, or pre-generated workflow artifacts. Detect the actual hardware, ensure PyTorch matches it, choose the smallest safe Quark install, obtain approval, execute it, and verify the requested capabilities.
gfx... from gcnArchName on AMD); verify compatibility with that environment instead of assuming a fixed ROCm version or GPU target.QUARK_ACCELERATOR, PYTORCH_ROCM_ARCH, QUARK_BUILD_DISABLE_JIT_FALLBACK, HSA_OVERRIDE_GFX_VERSION, HIP_VISIBLE_DEVICES, and CUDA_VISIBLE_DEVICES. Include any required changes in the confirmed install plan. Report PIP_EXTRA_INDEX_URL only as set or unset because its value may contain credentials.quark-cli.Do not require pre-existing environment or install-result artifacts. A user-provided wheel or source directory is an input, not a skill dependency.
Always write quark_install_result.json in the user's working directory at a terminal outcome and validate it against references/contracts/quark_install_result.schema.json.
Preserve the compatibility fields status, quark_version, install_source, extras_installed, verification, and failure_reason. Also record the resolved interpreter, imported Quark module path, PyTorch version/backend, GPU availability, whether CPU mode was explicitly confirmed, exact executed commands, and pip check result.
status: "ok" only when installation and every requested verification pass.status: "skipped" when a suitable existing install is verified or the user declines changes.status: "failed" with the exact failing command and error for install or verification failure.null; do not report llm_ptq_deps: true merely because quark-cli --help works.Quark requires Python 3.11, 3.12, or 3.13 and PyTorch 2.2 or newer.
The amd-quark runtime wheel does not install PyTorch. Resolve and verify PyTorch before installing Quark.
GPU is the default. A CUDA/ROCm build tag alone is insufficient: GPU readiness requires torch.cuda.is_available(), a positive device count, and a successful tensor operation on cuda (PyTorch uses this device spelling for both CUDA and ROCm).
If PyTorch is missing, CPU-only, backend-mismatched, or unable to access a GPU, stop and ask whether to install/fix the matching GPU build or explicitly continue in CPU mode. Never install or accept CPU mode silently.
Install a GPU PyTorch build only from an official index matching detected CUDA/ROCm support. Query available versions first, choose a Python-compatible stable release satisfying torch>=2.2, show the exact command, and obtain approval:
"<PYTHON>" -m pip index versions torch --index-url "https://download.pytorch.org/whl/<GPU_INDEX>"
"<PYTHON>" -m pip install "torch==<VERSION>" --index-url "https://download.pytorch.org/whl/<GPU_INDEX>"After explicit CPU-mode confirmation, use the official CPU index instead of an unqualified PyPI install:
"<PYTHON>" -m pip install "torch==<VERSION>" --index-url "https://download.pytorch.org/whl/cpu"The universal PyPI wheel is the safe default. It supports different PyTorch backends but compiles Quark kernels/custom operators on first use and therefore may require a C++ compiler plus nvcc or hipcc:
"<PYTHON>" -m pip install "amd-quark"Quark Torch import currently requires Transformers even though the base amd-quark wheel may not declare it. When kernel verification is requested and Transformers is absent, preview and confirm a release/model-compatible install; use "transformers<5.16" as the current upper bound unless a narrower requirement is known. Treat a missing Transformers module as a dependency failure, not a compiler failure.
Native-wheel availability changes by release. Never select one from a hard-coded matrix or a bare --extra-index-url. Use only an observed candidate whose filename/local version exactly matches the active PyTorch major.minor, CUDA/ROCm major.minor (or CPU), CPython tag, OS, and architecture; pin its complete version with ===:
"<PYTHON>" -m pip install "amd-quark===<FULL_VERSION_WITH_VARIANT>" --index-url "<AMD_INDEX_URL>" --extra-index-url "https://pypi.org/simple"Apply the same ABI checks to a user-provided native wheel. A py3-none-any wheel is universal. For trusted local input:
"<PYTHON>" -m pip install "<ABSOLUTE_WHEEL_PATH>"
"<PYTHON>" -m pip install --no-build-isolation "<ABSOLUTE_SOURCE_DIR>"Use the source form only when the directory contains pyproject.toml or setup.py, PyTorch is already verified, and the user explicitly trusts and requests executing that source.
Add [cli] only when requested. Before doing so, inspect installed onnxruntime* distributions and the dry-run plan because the current CLI extra may add CPU onnxruntime; do not silently combine it with onnxruntime-gpu or bypass dependencies with --no-deps.
ONNX Runtime variant selection is outside this skill. Verify and report an existing runtime when ONNX custom operators are requested, but do not silently choose or replace its CPU/GPU distribution.
Always use the same absolute "<PYTHON>" -m pip; never use unqualified pip or sudo pip.
Complete these steps in order.
Resolve <PYTHON> to the exact interpreter that would be modified. Quote paths containing spaces. Run read-only checks:
"<PYTHON>" -c "import platform, sys; print('executable:', sys.executable); print('prefix:', sys.prefix); print('python:', platform.python_version()); print('os:', platform.platform()); print('machine:', platform.machine())"
"<PYTHON>" -m pip --version
"<PYTHON>" -m pip show amd-quark torch
"<PYTHON>" -c "import torch; ok=torch.cuda.is_available(); n=torch.cuda.device_count(); print('torch:', torch.__version__); print('cuda:', torch.version.cuda); print('hip:', torch.version.hip); print('gpu_available:', ok); print('device_count:', n); print('device:', torch.cuda.get_device_name(0) if ok and n else None)"
nvidia-smi --query-gpu=name,driver_version --format=csv,noheader
rocm-smi --showproductname
hipcc --versionRun only hardware commands available on the host; command-not-found is evidence, not permission to install utilities. Do not import optional Quark kernels/custom operators during intake because a universal wheel may compile them.
Stop before Quark planning if Python is unsupported, PyTorch is below 2.2, hardware is ambiguous, PyTorch is CPU-only, the build family conflicts with detected hardware, or a GPU build cannot access a device.
Ask: “I found <EVIDENCE>. Shall I install/fix the matching GPU PyTorch build, or do you explicitly want CPU mode?”
Do not continue in CPU mode without an explicit answer. If GPU mode is selected, show and approve the exact official-index PyTorch command, then verify a real GPU tensor operation before continuing.
"amd-quark==<VERSION>" or "amd-quark[cli]==<VERSION>"."<PYTHON>" -m pip install --dry-run "<PACKAGE_SPEC>". If dry-run is unsupported, report that limitation rather than mutating the environment.Show:
Ask: “Shall I run these exact commands?”
CPU-mode acceptance and command execution both require explicit approval. Do not install, upgrade, uninstall, invoke a system package manager, or compile optional components without it.
After approval, run only the confirmed commands. Install/fix PyTorch first when required and verify the selected compute mode before installing Quark. Stop on the first failure and preserve full output. For a wheel install, run import verification from a neutral directory outside any Quark source checkout and require the imported module path to reside under the selected environment; for a source/editable install, require it to resolve to the confirmed source directory.
Run basic checks:
"<PYTHON>" -m pip check
"<PYTHON>" -c "from importlib.metadata import version; import quark, torch; print('amd-quark:', version('amd-quark')); print('quark:', quark.__version__); print('quark_file:', quark.__file__); print('torch:', torch.__version__); print('cuda:', torch.version.cuda); print('hip:', torch.version.hip)"For GPU mode, require an actual operation:
"<PYTHON>" -c "import torch; assert torch.version.cuda or torch.version.hip, 'CPU-only PyTorch build'; assert torch.cuda.is_available(), 'GPU runtime unavailable'; assert torch.cuda.device_count() > 0, 'No visible GPU'; x=torch.ones(1024, device='cuda'); y=(x*x).sum(); torch.cuda.synchronize(); print(torch.cuda.get_device_name(0), y.item())"For requested Quark kernels, assert that the extension loaded. Use the first command for a universal wheel; for a native wheel, disable JIT fallback to prove the packaged extension is valid:
"<PYTHON>" -c "import quark.torch.kernel; from quark.torch.kernel.hw_emulation import extensions; assert extensions.kernel_ext is not None; print('Quark kernel OK')"
"<PYTHON>" -c "import os; os.environ['QUARK_BUILD_DISABLE_JIT_FALLBACK']='1'; import quark.torch.kernel; from quark.torch.kernel.hw_emulation import extensions; assert extensions.kernel_ext is not None; print('Native Quark kernel OK')"Run only other requested checks:
"<PYTHON>" -m quark.experimental.cli.main -h
"<PYTHON>" -c "import onnxruntime as ort; from quark.onnx.operators.custom_ops import get_library_path; p=get_library_path('CPU'); so=ort.SessionOptions(); so.register_custom_ops_library(p); print('Quark ONNX custom ops OK:', p)"Do not run both kernel commands. Report base installation, GPU runtime, and optional capabilities separately. Write and validate quark_install_result.json; do not claim success from an install exit code or build tag alone.
nvcc or hipcc. Report the missing tool and get approval before system changes.ModuleNotFoundError, preview a compatible Transformers install, and request approval before retrying.onnxruntime* distributions. Prefer a separate environment or an explicitly revised plan; never hide the conflict with --no-deps.pip check, the exact failing command, versions, and full error. Prefer a fresh environment over forced downgrades.sys.executable, pip --version, distribution version, and quark.__file__; rerun wheel verification from a neutral directory with one absolute interpreter path.© amd, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in skills/quark-install of amd/Quark.
Open the folder on GitHubat commit 313cb0b
We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in amd/Quark, which our catalogue first saw on October 7, 2026.
Quark Install next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Quark Install this skillamd/Quark | 181 | — | ~3.5k | Automated safety check: Notes | MIT | |
| Model Builderqualcomm/qai-appbuilder | 246 | — | ~4.1k | Automated safety check: Pass | BSD-3-Clause | |
| Technology Selectiondotnet/skills | 5.6k | 2 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Magpie Kernel Evaluatoramd/skills | 395 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Tao Port Huggingface ModelNVIDIA/skills | 3.5k | — | ~4.5k | Automated safety check: Notes | Apache-2.0 | |
| Re AI Modeldslsdzc/rev-skills | 117 | — | ~2.4k | Automated safety check: Pass | Apache-2.0 |
qualcomm/qai-appbuilder
QAI ModelBuilder. An agent skill from qualcomm/qai-appbuilder.
dotnet/skills
Guides technology selection and implementation of AI and ML features in .NET 8+ applications using ML.NET, Microsoft.Extensions.AI (MEAI), Microsoft Agent Framework (MAF), GitHub Copilot SDK, ONNX…
amd/skills
Benchmarks LLM inference and drives GPU kernel optimization with Magpie.
NVIDIA/skills
Integrate a HuggingFace Computer Vision model into the NVIDIA TAO Toolkit ecosystem (tao-core config, tao-pytorch trainer, tao-deploy TensorRT pipeline).
dslsdzc/rev-skills
AI 模型文件逆向与静态分析:ONNX/PyTorch/Safetensors/TFLite 格式解析、 网络结构还原、权重提取、文件级水印分析(权重 pattern/metadata/tensor hash/embedding 异常)。
Orchestra-Research/AI-Research-SKILLs
Explains RWKV, a hybrid that trains in parallel like a GPT and runs inference like an RNN with constant memory per token, plus usage, fine-tuning and troubleshooting.
amd/Quark
Author or restructure a Quark Agent Skill so it conforms to this project's template, contracts, and layer rules.
amd/Quark
Run, resume, monitor, diagnose, and report Quark Quant-Perf workflows for PyTorch and HuggingFace transformers models.
amd/Quark
Author a new ShapeShifter graph-transformation pass for AMD Quark (ONNX or PyTorch) so it conforms to the pass framework's conventions and auto-registers.
amd/Quark
Collect and normalize environment facts (OS, Python, GPU, CUDA/ROCm, container state) before Quark installation or PTQ planning.
amd/Quark
Install or verify the AMD Quark package and its dependencies.
amd/Quark
L3 recipe that runs quark.onnx.AutoSearchPro end-to-end on a user .onnx model: intake → preset selection (or custom search space) → calibration / eval data reader → standalone autosearch script…
Categories
Installs or verifies AMD Quark and ensures the selected Python environment has an accelerator-matched PyTorch. Quark Install is an agent skill from amd/Quark. Installs or verifies AMD Quark and ensures the selected Python environment has an accelerator-matched PyTorch.
Quark Install fits situations like: tasks that involve Deep learning; tasks that involve LLM inference and serving.
Run `npx skills add amd/Quark --skill quark-install -a claude-code`. Or copy the skill folder (skills/quark-install in amd/Quark) into .claude/skills/quark-install in your project. Claude Code loads it when a task matches its description.
Run `npx skills add amd/Quark --skill quark-install -a codex`. Or copy the skill folder (skills/quark-install in amd/Quark) into .agents/skills/quark-install in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add amd/Quark --skill quark-install -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/quark-install, .gemini/skills/quark-install, .github/skills/quark-install and .opencode/skills/quark-install in your project.
Going by SKILL.md and its folder, Quark Install needs the command-line tools its instructions call (pip). Our summary lists: Python 3.
SKILL.md names 2 domains. In commands or code: download.pytorch.org and pypi.org; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Quark Install is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 696 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Quark Install: Model Builder (qualcomm/qai-appbuilder, 246 stars), Technology Selection (dotnet/skills, 5.6k stars), Magpie Kernel Evaluator (amd/skills, 395 stars) and Tao Port Huggingface Model (NVIDIA/skills, 3.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
amd (a GitHub organization) maintains it in amd/Quark, which has 181 GitHub stars. The repository holds 37 skills in this directory. The repository was last updated on September 28, 2026.
Source: amd/Quark on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.