← 返回
未分类

Skill Install Guard|技能安装守门员

Performs a five-step guarded skill install with checks for existence, local state, risk, execution, and post-install verification.
执行五步受保护技能安装,包括存在性、本地状态、风险、执行及安装后验证。
wuyunting555 wuyunting555 来源
未分类 clawhub v0.4.3 1 版本 100000 Key: 无需
★ 0
Stars
📥 368
下载
💾 0
安装
1
版本
#latest

概述

Skill Install Guard|技能安装守门员

Use this skill when the user wants safer, more consistent skill installation with clear go/no-go decisions and verifiable post-install results.

What it does

This skill enforces a fixed five-step installation guardrail:

  1. Source check
    • Collects key source trust signals (author, activity, update freshness, public feedback when available).
    • Marks unavailable data explicitly so risk decisions stay transparent.
  1. Local-state check
    • Detects existing local installs before action.
    • Reduces duplicate installs and path mistakes.
  1. Code review (MANDATORY)
    • Enumerates all files in the target skill.
    • Reviews readable text files and records binary/oversize/unreadable handling with reasons.
  1. Risk review
    • Summarizes red flags, required permissions, risk level, and final recommendation.
    • Produces human-readable conclusions and machine-readable report output.
  1. Install execution + post-install verification
    • Runs install only when policy allows.
    • Verifies expected path and required key files after execution.

When to use

  • Before installing any unfamiliar skill from ClawHub.
  • Before adopting skills from GitHub or local directories.
  • When teams need consistent installation standards.
  • When security-sensitive environments require auditable evidence.

Primary command

python3 scripts/skill-install-guard.py --slug <skill-slug> [options]

Compatibility wrapper:

scripts/skill-install-guard.sh --slug <skill-slug> [options]

Required / useful inputs

  • --slug : required target skill slug
  • --source : optional source (clawhub, local path, or URL)
  • --install-cmd '': real install command for execution phase (direct executable invocation only; no shell pipes/redirects/chaining)
  • --expected-dir : expected final install path
  • --version : optional version hint
  • --dry-run: checks only
  • --stop-before-install: end after review phase
  • --allow-medium-risk: allow execution when risk is medium
  • --report-json : write machine-readable result

Recommended operating pattern

  1. Collect slug, source, intended install command, and expected final directory.
  2. Run with --stop-before-install or --dry-run for non-destructive preflight.
  3. Read risk summary and recommendation.
  4. If blocked, stop and report why.
  5. If allowed, run with actual install command.
  6. Return both risk decision and post-install verification result.

Example: non-destructive verification

python3 scripts/skill-install-guard.py \
  --slug some-skill \
  --source clawhub \
  --expected-dir skills/some-skill \
  --stop-before-install \
  --report-json tmp/skill-install-guard/some-skill-verify.json

Example: real guarded install

python3 scripts/skill-install-guard.py \
  --slug some-skill \
  --source clawhub \
  --install-cmd 'clawhub install some-skill' \
  --expected-dir skills/some-skill \
  --report-json tmp/skill-install-guard/some-skill-install.json

Output requirements

When using this skill, report at minimum:

  • target skill name / slug
  • source checked and source-data completeness
  • all-files coverage summary
  • red flags found (or explicit none)
  • permissions needed (files / network / commands)
  • risk level
  • recommendation / verdict
  • install command used or skipped
  • final landed path check
  • final go / no-go result

Safety rules

  • Do not treat command exit status as sole success criterion.
  • Do not skip post-install verification.
  • If slug/source/version mismatch expectations, stop before install.
  • If risk recommendation is block, do not force install.
  • If risk is medium without explicit operator approval, keep blocked.
  • When uncertain, prefer no-go.

版本历史

共 1 个版本

  • v0.4.3 当前
    2026-05-07 07:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Map Route Reader

wuyunting555
直接读取高德/百度地图的真实路线,返回可执行的公交、地铁、打车或步行方案。适用于询问从A到B的最快、最省事路线,或打车是否更方便、是否有更优替代方案时使用。重点是提供真实可执行的路线,而非模糊估计。
★ 0 📥 572

Direct WeChat Article Reader

wuyunting555
直接读取微信公众号文章正文的可执行 skill。适用于用户提供 mp.weixin.qq.com链接并要求读取正文、摘录内容、提取标题或总结的场景。相比仅提供方法或提示词的同类 skill,本 skill 自带 setup、run 和 Pl
★ 0 📥 547

OpenClaw Memory System

wuyunting555
让 OpenClaw 真的记住用户偏好、事实和上下文的长期记忆 skill。适用于你受不了每次新会话都要重复背景、希望 agent 能跨会话记住信息、并且想直接拥有可搜索、可持久化、可自动注入的记忆系统时使用。不是手工记笔记,而是一个已经做
★ 0 📥 336