/loom:loom-demo-uifrom loom
Starts a browser-based Loom Playground UI for chatting, transcribing, TTS, image generation, and embedding similarity. Proxies to running loom-serve instances and auto-discovers models.
Ships in loom. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Bundled paths ? first shell action. Before running commands, set LOOM_SKILL_DIR in the shell to the
absolute directory containing this SKILL.md, using its path from the skill listing or read tool.
In Claude Code, run export LOOM_SKILL_DIR="${CLAUDE_SKILL_DIR}" (the host substitutes the path).
In Codex, Pi or another host, export LOOM_SKILL_DIR to the loaded file's directory. Use a
shell-compatible absolute path (Git Bash on Windows). Rebind before using another skill's commands
and in every new shell; it is not the working directory or SDK root. On Windows, use native C:/...
paths for file tools; /c/... paths belong to Git Bash. Never run an unresolved placeholder. Run bundled commands by quoted absolute path; do not run scripts/... from the working directory
or change into the installed skill tree. Install the complete Loom suite: sibling paths are required.
A small FastAPI proxy (ui/server.py) + one static page (ui/index.html). The page
polls each upstream's /v1/status, groups ready models by loom.kind, and wires
the tabs:
| Tab | Model kind | What it does |
|---|---|---|
| Chat | text | Dropdown of every text model. Streams the reply, shows reasoning first, then reports TTFT and decode tok/s. Image attach is allowed when the model lists image input. |
| Transcribe | recognition | Upload a file, record from the mic, or use the bundled short.mp3. The browser converts audio to 16 kHz mono PCM. |
| Speak | speech | Plays the result and reports real-time factor. |
| Image | image | 512² or 1024², with a seed. |
| Embed | embedding | One sentence per line; shows a cosine-similarity matrix. |
The first served model of each kind is used, and missing kinds show "(none)".
loom-setup (serve.sh), for example a GPU server on
:8100 with several models and an NPU server on :8101.LOOM_UI_UPSTREAMS="gpu=http://127.0.0.1:8100,npu=http://127.0.0.1:8101" \
bash "${LOOM_SKILL_DIR}/start_ui.sh" 8090 ~/loom/.tools
It prints UI: http://127.0.0.1:8090. The log is /tmp/loom-ui-8090.log; to stop it,
run kill $(cat /tmp/loom-ui-8090.pid).localhost or https.
Remotely, use an SSH tunnel: ssh -L 8090:127.0.0.1:8090 host.LOOM_UI_UPSTREAMS takes any number of name=url pairs, and the name becomes the
route /api/<name>/…. You can add models without touching the UI: restart the
upstream loom-serve with another --model=, and within 5 s the page picks it up from
/v1/status.
curl -s localhost:8090/api/targets # ["gpu","npu"]
curl -s localhost:8090/api/gpu/v1/status | head -c 200
chromium --headless --no-sandbox --virtual-time-budget=8000 --dump-dom http://127.0.0.1:8090/ \
| grep -o '<select id="chatmodel">.*</select>\|data-t="[a-z]*"[^<]*' # dropdown + tab labels populated
Always pipe --dump-dom as shown. Snap chromium's stdout redirected straight to a
file gives 0 bytes, under /tmp and $HOME alike. If you need a file, use … --dump-dom URL | cat > ~/dom.html.
The GPU server shares a 50 GiB elastic budget (--memory_bytes=53687091200 --parameter_idle_ms=60000) across:
vision)image-int8The NPU server runs Qwen3-Embedding-0.6B (older wheel, --pool_backing=fixed).
Switching between big models takes a few seconds while weights reload.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub loom-fun/loom-skills --plugin loom11 skills in this plugin
/loomEntry point for AMD Loom work (hrx-loom SDK, loom-serve, loom-fetch, Loom IR kernels) on AMD GPUs/NPUs such as Strix Halo — installing, serving catalog models, the demo web UI, porting a new LLM to Loom, optimizing it while preserving correctness, and benchmarking against llama.cpp. Use whenever the user mentions Loom, loom-serve, loom-fetch, hrx-loom, .loom files, or evaluating/porting models for Loom./loom-benchmarkCorrectness and performance methodology for Loom models vs llama.cpp ROCm — golden token-by-token comparison with log-prob near-tie analysis, a multi-turn tool-calling (agent) gate, a native-context admission check, batching consistency, decode/prefill/long-context/concurrency throughput on real-text workloads, and how to report results honestly (tables, executive artifact). Use for "benchmark", "compare with llama.cpp", "is the port correct", "performance report"./loom-fleetRuns loom-skills fleet work - a targeted fix to one model, family, GPU or quant (scoped change, sampled DevLab A/B, promotion), a campaign (new GPU, many models, a refactor, regenerating cards), populating or extending a Hugging Face org with new models (pick the top models, port and publish each, sweep gates on DevLab), publishing, staging and promoting regenerated cards, and improving the loom skills themselves against the KPIs with fresh-agent trials. Use for "improve the loom skill", "make the loom skill faster or more reliable", "targeted fix", "campaign", "populate the org", "polish the HF org", "which models still need cards", "regenerate cards", "publish to staging", "fresh-agent trial", or any change to the skills in this repo./loom-kbRouter for the Loom knowledge base - which facts to read for a given model, GPU and task. Run `kb.py route` with a model slug or config, GGUF or arch name plus device and topic, then read exactly the files it prints (device, quant, arch family, facets, topic). Use before porting, optimizing, benchmarking or rooflining any model, when asking "what is special about gemma4 / qwen35moe / flint", "which tricks apply to this model on the R9700", or when adding a model family, facet, device or scope rule to the knowledge base./loom-migrateMigrates the loom-skills kit, fleet of model cards and skills to a new hrx-loom SDK release - research the release, apply the version entry's mechanical steps (IR renames, program ABI, card schema, install/pin), prove the fleet parses and links under the new SDK, A/B the old cards against the new packages on DevLab, publish qualifying cards directly and stage regressions, and record simplifications and optimization opportunities. Holds one entry per adjacent SDK pair (v0.1.0 to v0.2.0 first) and sweep and rewrite scripts. Use for "new Loom SDK", "migrate to hrx-loom X", "SDK upgrade", "port the fleet to a new SDK", "my package fails to parse or load on the new SDK", or "what changed between hrx-loom versions"./loom-optimizeMake a Loom LLM port faster (decode, prefill, long context, concurrency) while proving it stays correct — targets from the best published numbers and the roofline, real per-kernel profiles (HAL dispatch timestamps), bucket budgets, fuse-by-default designs tried in parallel, perf-only iteration rounds with gates once on the winner, and a lane that ends only when every lever has a measured stop reason. Use for "speed up", "beat llama.cpp / vLLM / leader X", "SOTA", "optimize prefill/decode" on a Loom model, or an optimization lane of a campaign.Other plugins' skills for the same job