Onnxtxt
onnx/onnx
Read or write ONNX text format ("onnxtxt"). An agent skill from onnx/onnx.
Install or verify the AMD Quark package and its dependencies.
$ 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/.claude/skills-impl/l1-atomic/shared/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/.claude/skills-impl/l1-atomic/shared/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/.claude/skills-impl/l1-atomic/shared/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/.claude/skills-impl/l1-atomic/shared/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/.claude/skills-impl/l1-atomic/shared/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/.claude/skills-impl/l1-atomic/shared/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/.claude/skills-impl/l1-atomic/shared/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 .claude/skills-impl/l1-atomic/shared/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/.claude/skills-impl/l1-atomic/shared/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/.claude/skills-impl/l1-atomic/shared/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/.claude/skills-impl/l1-atomic/shared/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/.claude/skills-impl/l1-atomic/shared/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/.claude/skills-impl/l1-atomic/shared/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/.claude/skills-impl/l1-atomic/shared/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-installInstall or verify the AMD Quark package and its dependencies.
Quark Install is an agent skill from amd/Quark. Install or verify the AMD Quark package and its dependencies. Use when the user needs Quark package installation, dependency setup, or post-install verification — after PyTorch is already set up. Trigger for "install Quark", "set up Quark", "pip install amd-quark", "install the Quark package", dependency errors, import failures for quark modules, or any request to get Quark running. Also trigger when the user reports ModuleNotFoundError for quark or missing C++ compiler errors. For PyTorch installation or torch…
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering, covering Deep learning. It works with PyTorch, C++, ONNX and Python. The licence is MIT.
5 steps, taken from the first numbered list 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:
pipgitpythondockeraptFrom 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:
pypi.amd.comFrom 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 1.8k tokens when it runs. Until then it costs about 145 tokens; SKILL.md has 584 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.
- **Linux**: `sudo apt install build-essential` (includes g++, needed for kernel compilation)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). 584 words, ~1,791 tokens.
.claude/skills/quark-install/SKILL.md (or your agent's skills folder).Install the AMD Quark package and its dependencies after PyTorch is already set up. This skill handles Quark-specific setup: the amd-quark package, core dependencies, optional ONNX Runtime, LLM PTQ extras, and compiler requirements. It exists separately from quark-torch-install (which handles PyTorch) and from PTQ planning because getting the environment right is a prerequisite — a missing dependency or wrong compiler will cause cryptic failures later.
env_context.json for OS/Python/accelerator factspytorch_install_result.json confirming PyTorch is installed and verifiedRecords the installed Quark version, optional extras (ONNX runtime, LLM PTQ deps), and verification status.
Schema: quark_install_result.schema.json
{
"status": "ok",
"quark_version": "0.12",
"install_source": "pypi",
"extras_installed": {
"onnxruntime": false,
"llm_ptq_deps": true
},
"verification": {
"import_ok": true,
"kernel_ok": true,
"onnx_ops_ok": null
}
}On failure, set status: "failed" and include a failure_reason with the exact failing verification command.
PyPI package: amd-quark (current version: 0.12)
Install from PyPI (universal wheel, recommended default): pip install amd-quark. Works on any OS/Python/accelerator regardless of PyTorch version, but compiles the fast quantization kernels and ONNX custom-op library on first import (requires a C++ compiler, plus nvcc/hipcc for GPU).
Install a pre-built wheel (optional, PyTorch 2.10+): ships pre-compiled C++ extensions, so no C++ compiler and no first-run compilation are needed. Hosted on the AMD package index (Python 3.11–3.13); point pip at the matching index:
pip install amd-quark --extra-index-url https://pypi.amd.com/quark/cpu/simple # CPU
pip install amd-quark --extra-index-url https://pypi.amd.com/quark/cu128/simple # CUDA 12.8
pip install amd-quark --extra-index-url https://pypi.amd.com/quark/rocm71/simple # ROCm 7.1, Linux only
pip install amd-quark --extra-index-url https://pypi.amd.com/quark/rocm72/simple # ROCm 7.2, Linux onlyInstall from source:
git clone --recursive https://github.com/AMD/Quark
cd Quark
git submodule sync && git submodule update --init --recursive
pip install .Install from wheel: pip install amd_quark*.whl
>=1.22.2, <=1.24.2pip install onnxruntime-gpu (for CUDA)pip install onnxruntimeFor running quantize_quark.py, install these extras:
pip install accelerate datasets evaluate>=0.4.0 gguf>=0.10.0 lm-eval transformers<5.3evaluate, joblib, ninja, numpy>=2.0, onnx>=1.21.0,<=1.22.0, onnxscript,
onnxslim>=0.1.84, pandas, plotly, protobuf, psutil, pydantic, rich, scipy,
sentencepiece, tqdm, zstandardsudo apt install build-essential (includes g++, needed for kernel compilation)quark-torch-install first. Do not attempt to install Quark without a working PyTorch.pip install command and every version before anything runs.# Basic import
python -c "import quark; print('Quark version:', quark.__version__)"
# Optional: kernel compilation test
python -c "import quark.torch.kernel; print('Kernel compilation OK')"
# Optional: ONNX custom ops
python -c "import quark.onnx.operators.custom_ops; print('ONNX custom ops OK')"quark-torch-install has already run and PyTorch is verified.ModuleNotFoundError: No module named 'quark' — Quark not installed or wrong Python environmentImportError: quark.torch.kernel — Missing build-essential / C++ compilerquark-torch-install with the specific issue noted. Do not attempt to fix PyTorch issues from this skill.Quark provides official Dockerfiles for reproducible environments:
Dockerfile.cuda — NVIDIA CUDA (base image: nvidia/cuda:11.8.0-base-ubuntu22.04)Dockerfile.rocm — AMD ROCm (base image: rocm/dev-ubuntu-24.04:6.4)Dockerfile.cpu — CPU only (base image: ubuntu:22.04)Build with:
docker build -f tools/ci/docker/images/Dockerfile.cuda \
--build-arg PYTHON_VERSION=3.13 \
--build-arg PYTORCH_VERSION=2.10.0 \
--build-arg ACCELERATOR_VERSION=cuda-12.6 \
-t quark:cuda .© amd, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills-impl/l1-atomic/shared/quark-install of amd/Quark.
Open the folder on GitHubat commit 313cb0b
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 | — | ~1.8k | Automated safety check: Notes | MIT | |
| Onnxtxtonnx/onnx | 22k | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Ako4allTongmingLAIC/AKO4ALL | 369 | — | ~4k | Automated safety check: Pass | MIT | |
| Paddle Op DevPaddlePaddle/Paddle | 24k | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Embedded AI Deploymentmatlab/agent-skills-playground | 181 | 1 repos | ~3.4k | Automated safety check: Pass | Custom licence | |
| Paddle Cross Ecosystem Custom OpPaddlePaddle/Paddle | 24k | — | ~883 | Automated safety check: Pass | Apache-2.0 |
onnx/onnx
Read or write ONNX text format ("onnxtxt"). An agent skill from onnx/onnx.
TongmingLAIC/AKO4ALL
Drive an agentic loop that iteratively optimizes a GPU kernel for maximum speedup.
PaddlePaddle/Paddle
PaddlePaddle (飞桨) C++ 算子开发指南。提供从 YAML 配置、InferMeta 函数、Kernel 实现、Python API 封装、单元测试到编译验证的完整算子开发流程指导。在以下场景使用此 skill:(1) 为 Paddle 框架新增 C++ 算子 (2) 修改或调试已有 Paddle 算子 (3) 编写算子的 YAML…
matlab/agent-skills-playground
Deploy AI models to embedded hardware using MathWorks tools (MATLAB, Simulink, Embedded Coder).
PaddlePaddle/Paddle
将原生 PyTorch 自定义算子库、Torch extension、生态库(TorchCodec/FlashInfer/DeepEP 等)以及 Kernel DSL 生态(Triton/TileLang/TVM FFI 等)以最小修改方式接入 PaddlePaddle。遇到以下场景务必使用:迁移外部算子库到 Paddle;分析 PFCCLab fork 与上游的兼容差异;处理…
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/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
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…
amd/Quark
Diagnose failed Quark ONNX installation, calibration, quantization, custom-op compilation, or export attempts.
Categories
Install or verify the AMD Quark package and its dependencies. Quark Install is an agent skill from amd/Quark. Install or verify the AMD Quark package and its dependencies.
Quark Install fits situations like: the user needs Quark package installation; dependency setup; post-install verification — after PyTorch is already set up; pip install amd-quark.
Run `npx skills add amd/Quark --skill quark-install -a claude-code`. Or copy the skill folder (.claude/skills-impl/l1-atomic/shared/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 (.claude/skills-impl/l1-atomic/shared/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, git, python, docker and apt). Our summary lists: Python 3; Docker.
SKILL.md names 1 domain. In commands or code: pypi.amd.com; the agent is likely to contact it 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 1.8k tokens (SKILL.md is roughly 7.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Quark Install: Onnxtxt (onnx/onnx, 22k stars), Ako4all (TongmingLAIC/AKO4ALL, 369 stars), Paddle Op Dev (PaddlePaddle/Paddle, 24k stars) and Embedded AI Deployment (matlab/agent-skills-playground, 181 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.