image-composer-list-os
List all buildable OS targets and template details from image-templates/. Use when users ask what OSes, distros, arches, or image types are available.
来源信息
- 仓库
- open-edge-platform/image-composer-tool
- 最近来源活动
- 2026年8月12日 16:49
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 15
- 分支
- 23
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
2 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- image-composer-list-os
- description
- List all buildable OS targets and template details from image-templates/. Use when users ask what OSes, distros, arches, or image types are available.
- argument-hint
- optional filters like --os ubuntu --arch x86_64 --image-type raw
- user-invocable
- true
# image-composer-tool OS Availability
## Overview
Discover what can be built from `image-templates/` by listing all template metadata.
This skill answers:
- Which OS families are available
- Which distro variants are available
- Which architectures are available
- Which image types are available
- Which exact template files can be built
## When to Use
- User asks "what OS can I build?"
- User asks for available distro/arch/imageType combinations
- User needs to pick a valid template before running a build
- User wants a full inventory of all templates under `image-templates/`
## Primary Command
```bash
python3 .github/skills/image-composer-list-os/scripts/list-os-templates.py
```
## Common Filters
```bash
# Only Ubuntu templates
python3 .github/skills/image-composer-list-os/scripts/list-os-templates.py --os ubuntu
# Only x86_64 templates
python3 .github/skills/image-composer-list-os/scripts/list-os-templates.py --arch x86_64
# Only raw image templates
python3 .github/skills/image-composer-list-os/scripts/list-os-templates.py --image-type raw
# Narrow by distro + image type
python3 .github/skills/image-composer-list-os/scripts/list-os-templates.py --dist ubuntu24 --image-type raw
# Summary only
python3 .github/skills/image-composer-list-os/scripts/list-os-templates.py --summary-only
```
## Output Format
The script prints:
1. Summary counts by OS family
2. Detailed table for each template:
- template filename
- target.os
- target.dist
- target.arch
- target.imageType
- metadata.description
## Notes
- Source of truth is `image-templates/*.yml`
- Templates that fail to parse are reported with warnings
- This skill is read-only and does not modify templates
在 GitHub 查看