← 返回 Skills 市场
dalomeve

PowerShell Safe Chain

作者 Dalomeve · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
405
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install powershell-safe-chain
功能描述
Chain PowerShell commands safely without &&. Use try/catch, ErrorAction, and proper sequencing for reliable Windows execution.
安全使用建议
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.
功能分析
Type: OpenClaw Skill Name: powershell-safe-chain Version: 1.0.0 The skill bundle provides instructions and examples for writing safe PowerShell scripts, focusing on proper error handling and command chaining without using `&&`. The `SKILL.md` content is purely educational and prescriptive, offering best practices and verification criteria for PowerShell code. There are no commands intended for malicious execution, data exfiltration, persistence, or prompt injection against the agent. All examples and verification steps are benign and align with the stated purpose of promoting secure scripting.
能力评估
Purpose & Capability
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.
Instruction Scope
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.
Install Mechanism
No install spec and no code files — instruction-only. This minimizes disk writes and external downloads; low installation risk.
Credentials
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.
Persistence & Privilege
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install powershell-safe-chain
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /powershell-safe-chain 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release introducing safe command chaining patterns for PowerShell: - Explains why `&&` shouldn't be used for command chaining in PowerShell. - Provides recommended patterns using `try/catch`, `ErrorActionPreference`, and conditionals. - Shows splatting for clean parameter handling in complex commands. - Lists criteria for executable script safety and compliance. - Adds privacy and safety best practices for credentials and environment variables.
元数据
Slug powershell-safe-chain
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

PowerShell Safe Chain 是什么?

Chain PowerShell commands safely without &&. Use try/catch, ErrorAction, and proper sequencing for reliable Windows execution. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 405 次。

如何安装 PowerShell Safe Chain?

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

PowerShell Safe Chain 是免费的吗?

是的,PowerShell Safe Chain 完全免费(开源免费),可自由下载、安装和使用。

PowerShell Safe Chain 支持哪些平台?

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

谁开发了 PowerShell Safe Chain?

由 Dalomeve(@dalomeve)开发并维护,当前版本 v1.0.0。

💬 留言讨论