Createrepo Skill for Openclaw

A professional RPM repository management tool for creating, updating, and synchronizing YUM/DNF repositories with full metadata support.

weidongkl
v1.0.1
Mar 23, 2026
0
763
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install createrepo

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install createrepo using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Createrepo Skill?

The Createrepo skill is a professional-grade solution for RPM repository management within the Openclaw Skills ecosystem. It enables developers and system administrators to automate the creation of local YUM/DNF repositories, generate essential metadata, and handle complex synchronization tasks. This skill is particularly valuable for maintaining consistent software distribution environments across various Linux distributions like RHEL, Fedora, and Ubuntu.

Designed for efficiency, it supports incremental updates and multi-architecture merging, ensuring that repository maintenance is fast and scalable. Whether you are managing internal mirrors or distributing custom software, this skill provides the necessary tooling to handle GPG signing, checksum verification, and package group organization effectively.

Createrepo Skill Use Cases

  • Automating the creation of local YUM or DNF repositories for internal software distribution.
  • Managing multi-architecture repositories including x86_64, aarch64, and source repos.
  • Synchronizing remote repositories to create local mirrors for air-gapped environments.
  • Implementing secure package delivery through GPG signing and metadata verification.
  • Optimizing repository performance using incremental metadata updates and Delta RPMs.

How Createrepo Skill Works

  1. The user organizes RPM packages into a structured directory format, typically separated by architecture.
  2. The skill executes the createrepo_c utility to scan the directory and generate XML-based metadata (repodata).
  3. For updates, the skill uses incremental flags to only process new or changed packages, significantly reducing compute time.
  4. If synchronization is required, the reposync tool is invoked to pull updates from remote sources into the local structure.
  5. Security layers are applied by signing the repomd.xml file and individual packages using GPG keys.

Createrepo Skill Setup

To use this Openclaw Skills contribution, install the necessary system dependencies based on your distribution:

# RHEL/Fedora
dnf install createrepo_c deltarpm

# openSUSE
zypper install createrepo_c

# Debian/Ubuntu (Cross-compilation)
apt-get install createrepo-c

Createrepo Skill Data Schema & Taxonomy

The skill follows a standard RPM repository hierarchy to ensure compatibility with DNF and YUM clients:

Directory/File Description
/x86_64/Packages/ Storage for architecture-specific RPM binaries.
/repodata/ Contains generated XML metadata (primary, filelists, other).
repomd.xml The master index file for the repository metadata.
comps.xml Defines package groups for easier installation categories.
/src/ Dedicated directory for Source RPMs (SRPMS).

Createrepo Skill Advanced Features

  • Incremental Metadata Generation: Speeds up updates by reusing old metadata for unchanged packages.
  • Delta RPM Support: Creates smaller download footprints by generating patches between package versions.
  • Multi-worker Processing: Utilizes parallel processing with the --workers flag to handle large repositories.
  • GPG Automation: Integrated workflows for signing all packages and verifying repository integrity.
  • Custom Compression: Supports multiple compression types like xz for optimized metadata delivery.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*