📦 PowerShell Safe Chain — 安全链式命令

v1.0.0

用 try/catch、ErrorAction 与顺序编排替代 &&,实现 Windows 上可靠、连续的 PowerShell 命令链执行,避免中途失败导致后续脚本失控。

0· 380·1 当前·1 累计
dalomeve 头像by @dalomeve (Dalomeve)
下载技能包
最后更新
2026/3/1
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
NULL
评估建议
This skill is a set of PowerShell best-practice instructions and appears coherent and low-risk. Before using: review the SKILL.md examples and any commands you plan to run against your system (the verification commands search *.ps1 in the working directory), and avoid blindly executing scripts from untrusted sources. Note the skill has no homepage or known author — if you need higher assurance, prefer guidance from a vetted documentation source or a trusted PowerShell style guide.
详细分析 ▾
用途与能力
Name/description (safe PowerShell chaining) align with the content: the SKILL.md contains patterns, examples, and checks that are relevant to writing and verifying PowerShell scripts. No unrelated binaries, credentials, or config paths are requested.
指令范围
The runtime instructions are limited to coding patterns, try/catch, ErrorAction, splatting, and a few verification commands (Select-String against *.ps1). Those checks operate on PowerShell scripts (reasonable for this skill). The doc does not instruct reading unrelated system secrets or sending data externally.
安装机制
No install spec and no code files — instruction-only. This minimizes disk writes and external downloads; low installation risk.
凭证需求
No environment variables, credentials, or config paths are required. The doc merely advises how to reference env vars in PowerShell when appropriate (using $env:VAR) and to use SecureString for passwords — proportionate to the topic.
持久化与权限
Skill is not marked always:true and does not request persistent presence or modify other skills/settings. It is user-invocable and may be invoked autonomously (platform default), which is expected for skills.
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/3/1

NULL

无害

安装命令

点击复制
官方npx clawhub@latest install powershell-safe-chain
镜像加速npx clawhub@latest install powershell-safe-chain --registry https://cn.longxiaskill.com
数据来源ClawHub ↗ · 中文优化:龙虾技能库