← 返回
未分类 中文

Linux installer

Installs, launches, and uninstalls Linux desktop apps by resolving the safest supported source first, then running a local helper CLI. Use when the user asks...
先解析安全源,运行本地CLI安装、启动、卸载Linux桌面应用。用户请求时使用。
baladoodle baladoodle 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 551
下载
💾 9
安装
1
版本
#latest

概述

Linux Installer

What This Skill Does

Resolves the best supported install path for a Linux desktop app, explains the recommendation briefly, asks for confirmation before any system change, performs the install, and returns the exact launch or uninstall command.

If the chosen source needs missing tooling like snapd, flatpak, wine, or winetricks, the helper can bootstrap that tooling first through the host's native package manager.

It can also return curated community workarounds when no official Linux package exists. These must be clearly labeled and require an extra explicit confirmation before install.

When no curated or official path exists, the helper may surface unreviewed community suggestions from public package metadata. These are research results, not trusted install metadata.

Default source preference is:

  1. Flatpak
  2. Snap
  3. Native package manager
  4. openSUSE zypper
  5. Arch pacman
  6. Native Arch AUR helper
  7. Nix profile install
  8. AppImage
  9. Curated official manual/archive fallback
  10. Curated Wine/manual fallback

Community workarounds are only allowed when they are explicitly curated in the catalog.

Unreviewed community suggestions may be installed only when:

  1. skills.entries.linux-installer.unsafeCommunityInstalls is enabled in openclaw.json
  2. the user explicitly confirms the unreviewed install
  3. the install command includes --allow-unsafe

Prerequisites

Before using this skill, ensure the helper CLI is installed:

cd ~/.openclaw/skills/linux-installer
pip install -e .

Workflow

If you are expanding curated coverage, use CATALOG_GUIDE.md to decide which apps belong in catalog.json and which should rely on dynamic discovery.

When the user asks to install an app:

  1. Resolve the best path:
linux-installer resolve "gimp"
  1. Summarize the result:
    • chosen source
    • package id
    • whether it is an official package, fallback, or community workaround
    • whether it is curated or unreviewed
    • missing tooling, if any
    • tooling bootstrap command, if any
    • source URL, if available
    • public summary and any best-effort review note
    • exact install command
    • launch command
    • warnings or fallbacks
  1. Ask for confirmation before installing.
  1. If the selected result is a community workaround, ask for a second explicit confirmation that acknowledges it is unofficial/community-maintained.
  1. If the selected result is an unreviewed suggestion, explain that:
    • it was discovered dynamically from public package metadata
    • it is not maintainer-reviewed
    • opt-in support for unreviewed suggestions must be enabled first
    • it requires a separate unreviewed-install confirmation
  1. After confirmation, run:
linux-installer install "gimp" --source flatpak --package org.gimp.GIMP --yes

For a community workaround, include --allow-community:

linux-installer install "roblox" --source flatpak --package org.vinegarhq.Sober --yes --allow-community

For an unreviewed suggestion, include --allow-unsafe and ensure opt-in support for unreviewed suggestions is enabled in openclaw.json.

  1. Return the launch command:
linux-installer run-info "gimp" --source flatpak --package org.gimp.GIMP
  1. Optionally launch the installed app:
linux-installer run "gimp" --source flatpak --package org.gimp.GIMP
  1. For removal, prefer the helper's uninstall command. If the result is a manual or unsafe removal path, return the command or manual steps instead of improvising:
linux-installer uninstall "gimp" --source flatpak --package org.gimp.GIMP --yes

Rules

  • Never install anything before the user confirms.
  • Never install a community workaround without a second explicit confirmation.
  • Never install an unreviewed suggestion unless opt-in support is enabled and the user explicitly accepts the unreviewed path.
  • Prefer the helper CLI output over ad hoc shell reasoning.
  • If resolve says no safe automated path was found, do not invent install steps.
  • Manual/archive fallbacks may surface curated manual_steps, but the helper must not auto-download or auto-run them.
  • Manual/archive and other unsafe removal flows may surface manual_steps, but the helper must not auto-delete them unless the uninstall path is explicitly curated and safe.
  • Wine/manual flows are higher risk and should be presented as fallback options, not defaults.
  • Community workarounds must be presented as unofficial, curated alternatives.
  • Unreviewed suggestions must be presented as research findings, not trusted recommendations.
  • Always tell the user the exact command to launch the app after install.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 19:08 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

Tmux

steipete
通过发送按键和抓取窗格输出,远程控制交互式 CLI 的 tmux 会话。
★ 45 📥 29,443
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,858
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,863