Graphsignal
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.
Collect and normalize environment facts (OS, Python, GPU, CUDA/ROCm, container state) before Quark installation or PTQ planning.
$ npx skills add amd/Quark --skill quark-env-preflight -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install amd/Quark quark-env-preflight --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/l0-foundation/shared/quark-env-preflight .claude/skills/quark-env-preflight && 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-env-preflight" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l0-foundation/shared/quark-env-preflight into .claude/skills/quark-env-preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-env-preflight", 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/l0-foundation/shared/quark-env-preflightType 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-env-preflight -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install amd/Quark quark-env-preflight --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/l0-foundation/shared/quark-env-preflight .agents/skills/quark-env-preflight && 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-env-preflight" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l0-foundation/shared/quark-env-preflight into .agents/skills/quark-env-preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-env-preflight", 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-env-preflight -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install amd/Quark quark-env-preflight --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/l0-foundation/shared/quark-env-preflight .cursor/skills/quark-env-preflight && 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-env-preflight" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l0-foundation/shared/quark-env-preflight into .cursor/skills/quark-env-preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-env-preflight", 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/l0-foundation/shared/quark-env-preflight--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-env-preflight -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install amd/Quark quark-env-preflight --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/l0-foundation/shared/quark-env-preflight .gemini/skills/quark-env-preflight && 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-env-preflight" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l0-foundation/shared/quark-env-preflight into .gemini/skills/quark-env-preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-env-preflight", 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-env-preflightInstalls 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-env-preflight -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/l0-foundation/shared/quark-env-preflight .github/skills/quark-env-preflight && 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-env-preflight" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l0-foundation/shared/quark-env-preflight into .github/skills/quark-env-preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-env-preflight", 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-env-preflight -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-env-preflight --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/l0-foundation/shared/quark-env-preflight .opencode/skills/quark-env-preflight && 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-env-preflight" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l0-foundation/shared/quark-env-preflight into .opencode/skills/quark-env-preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-env-preflight", 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-env-preflightCollect and normalize environment facts (OS, Python, GPU, CUDA/ROCm, container state) before Quark installation or PTQ planning.
Quark Env Preflight is an agent skill from amd/Quark. Collect and normalize environment facts (OS, Python, GPU, CUDA/ROCm, container state) before Quark installation or PTQ planning. Use this skill whenever a downstream skill needs confirmed hardware and toolchain facts, when the user mentions their setup, when you need to decide between CUDA/ROCm/CPU install paths, or when any accelerator-related assumption is unconfirmed. Also trigger when the user says things like "check my environment", "what GPU do I have", "is my setup ready for Quark", or before any…
Its SKILL.md is about 1.4k 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 LLM inference and serving and Deep learning. It works with CUDA, Python, NVIDIA AI Platform and PyTorch. The licence is MIT.
4 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:
pythonpipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
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 Env Preflight loads about 1.4k tokens when it runs. Until then it costs about 147 tokens; SKILL.md has 528 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). 528 words, ~1,413 tokens.
.claude/skills/quark-env-preflight/SKILL.md (or your agent's skills folder).Collect raw environment facts and normalize them into env_context.json so that downstream skills (install, model intake, PTQ planning) can make correct decisions without guessing. This skill is the single source of truth for hardware and toolchain state — getting it wrong here cascades into wrong install commands, incompatible packages, or failed quantization runs.
Carries OS, Python, and hardware facts collected at preflight.
Schema: env_context.schema.json
{
"environment": {
"os": "linux",
"python": "3.13",
"containerized": false
},
"hardware": {
"accelerator": "nvidia-cuda",
"cuda_version": "12.6",
"gpu_count": 1,
"gpu_model": "RTX 4090",
"memory_gb": 24
}
}env_context.json is for raw machine facts only — no installation results, no user goal, no open questions. Installed PyTorch and Quark versions live in pytorch_install_result.json and quark_install_result.json respectively. Unresolved questions belong in session_context.json (owned by quark-torch-router).
>=3.11, <3.14 (pyproject.toml says >=3.11, setup.py says >=3.9.0,<3.14)ROCM_PATH, HIP_VISIBLE_DEVICES, rocm-smi output, ROCm version (supported: 6.4, 7.0, 7.1)CUDA_HOME, CUDA_VISIBLE_DEVICES, nvidia-smi output, CUDA version (supported: 11.8, 12.6, 12.8, 13.0)cpu when the user explicitly requests CPU-only OR no GPU evidence exists after thorough checkingamd-rocm, nvidia-cuda, cpu, unknownpython -c "import quark; print(quark.__version__)" — current version is 0.12torch.version.cuda, torch.version.hip)torch and accelerator backend are from the same family (never mix CUDA torch with ROCm environment)# OS and Python
python --version
uname -a # or systeminfo on Windows
# GPU detection (try both, one will fail gracefully)
nvidia-smi --query-gpu=name,memory.total,driver_version --format=csv,noheader 2>/dev/null
rocm-smi --showproductname 2>/dev/null
# Environment variables
echo $CUDA_HOME $CUDA_VISIBLE_DEVICES $ROCM_PATH $HIP_VISIBLE_DEVICES
# Existing packages
pip show amd-quark torch 2>/dev/null
python -c "import torch; print(torch.__version__, torch.version.cuda, torch.version.hip)"quark-install or quark-torch-quant-plan.CUDA_HOME is also set, trust the user.CUDA_VISIBLE_DEVICES, ROCM_PATH, or HIP_VISIBLE_DEVICES as insufficient evidence for cpu. Keep the accelerator as unknown until something definitive is found.unknown to cpu unless the user explicitly says CPU-only or detection confirms zero GPU hardware.accelerator: amd-rocm, rocm_version: unknown.env_context.json. Hand any unresolved items back to the caller (typically quark-torch-router) so they land in session_context.json under open_questions.accelerator=unknown, and explain the conflict.nvidia-smi), report exactly which signal is blocked and suggest the smallest manual check: "Run nvidia-smi in a terminal with GPU access and paste the output."3.11–3.13, flag it immediately — Quark will not work.© 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/l0-foundation/shared/quark-env-preflight of amd/Quark.
Open the folder on GitHubat commit 313cb0b
Quark Env Preflight 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 Env Preflight this skillamd/Quark | 181 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Graphsignalgraphsignal/graphsignal | 257 | — | ~6.2k | Automated safety check: Pass | Apache-2.0 | |
| Hyperpod Version Checkerawslabs/agent-plugins | 912 | 1 repos | ~910 | Automated safety check: Pass | Apache-2.0 | |
| Magpie Kernel Evaluatoramd/skills | 395 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Spark Environment Setupwshobson/agents | 40k | — | ~2k | Automated safety check: Pass | MIT | |
| Torch TensorrtVectorSpaceLab/AREX-Skill | 328 | — | ~1.5k | Automated safety check: Pass | BSD-3-Clause |
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.
awslabs/agent-plugins
Check and compare software component versions on SageMaker HyperPod cluster nodes - NVIDIA drivers, CUDA toolkit, cuDNN, NCCL, EFA, AWS OFI NCCL, GDRCopy, MPI, Neuron SDK (Trainium/Inferentia)…
amd/skills
Benchmarks LLM inference and drives GPU kernel optimization with Magpie.
wshobson/agents
Set up a working ML training/inference environment on NVIDIA DGX Spark (GB10, aarch64, CUDA 13).
VectorSpaceLab/AREX-Skill
A skill your agent uses for Torch-TensorRT tasks: compiling PyTorch models with TensorRT, dynamic-shape/export workflows, runtime optimization, Triton/C++/distributed deployment, debugging…
TongmingLAIC/AKO4ALL
Drive an agentic loop that iteratively optimizes a GPU kernel for maximum speedup.
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
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…
amd/Quark
Diagnose failed Quark ONNX installation, calibration, quantization, custom-op compilation, or export attempts.
Works with
Categories
Collect and normalize environment facts (OS, Python, GPU, CUDA/ROCm, container state) before Quark installation or PTQ planning. Quark Env Preflight is an agent skill from amd/Quark. Collect and normalize environment facts (OS, Python, GPU, CUDA/ROCm, container state) before Quark installation or PTQ planning.
Quark Env Preflight fits situations like: A downstream skill needs confirmed hardware and toolchain facts; the user mentions their setup; you need to decide between CUDA/ROCm/CPU install paths; any accelerator-related assumption is unconfirmed.
Run `npx skills add amd/Quark --skill quark-env-preflight -a claude-code`. Or copy the skill folder (.claude/skills-impl/l0-foundation/shared/quark-env-preflight in amd/Quark) into .claude/skills/quark-env-preflight in your project. Claude Code loads it when a task matches its description.
Run `npx skills add amd/Quark --skill quark-env-preflight -a codex`. Or copy the skill folder (.claude/skills-impl/l0-foundation/shared/quark-env-preflight in amd/Quark) into .agents/skills/quark-env-preflight 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-env-preflight -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-env-preflight, .gemini/skills/quark-env-preflight, .github/skills/quark-env-preflight and .opencode/skills/quark-env-preflight in your project.
Going by SKILL.md and its folder, Quark Env Preflight needs the command-line tools its instructions call (python and pip). Our summary lists: Python 3; Docker.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. 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 Env Preflight 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.4k tokens (SKILL.md is roughly 5.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 Env Preflight: Graphsignal (graphsignal/graphsignal, 257 stars), Hyperpod Version Checker (awslabs/agent-plugins, 912 stars), Magpie Kernel Evaluator (amd/skills, 395 stars) and Spark Environment Setup (wshobson/agents, 40k 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.