AMD Loom is a new kind of inference stack where support and optimizations for models live outside the inference server. This enables model programs to be added, optimized, and shared by anyone! loom-skills equips your Claude, Codex, or Pi agent with everything it needs to author and serve optimized model programs for AMD Strix Halo GPUs.
Quick Start
Claude Code:
/plugin marketplace add loom-fun/loom-skills
/plugin install loom@loom
Codex and Pi, using the skills CLI:
npx skills add loom-fun/loom-skills --skill '*'
Once the skill is installed, prompt your agent:
get <hf-org>/<model> working on loom-serve, optimize it, and report the performance relative to llamacpp rocm
Use
loom-skills gives your agent the following capabilities. Ask for the outcome you
want; the agent selects the relevant skills automatically. You can also invoke a
skill directly.
| Skill | Purpose |
|---|
loom | Choose the workflow and apply shared operating rules |
loom-setup | Install Loom, fetch catalog models, and manage GPU or NPU servers |
loom-demo-ui | Open a browser playground for chat, audio, images and embeddings |
loom-port-llm | Turn a GGUF model into a runnable Loom package |
loom-port-image | Port a diffusers text-to-image model to Loom, check it against diffusers on the same noise, and benchmark it against stable-diffusion.cpp |
loom-roofline | Estimate performance limits and choose targets and a budget |
loom-optimize | Improve a port's speed while checking correctness |
loom-benchmark | Validate a port, measure it against llama.cpp, and generate reports |
loom-fleet | Targeted fixes, campaigns, populating a Hugging Face org, publishing, and evaluating the skills themselves (merges the former loom-org and loom-improve) |
loom-migrate | Move packages, cards and the skills to a new hrx-loom SDK: a version entry per release pair (breaking changes, rewrite and sweep scripts, gotchas) and the fleet procedure |
loom-kb | Find the knowledge for a model, GPU and task: the router that prints which files to read |
Example requests
For an end-to-end port, optimize and report request, you get a runnable Loom model
package, a local server, and HTML and Markdown reports with supporting logs.
The report includes performance against llama.cpp, validation results and remaining limits.
Ask in plain language:
- "Install Loom and serve moonshine."
- "Port Qwen3-4B-Instruct-2507 and validate it against llama.cpp."
- "Open a browser playground for my running model."
- "Benchmark my Loom port."
- "Optimize this model."
- "Is 50% faster decode achievable for this model?"
Control the effort
The agent estimates a time budget for the whole job; optimizing an existing port
defaults to 30 minutes. Downloads, new architectures and long-context tests can
extend the estimate. Set your own time limit or target in the prompt:
- "Spend up to 3 hours porting, optimizing and reporting on this model."
- "Aim for decode 50% faster than llama.cpp, within a 2-hour budget."
Model Catalog
The authors of this project have ported, optimized, and uploaded over 50 loom-serve compatible model cards to https://huggingface.co/loom-fun. Each of these model cards was produced using loom-skills and improves upon a llama.cpp baseline for Strix Halo hardware.
Workflow details
The agent handles setup and works through four stages:
| Stage | What your agent does | Result |
|---|
| 1. Port | Reuses existing work, builds the model package, and tests basic behavior | A working model served locally |
| 2. Measure | Checks correctness and benchmarks Loom against llama.cpp | A baseline and realistic speed targets |
| 3. Optimize | Tries improvements, measures the gains, and rechecks correctness | The best verified build found within the budget |
| 4. Report | Runs final validation and records performance and limitations | A runnable package and comparison report |
The agent can download Loom from PyPI and releases from
lemonade-sdk/llamacpp-rocm without asking. It asks when a model requires license acceptance or
an executable from another source needs approval.
Model features
The skills check if the target model has any of these features, and will enable and test them if possible: