Skip to content

[Skill proposal] <optimizing-models-with-quark: install Quark's model optimization skills on demand> #139

Description

@amd-zhaofeng

Proposed skill name

optimizing-models-with-quark

Does something like this already exist?

Yes — as a similar skill in another catalog or repo

Is AMD the only credible institution to create this skill?

Yes

Where should this skill live?

Path A: incubated in this repo (may move to a product repo and continbue to be registered here)

Catalog focus area

Other / not sure

Skill description

Background

AMD Quark (amd/Quark, pip install amd-quark) is AMD's model optimizer: it takes a trained PyTorch or ONNX model and produces a smaller, faster version for AMD hardware through quantization (FP8, INT8, INT4, MX formats), pruning and quantization-aware training.

The catalog has no model optimization skill today. When a user says "quantize this model to FP8", there is nothing to offer. amd-skill-finder (#119) already routes quantization questions to amd/Quark correctly, but all it can return is a repository address — the agent still has to read the docs and guess the flags. Meanwhile Quark already ships skills of its own, and users of this catalog cannot reach them.

We propose Path A, authoring the skill in this repo. It is one entry point, and the Quark skill bodies are delivered through pip rather than vendored, so there is no copy in the catalog that can go stale.

What the skill does

optimizing-models-with-quark is an entry-point skill. It optimizes nothing itself; it connects the user to Quark's own skills.

  1. Recognize — establish that this is a model optimization task and that Quark is the right tool.
  2. Install — with the user's consent, run pip install amd-quark, then tell agent where to find skills in amd-quark (https://github.com/amd/Quark/tree/release/0.12/.claude/skills)
  3. Hand off — tell the user to restart the agent. After a restart the skills are discovered normally and routing is handled by the framework. If the user wants to continue right away, the entry-point skill can read the matching file directly (.claude/skills/quark-torch-ptq/SKILL.md, for example) and carry on. That is a one-off fallback: it puts the file contents in context but does not activate the skill, so a later question still will not route to a Quark skill on its own.

The catalog maintains this single entry point. The skill bodies are delivered through pip, so there is no vendored copy that can go stale.

Note: As of amd-quark v0.12, the skills ship in the repository's .claude/ directory. In v0.13 they will be reorganized into the quark package itself, installable via pip. This skill will be updated incrementally once amd-quark v0.13 is released.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions