{
  "schemaVersion": "1.0",
  "item": {
    "slug": "safe-install",
    "name": "Safe Install",
    "source": "tencent",
    "type": "skill",
    "category": "安全合规",
    "sourceUrl": "https://clawhub.ai/mike007jd/safe-install",
    "canonicalUrl": "https://clawhub.ai/mike007jd/safe-install",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/safe-install",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=safe-install",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "bin/safe-install.js",
      "fixtures/avoid-skill/SKILL.md",
      "fixtures/avoid-skill/package.json",
      "fixtures/avoid-skill/scripts/install.sh",
      "fixtures/caution-skill/SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/safe-install"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/safe-install",
    "agentPageUrl": "https://openagent3.xyz/skills/safe-install/agent",
    "manifestUrl": "https://openagent3.xyz/skills/safe-install/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/safe-install/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Safe Install",
        "body": "带安全策略的 OpenClaw Skill 安装器。"
      },
      {
        "title": "安全流程",
        "body": "来源验证: 检查是否在 allowedSources 白名单\n模式阻断: 匹配 blockedPatterns 正则则拒绝\nClawShield 扫描: 自动扫描风险\n风险分级审批:\n\nSafe: 直接安装\nCaution: 需确认 (--yes 或交互确认)\nAvoid: 需 --force 强制安装\n\n\n快照存储: 按 hash 存储版本，支持回滚"
      },
      {
        "title": "策略配置",
        "body": ".openclaw-tools/safe-install.json:\n\n{\n  \"defaultAction\": \"prompt\",\n  \"blockedPatterns\": [\"curl\\\\s*\\\\|\\\\s*sh\"],\n  \"allowedSources\": [\"clawhub.com\", \"/local/skills\"],\n  \"forceRequiredForAvoid\": true\n}\n\ndefaultAction: allow/prompt/block\nblockedPatterns: 拒绝安装的正则列表\nallowedSources: 允许的来源白名单\nforceRequiredForAvoid: Avoid 级别是否必须 --force"
      },
      {
        "title": "用法",
        "body": "# 安装 skill（交互确认）\nnode bin/safe-install.js /path/to/skill --config ./policy.json --store ./.openclaw-tools/safe-install\n\n# 自动确认 Caution\nnode bin/safe-install.js /path/to/skill --yes\n\n# 强制安装 Avoid\nnode bin/safe-install.js /path/to/skill --force\n\n# 查看安装历史\nnode bin/safe-install.js history --format table\n\n# 回滚到上一版本\nnode bin/safe-install.js rollback my-skill\n\n# 验证策略文件\nnode bin/safe-install.js policy validate --file ./policy.json"
      },
      {
        "title": "存储结构",
        "body": ".openclaw-tools/safe-install/\n├── snapshots/{skill}/{version}/{hash}/  # 版本快照\n├── active/{skill}/                       # 当前激活版本\n├── state.json                           # 激活状态\n└── history.json                         # 安装历史"
      },
      {
        "title": "安全限制",
        "body": "单文件最大 100MB\n单 skill 最多 10000 个文件\n单 skill 最大 500MB\n路径遍历防护"
      }
    ],
    "body": "Safe Install\n\n带安全策略的 OpenClaw Skill 安装器。\n\n安全流程\n来源验证: 检查是否在 allowedSources 白名单\n模式阻断: 匹配 blockedPatterns 正则则拒绝\nClawShield 扫描: 自动扫描风险\n风险分级审批:\nSafe: 直接安装\nCaution: 需确认 (--yes 或交互确认)\nAvoid: 需 --force 强制安装\n快照存储: 按 hash 存储版本，支持回滚\n策略配置\n\n.openclaw-tools/safe-install.json:\n\n{\n  \"defaultAction\": \"prompt\",\n  \"blockedPatterns\": [\"curl\\\\s*\\\\|\\\\s*sh\"],\n  \"allowedSources\": [\"clawhub.com\", \"/local/skills\"],\n  \"forceRequiredForAvoid\": true\n}\n\ndefaultAction: allow/prompt/block\nblockedPatterns: 拒绝安装的正则列表\nallowedSources: 允许的来源白名单\nforceRequiredForAvoid: Avoid 级别是否必须 --force\n用法\n# 安装 skill（交互确认）\nnode bin/safe-install.js /path/to/skill --config ./policy.json --store ./.openclaw-tools/safe-install\n\n# 自动确认 Caution\nnode bin/safe-install.js /path/to/skill --yes\n\n# 强制安装 Avoid\nnode bin/safe-install.js /path/to/skill --force\n\n# 查看安装历史\nnode bin/safe-install.js history --format table\n\n# 回滚到上一版本\nnode bin/safe-install.js rollback my-skill\n\n# 验证策略文件\nnode bin/safe-install.js policy validate --file ./policy.json\n\n存储结构\n.openclaw-tools/safe-install/\n├── snapshots/{skill}/{version}/{hash}/  # 版本快照\n├── active/{skill}/                       # 当前激活版本\n├── state.json                           # 激活状态\n└── history.json                         # 安装历史\n\n安全限制\n单文件最大 100MB\n单 skill 最多 10000 个文件\n单 skill 最大 500MB\n路径遍历防护"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/mike007jd/safe-install",
    "publisherUrl": "https://clawhub.ai/mike007jd/safe-install",
    "owner": "mike007jd",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/safe-install",
    "downloadUrl": "https://openagent3.xyz/downloads/safe-install",
    "agentUrl": "https://openagent3.xyz/skills/safe-install/agent",
    "manifestUrl": "https://openagent3.xyz/skills/safe-install/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/safe-install/agent.md"
  }
}