← Back to Skills Marketplace
weidongkl

mock

by wei dong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
138
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install mock-build
Description
Manage RPM package builds securely and reproducibly using Mock to create clean chroot environments with configurable presets and plugins.
Usage Guidance
This skill appears to be what it says: a guide for using Mock to build RPMs. Before following the instructions, consider: do not add NOPASSWD sudo entries unless you understand the risk—prefer adding the user to the mock group and using sudo with explicit, audited commands; avoid disabling GPG checks (gpgcheck=0) unless you control the repository and accept the risk; be careful with the 'sign' plugin because signing requires private keys—ensure keys remain on secure hardware or in a protected agent and are not exposed to build chroots; review any repository URLs and local paths you add; run mock actions in an isolated build host or VM to limit blast radius. If you need a higher-assurance review, provide the full (non-truncated) custom.cfg and any repository URLs or signing workflows the skill will use so those parts can be inspected in detail.
Capability Analysis
Type: OpenClaw Skill Name: mock-build Version: 1.0.0 The skill bundle provides comprehensive documentation and instructions for managing RPM build environments using the legitimate 'mock' tool. It includes standard setup procedures, such as group management and sudoers configuration for the mock binary, which are typical for build automation. All provided commands, configuration examples (e.g., custom.cfg), and repository URLs (Fedora/EPEL) are consistent with the stated purpose of RPM package building and show no signs of malicious intent, data exfiltration, or prompt injection.
Capability Assessment
Purpose & Capability
The name/description match the content: SKILL.md contains Mock installation steps, config locations, example presets, and commands for building, cleaning, and managing chroots. There are no unrelated binaries, environment variables, or credentials requested.
Instruction Scope
Instructions remain within the build domain (mock commands, config paths like /etc/mock, /var/lib/mock, ~/.config/mock.cfg). However, the docs recommend system changes with security impact — adding a user to the mock group, configuring sudoers with NOPASSWD for /usr/bin/mock, using systemd-run, and a sample repo config that sets gpgcheck=0. These are relevant to building but have clear security trade-offs that the skill does not fully warn about.
Install Mechanism
This is an instruction-only skill (no install spec). Nothing is downloaded or written by the skill bundle itself, which reduces supply-chain risk.
Credentials
The skill requests no environment variables or external credentials, which is appropriate. Operational steps do require elevated privileges (usermod, visudo edits, systemd-run), and the examples include signing plugins (which in practice require access to signing keys) and disabling gpg checks in repo config. Those privilege/secrets implications are relevant but not declared or explained in the skill.
Persistence & Privilege
The skill is not always-enabled and is user-invocable; it does not request permanent presence or claim to modify other skills or global agent settings. Autonomous model invocation is allowed (platform default) and not a separate concern here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install mock-build
  3. After installation, invoke the skill by name or use /mock-build
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release - Mock build environment support
Metadata
Slug mock-build
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is mock?

Manage RPM package builds securely and reproducibly using Mock to create clean chroot environments with configurable presets and plugins. It is an AI Agent Skill for Claude Code / OpenClaw, with 138 downloads so far.

How do I install mock?

Run "/install mock-build" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is mock free?

Yes, mock is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does mock support?

mock is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created mock?

It is built and maintained by wei dong (@weidongkl); the current version is v1.0.0.

💬 Comments