Aipc Toolkit
qualcomm/qai-appbuilder
AIPC, AI Porting Conversion. An agent skill from qualcomm/qai-appbuilder.
Validate Quark ONNX quantization output using four lightweight checks: auxiliary file copy alignment, expected non-quantized initializer MD5 byte-identity (inline rawdata + external-data byte…
$ npx skills add amd/Quark --skill quark-onnx-result-validator -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install amd/Quark quark-onnx-result-validator --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/onnx/quark-onnx-result-validator .claude/skills/quark-onnx-result-validator && 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-result-validator" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l1-atomic/onnx/quark-onnx-result-validator into .claude/skills/quark-onnx-result-validator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-onnx-result-validator", 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/onnx/quark-onnx-result-validatorType 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-result-validator -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install amd/Quark quark-onnx-result-validator --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/onnx/quark-onnx-result-validator .agents/skills/quark-onnx-result-validator && 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-result-validator" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l1-atomic/onnx/quark-onnx-result-validator into .agents/skills/quark-onnx-result-validator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-onnx-result-validator", 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-result-validator -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install amd/Quark quark-onnx-result-validator --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/onnx/quark-onnx-result-validator .cursor/skills/quark-onnx-result-validator && 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-result-validator" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l1-atomic/onnx/quark-onnx-result-validator into .cursor/skills/quark-onnx-result-validator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-onnx-result-validator", 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/onnx/quark-onnx-result-validator--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-result-validator -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install amd/Quark quark-onnx-result-validator --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/onnx/quark-onnx-result-validator .gemini/skills/quark-onnx-result-validator && 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-result-validator" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l1-atomic/onnx/quark-onnx-result-validator into .gemini/skills/quark-onnx-result-validator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-onnx-result-validator", 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-result-validatorInstalls 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-result-validator -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/onnx/quark-onnx-result-validator .github/skills/quark-onnx-result-validator && 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-result-validator" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l1-atomic/onnx/quark-onnx-result-validator into .github/skills/quark-onnx-result-validator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-onnx-result-validator", 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-result-validator -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-result-validator --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/onnx/quark-onnx-result-validator .opencode/skills/quark-onnx-result-validator && 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-result-validator" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l1-atomic/onnx/quark-onnx-result-validator into .opencode/skills/quark-onnx-result-validator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-onnx-result-validator", 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-result-validatorValidate Quark ONNX quantization output using four lightweight checks: auxiliary file copy alignment, expected non-quantized initializer MD5 byte-identity (inline rawdata + external-data byte…
Quark Onnx Result Validator is an agent skill from amd/Quark. Validate Quark ONNX quantization output using four lightweight checks: auxiliary file copy alignment, expected non-quantized initializer MD5 byte-identity (inline rawdata + external-data byte ranges), model metadata equality after stripping quantization-only opset entries / Quark domains, and fuzzy node-pattern + op-type + dtype summaries with QDQ / com.amd.quark custom-op presence. Intended for post-quantization inspection of model.onnx (with or without model.onnxdata). Trigger for "validate ONNX quantization…
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `quant_validation_onnx.py` and `run_validation.py`).
It sits in AI & LLM Engineering, covering LLM inference and serving. It works with ONNX. 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.
Ships script files (Python), which the agent can run.
Shell commands in SKILL.md call:
python3From 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 Result Validator loads about 2.5k tokens when it runs. Until then it costs about 175 tokens; SKILL.md has 766 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). 766 words, ~2,534 tokens.
.claude/skills/quark-onnx-result-validator/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Run four lightweight checks on a completed Quark ONNX quantization output. Reads only ONNX graph
headers (onnx.load(..., load_external_data=False)), initializer metadata, and small auxiliary
files. Raw payload bytes are only touched for the bounded MD5 spot-check (and only for tensors
matched by the user's exclude rules). Results feed a structured validation_report.md.
All scripts (quant_validation_onnx.py, run_validation.py) live in the same directory as this
SKILL.md, under .claude/skills-impl/l1-atomic/onnx/quark-onnx-result-validator/.
Resolve SKILL_DIR from the repo root before running any command:
SKILL_DIR=.claude/skills-impl/l1-atomic/onnx/quark-onnx-result-validatorrun_validation.py writes JSON to stdout; quant_validation_onnx.py diagnostics go to
stderr with the prefix [quant-validation-onnx][tag]. Never treat stderr as structured output.
Requires the onnx Python package in the supported range (onnx>=1.21.0,<=1.22.0, per
requirements.txt).
session_context.json, quant_plan.json (for exclude / op-type filters and model paths)validation_report.mdshared/contracts/validation_report.schema.json| Field | Source | Required |
|---|---|---|
source_model_path | user or session_context | Step 2 + Step 3 |
quantized_model_path | user or run_manifest | All steps |
source_model_dir | parent dir of source model (or session_context) | Step 1 |
quantized_model_dir | parent dir of quantized model (or run_manifest) | Step 1 |
quant_config | quant_plan.json or user-supplied JSON | Step 2 only |
quant_config for step 2 supports the following keys (all optional unless noted):
| Key | Purpose | Default |
|---|---|---|
exclude | Glob list of initializer names expected to remain unchanged | — |
exclude_initializers | Alias of exclude | — |
nodes_to_exclude | Node names whose initializer inputs should remain unchanged | — |
op_types_to_quantize | When set, any initializer not wired into one of these op types becomes an implicit exclude | — |
max_samples | Random spot-check cap for large models | 200 |
random_seed / seed | Deterministic sampling seed | None |
At least one of exclude / exclude_initializers / nodes_to_exclude / op_types_to_quantize
must be provided; otherwise step 2 is marked skipped.
validation_report.md with one section per executed step. Unexecuted steps are marked skipped.
SKILL_DIR, source_model_path (if available), and quantized_model_path are
resolvable.python3 "$SKILL_DIR/run_validation.py" self-testvalidation_report.md.ok: false steps with their errors / mismatches.| Order | Function | CLI subcommand | Purpose |
|---|---|---|---|
| 1 | check_auxiliary_files_copied | auxiliary | Compare non-.onnx/non-.onnx_data auxiliary files between source and quantized directories |
| 2 | check_non_quantized_initializers_md5_unchanged | md5 | MD5 spot-check initializer payload bytes (inline raw_data or external-data byte ranges) for tensors expected to remain non-quantized |
| 3 | check_model_metadata_equal_except_quantization | metadata | Compare IR version, producer, default-domain opset, and graph input/output signatures after stripping Quark-injected custom-op domains |
| 4 | get_fuzzy_node_op_summary | fuzzy | Header-only summary: op-type histogram, canonical node-name patterns, initializer dtype counts per pattern, QDQ / com.amd.quark custom-op presence |
Run in cost order: 4 → 1 → 3 → 2.
SKILL_DIR=.claude/skills-impl/l1-atomic/onnx/quark-onnx-result-validator
python3 "$SKILL_DIR/run_validation.py" self-testExits 0 and prints exported symbols self-test (__all__): ok on success.
SKILL_DIR=.claude/skills-impl/l1-atomic/onnx/quark-onnx-result-validator
# 4. get_fuzzy_node_op_summary (cheapest — header only)
python3 "$SKILL_DIR/run_validation.py" fuzzy \
--model-path ./quantized/model.onnx
# 1. check_auxiliary_files_copied
python3 "$SKILL_DIR/run_validation.py" auxiliary \
--source-model-dir ./source-dir --quantized-model-dir ./quantized-dir \
--ignore 'README*'
# 3. check_model_metadata_equal_except_quantization
python3 "$SKILL_DIR/run_validation.py" metadata \
--source-model-path ./source/model.onnx \
--quantized-model-path ./quantized/model.onnx
# 2. check_non_quantized_initializers_md5_unchanged (most expensive)
python3 "$SKILL_DIR/run_validation.py" md5 \
--source-model-path ./source/model.onnx \
--output-model-path ./quantized/model.onnx \
--quant-config '{"exclude":["*.bias","embeddings.*.weight"],"max_samples":50}'For md5, --quant-config accepts a JSON string or a path to a JSON file.
If SKILL_DIR or model paths cannot be resolved, mark the affected step skipped.
from quant_validation_onnx import (
check_auxiliary_files_copied,
check_non_quantized_initializers_md5_unchanged,
check_model_metadata_equal_except_quantization,
get_fuzzy_node_op_summary,
)All four functions are in __all__. Other public-named helpers are internal utility surface.
| Failure | Recovery |
|---|---|
| Self-test exits non-zero | Report script integrity failure; do not run further steps |
onnx import fails | Hand off to quark-onnx-install; do not run any step |
source_model_path missing | Mark steps 2, 3 as skipped; run steps 1, 4 if quantized path is available |
quant_config missing exclude rules | Mark step 2 as skipped |
External-data file missing alongside .onnx | Recorded under external_data_missing; affected tensors marked read_error in step 2; step 4 still runs against the graph proto |
| Quantized model has zero QDQ / Quark-custom nodes | Step 4 emits a high-severity warning (quantization_did_not_run) |
## Validation Report — quark-onnx-result-validator
**Step 4 — fuzzy node / op summary**: ok / FAIL / skipped
- op types: <count>, QDQ nodes: <count>, com.amd.quark nodes: <count>
- Notable: <pattern> → <op_type_counts>
- Quantization signal: present / **MISSING** / partial
**Step 1 — auxiliary files**: ok / FAIL / skipped
- missing: <count>, mismatched: <count>, extra: <count>
**Step 3 — model metadata**: ok / FAIL / skipped
- ir_version: <source> / <quantized>
- opset_import (default domain): <source> / <quantized>
- input/output signature diffs: <count>
- Quark-injected opset domains: <list>
**Step 2 — MD5 spot-check (initializers)**: ok / FAIL / skipped
- candidates: <count>, checked: <count>, sampled: true/false
- mismatches: <count>
- external_data_missing: <count>*: Conv_12 → Conv_*, model.layer.3.Conv →
model.layer.*.ConvConv1, MatMul_w2 stay unchangedop_type_counts and dtype_counts are aggregated per pattern; multiple op types / dtypes in one
pattern signals partial or mixed-precision quantizationHeuristics only — not mandatory pass/fail rules:
INT8 / UINT8; nodes QuantizeLinear / DequantizeLinearUINT8 packed-low-nibble shape; MatMulNBits opcom.amd.quark opset domain present; nodes
BFPQuantizeDequantize / MXQuantizeDequantize / ExtendedQuantizeLinearFLOAT16 / BFLOAT16 and no QDQ neighborstensor.raw_data; external-data tensors are read by (offset, length) from the external-data file declared in tensor.external_data.config.json equivalent — opset comparison strips Quark's custom domains before equality so
the only allowed diff is the addition of com.amd.quark (or similar) on the quantized side.op_type_counts / dtype_counts. Additionally surfaces
whether quantization actually ran (QuantizeLinear / com.amd.quark presence).© 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 2 other files in .claude/skills-impl/l1-atomic/onnx/quark-onnx-result-validator of amd/Quark.
Open the folder on GitHubat commit 313cb0b
Quark Onnx Result Validator 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 Result Validator this skillamd/Quark | 181 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Aipc Toolkitqualcomm/qai-appbuilder | 247 | — | ~5.7k | Automated safety check: Notes | Custom licence | |
| Matlab Use Visual Inspectionmatlab/matlab-agentic-toolkit | 1.1k | — | ~3.1k | Automated safety check: Pass | Custom licence | |
| Onboard Jetpack5 Inference BackendsEGalahad/sim2real | 145 | — | ~1.1k | Automated safety check: Pass | None | |
| Model Builderqualcomm/qai-appbuilder | 247 | — | ~4.1k | Automated safety check: Pass | BSD-3-Clause | |
| Engine Performancescragnog/HOT-Step-CPP | 173 | — | ~4.9k | Automated safety check: Pass | MIT |
qualcomm/qai-appbuilder
AIPC, AI Porting Conversion. An agent skill from qualcomm/qai-appbuilder.
matlab/matlab-agentic-toolkit
Build machine vision inspection systems with MATLAB Visual Inspection Toolbox.
EGalahad/sim2real
Install, convert, debug, and benchmark sim2real ONNX GPU and TensorRT inference backends on onboard JetPack 5 Orin hosts such as g1-cable.
qualcomm/qai-appbuilder
QAI ModelBuilder. An agent skill from qualcomm/qai-appbuilder.
scragnog/HOT-Step-CPP
Explains where HOT-Step generation time goes (LM/DiT/VAE), how the TensorRT paths activate, how to benchmark from logs, and which knobs trade quality for speed.
maziyarpanahi/openmed
Run OpenMed models fully on-device with the MLX (Apple Silicon), CoreML (iOS/macOS), or ONNX/WebGPU (cross-platform/browser) backends, including convert-quantize-run workflows.
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…
Works with
Categories
Validate Quark ONNX quantization output using four lightweight checks: auxiliary file copy alignment, expected non-quantized initializer MD5 byte-identity (inline rawdata + external-data byte…. Quark Onnx Result Validator is an agent skill from amd/Quark.quark custom-op presence.
Quark Onnx Result Validator fits situations like: validate ONNX quantization result; check quantized .onnx output; verify ONNX initializers; did QDQ insertion happen.
Run `npx skills add amd/Quark --skill quark-onnx-result-validator -a claude-code`. Or copy the skill folder (.claude/skills-impl/l1-atomic/onnx/quark-onnx-result-validator in amd/Quark) into .claude/skills/quark-onnx-result-validator in your project. Claude Code loads it when a task matches its description.
Run `npx skills add amd/Quark --skill quark-onnx-result-validator -a codex`. Or copy the skill folder (.claude/skills-impl/l1-atomic/onnx/quark-onnx-result-validator in amd/Quark) into .agents/skills/quark-onnx-result-validator 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-result-validator -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-result-validator, .gemini/skills/quark-onnx-result-validator, .github/skills/quark-onnx-result-validator and .opencode/skills/quark-onnx-result-validator in your project.
Going by SKILL.md and its folder, Quark Onnx Result Validator needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.
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 Result Validator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k 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 Result Validator: Aipc Toolkit (qualcomm/qai-appbuilder, 247 stars), Matlab Use Visual Inspection (matlab/matlab-agentic-toolkit, 1.1k stars), Onboard Jetpack5 Inference Backends (EGalahad/sim2real, 145 stars) and Model Builder (qualcomm/qai-appbuilder, 247 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.