← Back to Skills Marketplace
zaneniu

Uos Packager

by ZaneNiu · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ⚠ suspicious
255
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install uos-packager
Description
基于统信规范,使用 deb 格式将应用文件打包到 /opt/apps/${appid}/,并生成符合要求的 info、desktop 和图标文件。
Usage Guidance
This skill appears to implement a local UOS/deepin .deb packager and inspector, but before using: 1) Audit any DEBIAN/* hook scripts (preinst/postinst/prerm/postrm) the tool copies or generates — these run as part of .deb install and can perform arbitrary root actions; do not install packages you haven't reviewed. 2) Note the version/metadata inconsistencies: registry shows v2.0.0 but _meta.json claims v1.0.0, and introspect.sh expects a four-part numeric version while templates produce three-part versions — you may need to update either your info version or the introspector. 3) Test packaging in a sandbox or VM first (not on a production host). 4) There is no network activity or secret access requested by the skill. If you plan to automate building/installing on multiple systems, add CI checks that validate DEBIAN hooks and version formatting to avoid accidental destructive installs.
Capability Analysis
Type: OpenClaw Skill Name: uos-packager Version: 2.0.0 The bundle is a legitimate utility for packaging applications for the UOS/deepin Linux distribution. It includes documentation (SKILL.md), a scaffolding script (template_build.sh), a build script (build_deb.sh), and a compliance checker (introspect.sh). The scripts follow standard Debian packaging practices and include explicit security checks in 'introspect.sh' to detect dangerous shell patterns like unquoted 'rm -rf' or attempts to delete root directories in maintainer scripts.
Capability Assessment
Purpose & Capability
Name/description match the included scripts: template_build.sh, build_deb.sh and introspect.sh implement scaffolding, packaging and inspection for UOS/deepin-style packages. However there are internal inconsistencies: the registry metadata lists version 2.0.0 while _meta.json contains version 1.0.0. The tooling and SKILL.md expect info files with three-part versions (e.g. 1.0.0), but introspect.sh enforces a four-part numeric version pattern (X.X.X.X) — this mismatch will cause false errors. These inconsistencies look like sloppy maintenance rather than malicious behaviour, but they may break expected flows.
Instruction Scope
SKILL.md and scripts stay within packaging scope: they create directories, run dpkg-deb, copy files, and advise on using sudo/tee for file writes. One important scope note: DEBIAN hook scripts (postinst/prerm/etc.) are part of packaging and execute on package install as root — the skill includes guidance and an introspector to detect dangerous rm -rf patterns, but the packaging process can embed arbitrary install-time commands. Users must manually review any DEBIAN/* hook content before installing built packages on production systems.
Install Mechanism
No install spec; the skill is instruction-only with included shell scripts. Nothing is downloaded from remote URLs and no external packages are automatically installed by the skill itself. Risk is low from install mechanism perspective.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The scripts operate on local filesystem and temporary directories (/tmp). This is proportionate for a packaging helper.
Persistence & Privilege
always is false and the skill is user-invocable. The skill does not request persistent presence or attempt to modify other skills or global agent settings. The main privilege consideration is that generated .deb packages (and their DEBIAN hooks) can execute as root when installed — this is a packaging/platform behavior, not the skill autonomously elevating privilege.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install uos-packager
  3. After installation, invoke the skill by name or use /uos-packager
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
重大更新:修复打包目录结构(data/opt vs opt)、新增 info 文件说明、sudo+重定向问题、版权信息边界、完整验证流程
v1.0.0
初始版本:基于统信UOS官方打包规范,支持appid规范、info文件、desktop文件、entries映射、权限控制、rm-rf安全检查、多架构支持
Metadata
Slug uos-packager
Version 2.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Uos Packager?

基于统信规范,使用 deb 格式将应用文件打包到 /opt/apps/${appid}/,并生成符合要求的 info、desktop 和图标文件。 It is an AI Agent Skill for Claude Code / OpenClaw, with 255 downloads so far.

How do I install Uos Packager?

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

Is Uos Packager free?

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

Which platforms does Uos Packager support?

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

Who created Uos Packager?

It is built and maintained by ZaneNiu (@zaneniu); the current version is v2.0.0.

💬 Comments