amdresearch/ryzers/new-ryzer

Claude Code and agent skill by amdresearch/ryzers

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install amdresearch/ryzers/new-ryzer

SKILL.md

Skill: new-ryzer

Scaffold a new Ryzer Docker package with all required files.

Usage

new-ryzer <category> <package_name>
  • category — one of the existing directories under packages/ (e.g. llm, vlm, vla, robotics, vision, npu, ros, graphics, ide, adaptive-socs), or a new category name if none fits.
  • package_name — lowercase, no spaces or hyphens (e.g. ollama, genesis, mobilesam).

What is a Ryzer?

A Ryzer is a self-contained, composable Docker package for running AI/ML/robotics workloads on AMD Ryzen AI hardware. Ryzers are layered — each one builds on top of a base image, and multiple ryzers can be chained together in a single build.

Users build and run ryzers with:

bash
ryzers build <package_name> # build a single package
ryzers build pkg1 pkg2 pkg3 # chain multiple packages (each layers on the previous)
ryzers run # run the most recently built image
ryzers run bash # override CMD to get a shell

Required Output

Every ryzer package lives at packages/<category>/<package_name>/ and must contain exactly these 4 files:

packages/<category>/<package_name>/
├── Dockerfile
├── config.yaml
├── test.sh (or test.py)
└── README.md

Optional extras: demo.sh, demo.py, LICENSE, additional test files.


File Specifications

1. Dockerfile

Rules:

  • MUST start with ARG BASE_IMAGE and FROM ${BASE_IMAGE} — this enables layered composition.
  • MUST include the copyright header.
  • Set WORKDIR /ryzers before copying test/demo scripts.
  • Copy test scripts into /ryzers/test_<package_name>.<ext> and chmod +x them.
  • End with CMD /ryzers/test_<package_name>.<ext> so the default action validates the install.
  • Use EXPOSE for any ports the package serves on.
  • Keep installs minimal — only what this package needs.

Template:

dockerfile
# Copyright(C) 2026 Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: MIT
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
ENV DEBIAN_FRONTEND=noninteractive
# Install dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
<system-packages> \
&& rm -rf /var/lib/apt/lists/*
# Install Python packages
RUN pip3 install --no-cache-dir --break-system-packages \
"<package1>==<version>" \
"<package2>==<version>"
# Copy test script
WORKDIR /ryzers
COPY test.sh /ryzers/test_<package_name>.sh
RUN chmod +x /ryzers/test_<package_name>.sh
# EXPOSE <port> # if applicable
CMD /ryzers/test_<package_name>.sh

Notes:

  • Use --no-install-recommends and clean up apt lists to keep image size down.
  • Use --no-cache-dir and --break-system-packages with pip3.
  • Pin versions where possible for reproducibility.
  • If the package needs build args, declare them with ARG and document in config.yaml.
2. config.yaml

This file configures Docker build and run flags. All fields are optional — include only what the package needs. An empty/commented config.yaml is valid.

Template:

yaml
# Copyright(C) 2026 Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: MIT
### ryzers build options
# gpu_support: false # add GPU support, default is true
# x11_display: false # add X11 support, default is true
# init_image: "image_name" # The first docker image to use as a base
# default is ryzers.RYZERS_DEFAULT_INIT_IMAGE
# build_arguments: # List of ARGs to pass to the `docker build` call
# - "ARG=VALUE" # E.g. - "PYTHON_VERSION=3.12"
### ryzers run options
# environment_variables: # List of environment variables to set in the container
# - "ENV_VARIABLE=VALUE" # E.g. "PYTHONPATH=/path/to/python"
# port_mappings:
# - "host_portnum:container_portnum" # List of port mappings to expose from the docker
# E.g. "8888:8888" for JupyterLab
# volume_mappings:
# - "host_path:container_path" # List of volume mappings to mount from the host
# E.g. "/path/to/host:/path/to/container"
# docker_extra_run_flags: "run flags" # Additional flags to pass to the `docker run` command

Common patterns — uncomment/add as needed:

ScenarioWhat to add
Package serves a web UI or APIport_mappings: ["8080:8080"]
Package downloads large modelsvolume_mappings: ["$PWD/workspace/.cache/huggingface:/root/.cache/huggingface"]
Package needs extra shared memorydocker_extra_run_flags: "--shm-size=2g"
Package needs a build-time variablebuild_arguments: ["MY_VERSION=1.0"]
Package needs specific env vars at runtimeenvironment_variables: ["HSA_OVERRIDE_GFX_VERSION=11.0.0"]
Package does NOT need GPUgpu_support: false
Package does NOT need X11x11_display: false
3. test.sh (or test.py)

A quick smoke test that validates the package installed correctly. Should exit 0 on success, non-zero on failure.

Bash template (`test.sh`):

bash
#!/bin/bash
# Copyright (C) 2026 Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: MIT
echo "Running tests for <package_name>..."
<command_to_test_installation>
if [ $? -eq 0 ]; then
echo "Tests passed!"
else
echo "Tests failed!"
exit 1
fi

Python template (`test.py`):

python
#!/usr/bin/env python3
# Copyright(C) 2026 Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: MIT
import <package>
print(f"<package> version: {<package>.__version__}")
# Add a minimal functional check here

Guidelines:

  • Keep it fast — just verify the install, don't run full test suites.
  • Import the main module, print its version, maybe run one trivial operation.
  • For services (like ollama), start the server, wait briefly, then test the endpoint.
4. README.md

Template:

markdown
# <Package Name> Docker Setup
Brief description of what this package provides and what it's useful for.
## Build & Run

ryzers build <package_name> ryzers run

## References
- <link to upstream project>
- <link to docs>
Copyright(C) 2026 Advanced Micro Devices, Inc. All rights reserved.

After Creating the Package

  1. Update the main `README.md` — add a link to the new package in the "Supported Packages" table under the appropriate category row.
  1. Test locally (if possible):

``bash ryzers build <package_name> ryzers run ``


Existing Categories

CategoryDirectoryWhat goes here
LLMpackages/llm/Large language models (ollama, llamacpp, etc.)
VLMpackages/vlm/Vision-language models (gemma3, phi4, etc.)
VLApackages/vla/Vision-language-action models (openvla, gr00t, etc.)
Roboticspackages/robotics/Robotics frameworks (lerobot, act, genesis, etc.)
ROSpackages/ros/ROS 2 and related tools (ros, gazebo)
Visionpackages/vision/Computer vision (opencv, sam, ultralytics, etc.)
NPUpackages/npu/Ryzen AI NPU tools (xdna, iron, etc.)
Graphicspackages/graphics/3D/graphics engines (o3de)
IDEpackages/ide/Development environments (jupyterlab)
Adaptive SoCspackages/adaptive-socs/Adaptive SoC tools (pynq-remote)
Workshopspackages/workshops/Workshop demos

Create a new category directory if the package doesn't fit any of these.


Reference Examples

Study these existing packages for patterns:

  • Minimal package: packages/init/ryzer_blank/ — bare minimum Dockerfile
  • Typical package: packages/robotics/genesis/ — good all-around reference
  • Service with ports: packages/llm/ollama/ — port mappings, volume mounts, server test
  • Package with build args: packages/vision/opencv/ — uses ARG OPENCV_VERSION from config.yaml
  • Web UI package: packages/ide/jupyterlab/ — port mapping, environment variables

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Refreshed 17 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/amdresearch/ryzers/new-ryzer/badge)](https://verified-skill.com/skills/amdresearch/ryzers/new-ryzer)

Something wrong with this skill or its page? Tell us.