Model Builder
qualcomm/qai-appbuilder
QAI ModelBuilder. An agent skill from qualcomm/qai-appbuilder.
Apply existing ShapeShifter graph passes to an .onnx model via the quark-cli shapeshifter CLI or a ShapeShifter YAML.
$ npx skills add amd/Quark --skill quark-onnx-shapeshifter-run -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install amd/Quark quark-onnx-shapeshifter-run --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/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run .claude/skills/quark-onnx-shapeshifter-run && 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-onnx-shapeshifter-run" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run into .claude/skills/quark-onnx-shapeshifter-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-onnx-shapeshifter-run", 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/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-runType 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-onnx-shapeshifter-run -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install amd/Quark quark-onnx-shapeshifter-run --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/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run .agents/skills/quark-onnx-shapeshifter-run && 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-onnx-shapeshifter-run" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run into .agents/skills/quark-onnx-shapeshifter-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-onnx-shapeshifter-run", 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-onnx-shapeshifter-run -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install amd/Quark quark-onnx-shapeshifter-run --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/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run .cursor/skills/quark-onnx-shapeshifter-run && 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-onnx-shapeshifter-run" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run into .cursor/skills/quark-onnx-shapeshifter-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-onnx-shapeshifter-run", 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/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run--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-onnx-shapeshifter-run -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install amd/Quark quark-onnx-shapeshifter-run --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/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run .gemini/skills/quark-onnx-shapeshifter-run && 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-onnx-shapeshifter-run" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run into .gemini/skills/quark-onnx-shapeshifter-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-onnx-shapeshifter-run", 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-onnx-shapeshifter-runInstalls 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-onnx-shapeshifter-run -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/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run .github/skills/quark-onnx-shapeshifter-run && 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-onnx-shapeshifter-run" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run into .github/skills/quark-onnx-shapeshifter-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-onnx-shapeshifter-run", 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-onnx-shapeshifter-run -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-onnx-shapeshifter-run --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/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run .opencode/skills/quark-onnx-shapeshifter-run && 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-onnx-shapeshifter-run" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run into .opencode/skills/quark-onnx-shapeshifter-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-onnx-shapeshifter-run", 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-onnx-shapeshifter-runApply existing ShapeShifter graph passes to an .onnx model via the quark-cli shapeshifter CLI or a ShapeShifter YAML.
Quark Onnx Shapeshifter Run is an agent skill from amd/Quark. Apply existing ShapeShifter graph passes to an .onnx model via the quark-cli shapeshifter CLI or a ShapeShifter YAML. Trigger for "run ShapeShifter on my .onnx", "apply an onnx pass", "fold batch norm / simplify / convert opset / fuse LayerNorm on my ONNX model", "preprocess my .onnx before quantization", "postprocess my quantized .onnx for XINT8/NPU". Operates on .onnx only. NOT authoring a new pass (use quark-create-shapeshifter-pass), NOT full quantization (use quark-onnx-ptq), NOT PyTorch models.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `evals/evals.json`).
It sits in AI & LLM Engineering, covering LLM inference and serving and Deep learning. It works with ONNX and PyTorch. 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml and bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From 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 Onnx Shapeshifter Run loads about 1.9k tokens when it runs. Until then it costs about 134 tokens; SKILL.md has 776 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 found no risky patterns in SKILL.md.
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). 776 words, ~1,922 tokens.
.claude/skills/quark-onnx-shapeshifter-run/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Apply one or more existing ShapeShifter ONNX passes to an .onnx model by authoring a
ShapeShifter YAML config and running the quark-cli shapeshifter CLI. ShapeShifter is Quark's
pass-based graph-transformation framework; this skill covers invoking its built-in onnx_*
passes (fold BatchNorm, simplify, convert opset, fuse LayerNorm/GELU, align scales, XINT8/NPU
adaptation, etc.) as a standalone file→file transform — separate from authoring a new pass
(quark-create-shapeshifter-pass) and from a full quantization run (quark-onnx-ptq). It exists so
graph preprocessing/postprocessing can be run and inspected on its own, and so the driving YAML is
a reusable, reviewable artifact.
.onnx model (optionally with an adjacent .onnx_data external-weights
file).docs/source/quark_shapeshifter_onnx_passes.rst..onnx path.The primary artifact is the ShapeShifter YAML config that drives the run — reusable and reviewable.
Side effect: the transformed model written to the user's output .onnx path.
input_model_path: /path/to/model.onnx
passes:
onnx_convert_opset_version:
target_opset_version: 21
onnx_simplify:
simplify: true
onnx_fold_batch_norm:
fold_batch_norm: true
output_model_path: /path/to/model_out.onnxNo JSON schema — this is a ShapeShifter CLI config (see quark/shapeshifter/utils.py), not a
cross-skill contract artifact.
.onnx path exists, capture the requested transformation(s) and
the output path. Map effect words to concrete pass names.onnx_*) and exists in
quark/shapeshifter/passes/. If the user asked to create a pass, hand off to
quark-create-shapeshifter-pass; if they asked to quantize, hand off to quark-onnx-ptq.shapeshifter_config.yaml, run the CLI, then verify the output
model loads and the transformation took effect. Summarize what changed.Write the YAML (see Outputs), then:
quark-cli shapeshifter shapeshifter_config.yamlThe CLI loads the model, runs each pass in the order listed (each on the previous pass's
output), and writes output_model_path. JSON configs also work. An explicit model config is
equivalent to the flat form and clearer when in doubt:
input_model_config:
model_type: onnx # discriminator
input_model_path: /path/to/model.onnx
passes: { ... }
output_model_path: /path/to/model_out.onnxFull catalog + config keys: docs/source/quark_shapeshifter_onnx_passes.rst. Common choices:
| Intent | Pass | Config key |
|---|---|---|
| Constant-fold / clean graph | onnx_simplify | simplify: true |
| Upgrade opset | onnx_convert_opset_version | target_opset_version: 21 |
| Fold BatchNorm into Conv/Gemm | onnx_fold_batch_norm | fold_batch_norm: true |
| Fuse LayerNorm / GELU | onnx_fuse_layer_norm / onnx_fuse_gelu | fuse_layer_norm: true / fuse_gelu: true |
| Layout NCHW→NHWC | onnx_convert_nchw_to_nhwc | convert_nchw_to_nhwc: true |
| Cross-layer equalization | onnx_cross_layer_equalization | cross_layer_equalization: true |
| Align Q/DQ scales (quantized) | onnx_align_scale | align_scale: [Concat, MaxPool] |
| XINT8/NPU adapt (quantized) | onnx_xint8_adjust / onnx_xint8_simulate | xint8_adjust: true / xint8_simulate: true |
Preprocessing passes run on the float model (before quantization); postprocessing
passes (onnx_align_scale, onnx_adjust_bias_scale, onnx_xint8_*, bfloat16 passes) expect a
quantized Q/DQ model. Do not run postprocessing passes on a float model.
Ordering tip: put opset conversion and onnx_simplify first (some fusions require a newer
opset and a cleaner graph), then folding/fusion, then per-node initializer passes.
If the goal is to run these passes as part of quantization rather than standalone, they can be
driven from the quantizer instead via extra_options={"ShapeShifterYaml": "config.yaml"} with
preprocess_passes: / postprocess_passes: groups — that path belongs to quark-onnx-ptq. Use
this skill only for the standalone file→file transform.
onnx_convert_clip_to_relu needs convert_clip_to_relu: true. A missing/false flag logs a
warning and returns the model unchanged. Re-check the config key against the docs.Pass '<name>' is not registered — misspelled pass name or a pytorch_* name. List valid
names with ls quark/shapeshifter/passes/; this skill is ONNX-only.ValueError: ... is not an ONNX pass — a pytorch_* pass slipped into the config. All passes
in one run must be ONNX.onnx_align_scale / onnx_xint8_* need a
quantized Q/DQ model. Quantize first (quark-onnx-ptq), then apply.quark-onnx-debug with the exact message.onnx_fuse_gelu (opset ≥ 20) and onnx_fuse_layer_norm
(opset ≥ 17) auto-skip on lower opsets; add onnx_convert_opset_version earlier in the list.quark/experimental/cli/shapeshifter.py (the deprecated onnx-adapter alias still
works). Config loader: quark/shapeshifter/utils.py (LoadConfigFromFileOrDict — accepts a dict,
JSON string, or YAML/JSON file path). Execution loop + model-type detection:
quark/shapeshifter/engine.py.shapeshifter() API takes a model= arg and
returns the transformed ModelProto — but this skill is the CLI file→file 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 1 other file in skills/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run of amd/Quark.
Open the folder on GitHubat commit 313cb0b
Quark Onnx Shapeshifter Run 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 Onnx Shapeshifter Run this skillamd/Quark | 182 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Model Builderqualcomm/qai-appbuilder | 247 | — | ~4.1k | Automated safety check: Pass | BSD-3-Clause | |
| Tao Port Huggingface ModelNVIDIA/skills | 3.6k | — | ~4.5k | Automated safety check: Notes | Apache-2.0 | |
| Model Inference Optimizemajiayu000/spellbook | 287 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Graphsignalgraphsignal/graphsignal | 257 | — | ~6.3k | Automated safety check: Pass | Apache-2.0 | |
| Embedded AI Deploymentmatlab/agent-skills-playground | 184 | — | ~3.4k | Automated safety check: Pass | Custom licence |
qualcomm/qai-appbuilder
QAI ModelBuilder. An agent skill from qualcomm/qai-appbuilder.
NVIDIA/skills
Integrate a HuggingFace Computer Vision model into the NVIDIA TAO Toolkit ecosystem (tao-core config, tao-pytorch trainer, tao-deploy TensorRT pipeline).
majiayu000/spellbook
优化实际模型推理链路,将正确性对齐、分段 profiling、显存与数据搬运、TensorRT/ONNX/PyTorch 后端、attention/kernel、FP8/compile、缓存与少步采样、质量回归、GPU 成本和服务验收串成同一实验闭环。当用户要求推理提速、降低显存或 GPU 成本、复现模型效果、定位 GPU 利用率低、优化图像/视频/扩散模型或自托管 LLM 时使用,提供…
graphsignal/graphsignal
Profile AI inference workloads (vLLM, SGLang, TensorRT-LLM, PyTorch, any GPU application) with the Graphsignal profiler and read the results from its local /signals JSON endpoint.
matlab/agent-skills-playground
Deploy AI models to embedded hardware using MathWorks tools (MATLAB, Simulink, Embedded Coder).
PerforatedAI/PerforatedAI
Expert in PerforatedAI library for adding artificial dendrites to PyTorch neural networks.
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
Apply existing ShapeShifter graph passes to an .onnx model via the quark-cli shapeshifter CLI or a ShapeShifter YAML. Quark Onnx Shapeshifter Run is an agent skill from amd/Quark.onnx model via the quark-cli shapeshifter CLI or a ShapeShifter YAML.
Quark Onnx Shapeshifter Run fits situations like: run ShapeShifter on my .onnx; apply an onnx pass; fold batch norm / simplify / convert opset / fuse LayerNorm on my ONNX model; preprocess my .onnx before quantization.
Run `npx skills add amd/Quark --skill quark-onnx-shapeshifter-run -a claude-code`. Or copy the skill folder (skills/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run in amd/Quark) into .claude/skills/quark-onnx-shapeshifter-run in your project. Claude Code loads it when a task matches its description.
Run `npx skills add amd/Quark --skill quark-onnx-shapeshifter-run -a codex`. Or copy the skill folder (skills/_legacy_impl/l1-atomic/onnx/quark-onnx-shapeshifter-run in amd/Quark) into .agents/skills/quark-onnx-shapeshifter-run 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-onnx-shapeshifter-run -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-onnx-shapeshifter-run, .gemini/skills/quark-onnx-shapeshifter-run, .github/skills/quark-onnx-shapeshifter-run and .opencode/skills/quark-onnx-shapeshifter-run in your project.
SKILL.md names no scripts, command-line tools or credentials: Quark Onnx Shapeshifter Run is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Quark Onnx Shapeshifter Run 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.9k tokens (SKILL.md is roughly 7.7k 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 Onnx Shapeshifter Run: Model Builder (qualcomm/qai-appbuilder, 247 stars), Tao Port Huggingface Model (NVIDIA/skills, 3.6k stars), Model Inference Optimize (majiayu000/spellbook, 287 stars) and Graphsignal (graphsignal/graphsignal, 257 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 182 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.