← 返回 Skills 市场
系统命令
作者
ljr287404428
· GitHub ↗
· v1.0.0
· MIT-0
79
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install system-cmd
功能描述
执行Windows常见系统命令(如ipconfig、tasklist、netstat、systeminfo及别名命令)并返回格式化结果,支持安全分级和自定义配置。
安全使用建议
This skill appears to do what it claims (run Windows commands) and contains code that enforces whitelists, timeouts and forbidden-pattern checks. Before installing: 1) Confirm you only run it on Windows test machines or VMs — the implementation expects PowerShell/CMD. 2) Review the bundled scripts (especially v3/v4) and config.json yourself; aliases can expand into commands. 3) If you don't need custom command execution, disable or remove the /system_cmd exec feature to avoid arbitrary command execution. 4) Don't grant the agent or this skill administrative privileges; high-risk operations will still run if invoked with elevated rights. 5) Be aware filters use regex/heuristics and could be bypassed; consider running the skill in an isolated environment and auditing logs. 6) Note the packaging inconsistencies (docs mentioning Python, metadata claiming instruction-only), which suggest the package may have been assembled sloppily — request the author clarify or provide a clean, single-language implementation if you require higher assurance.
功能分析
Type: OpenClaw Skill
Name: system-cmd
Version: 1.0.0
The skill bundle provides a Windows system command execution engine, allowing an AI agent to run utilities like ipconfig, tasklist, and arbitrary shell commands via an 'exec' mode. While the implementation in system_cmd_v4.js includes multiple security layers—such as a command blacklist (FORBIDDEN_COMMANDS), regex-based pattern matching (HIGH_RISK_PATTERNS), and a mandatory confirmation flag (--yes) for dangerous operations—the core functionality is essentially a Remote Code Execution (RCE) interface. There is no evidence of intentional malice or hidden exfiltration logic, but the inherent risk of shell access and the potential for blacklist bypasses via shell syntax or unlisted commands warrant a suspicious classification.
能力评估
Purpose & Capability
The name/description match the code: JS scripts execute Windows commands (PowerShell/CMD) and provide alias/config support. Minor inconsistencies: README/README.md sometimes references a Python subprocess implementation while shipped code is Node.js; SKILL metadata says "instruction-only" / no OS restriction, yet the implementation and docs require Windows/PowerShell. These are likely sloppy packaging but worth noting.
Instruction Scope
SKILL.md and the scripts implement pre-defined safe commands, alias resolution, and a /system_cmd exec <command> custom mode with safety checks and time/output limits. That matches the stated scope. However custom-exec still runs arbitrary shell commands (via child_process.exec) with heuristics/regex to block dangerous patterns — such filters can be bypassed by clever inputs. The skill also hot-loads/reads config.json from disk (included in package) to resolve aliases.
Install Mechanism
No install spec or remote downloads; all code is bundled in the skill package. No network fetches or third-party install steps were observed in the manifest, which reduces supply-chain risk.
Credentials
The skill requests no environment variables or external credentials. It reads a local config.json (present in the package) which is reasonable for alias configuration. No unrelated credentials or config paths are requested.
Persistence & Privilege
always:false and agent autonomous invocation defaults are normal. The skill executes system commands as the agent process and may run commands that require elevated privileges; high-risk commands are gated by a textual confirmation mechanism (--yes). This is expected behavior but increases blast radius if the agent or skill is run with elevated rights.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install system-cmd - 安装完成后,直接呼叫该 Skill 的名称或使用
/system-cmd触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
system-cmd v1.0.0
- Initial release providing execution of common Windows system commands (ipconfig, tasklist, netstat, systeminfo) with formatted results.
- Supports safe, predefined commands and secure, customizable outputs.
- Includes basic output formatting, error handling, and Chinese language support.
- Limits execution to safe, predefined commands for security.
元数据
常见问题
系统命令 是什么?
执行Windows常见系统命令(如ipconfig、tasklist、netstat、systeminfo及别名命令)并返回格式化结果,支持安全分级和自定义配置。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 79 次。
如何安装 系统命令?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install system-cmd」即可一键安装,无需额外配置。
系统命令 是免费的吗?
是的,系统命令 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
系统命令 支持哪些平台?
系统命令 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 系统命令?
由 ljr287404428(@ljr287404428)开发并维护,当前版本 v1.0.0。
推荐 Skills