← 返回 Skills 市场
zaneniu

Uos Packager

作者 ZaneNiu · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ⚠ suspicious
255
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install uos-packager
功能描述
基于统信规范,使用 deb 格式将应用文件打包到 /opt/apps/${appid}/,并生成符合要求的 info、desktop 和图标文件。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install uos-packager
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /uos-packager 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
重大更新:修复打包目录结构(data/opt vs opt)、新增 info 文件说明、sudo+重定向问题、版权信息边界、完整验证流程
v1.0.0
初始版本:基于统信UOS官方打包规范,支持appid规范、info文件、desktop文件、entries映射、权限控制、rm-rf安全检查、多架构支持
元数据
Slug uos-packager
版本 2.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Uos Packager 是什么?

基于统信规范,使用 deb 格式将应用文件打包到 /opt/apps/${appid}/,并生成符合要求的 info、desktop 和图标文件。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 255 次。

如何安装 Uos Packager?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install uos-packager」即可一键安装,无需额外配置。

Uos Packager 是免费的吗?

是的,Uos Packager 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Uos Packager 支持哪些平台?

Uos Packager 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Uos Packager?

由 ZaneNiu(@zaneniu)开发并维护,当前版本 v2.0.0。

💬 留言讨论