← 返回 Skills 市场
ckchzh

Shell Script

作者 BytesAgain2 · GitHub ↗ · v2.3.4 · MIT-0
cross-platform ✓ 安全检测通过
1219
总下载
0
收藏
13
当前安装
9
版本数
在 OpenClaw 中安装
/install shell-script
功能描述
Shell脚本助手。脚本生成、逐行解释、调试排错、常用模板(备份/监控/部署)、一行命令、Bash速查表。Shell script generator, explainer, debugger, templates, one-liners, cheatsheet. Shell、Bash、Linux命令。
使用说明 (SKILL.md)

Shell Script Helper

Shell脚本助手。脚本生成、逐行解释、调试排错、常用模板(备份/监控/部署)、一行命令、Bash速查表。Shell script generator, explainer, debugger, templates, one-liners, cheatsheet. Shell、Bash、Linux命令。

如何使用

  1. 选择你需要的功能命令
  2. 输入你的具体需求描述
  3. 获取专业的输出结果
  4. 根据需要调整和完善

命令列表

| 命令 | 功能 |

Command Description
backup Backup
deploy Deploy
monitor Monitor
setup Setup

专业建议

  • 开头加 set -euo pipefail(出错即停、未定义变量报错、管道错误传播)
  • 变量双引号包裹 "$var"(防止空格/特殊字符问题)
  • [[ ]] 代替 [ ](更安全、支持正则)
  • $(command) 代替反引号
  • 函数内用 local 声明局部变量

Shell Script Helper by BytesAgain

💬 Feedback & Feature Requests: https://bytesagain.com/feedback Powered by BytesAgain | bytesagain.com

Examples

# Show help
shell-script help

# Run
shell-script run

Commands

Run shell-script help to see all available commands.

安全使用建议
This skill appears to be what it says: a shell/Bash helper with script templates, a linter, and generators. Before using: (1) Inspect generated scripts (especially setup.sh and deploy scripts) — they perform system-level changes (apt, ufw, sshd config, swap, rsync/ssh) and should only be run on systems you control. (2) Do not run setup scripts as root on production systems without review. (3) The deploy script assumes SSH access and will use your rsync/ssh credentials — ensure target host and user are correct. (4) Commented webhook examples exist; confirm no hard-coded secrets are present. If you want additional assurance, request the upstream source (repo/author) or run the scripts in a safe test environment first.
功能分析
Type: OpenClaw Skill Name: shell-script Version: 2.3.4 The skill bundle is a legitimate utility for generating, linting, and managing shell scripts. The scripts (scripts/shell.sh and scripts/script.sh) implement standard developer workflow automation and provide templates for common tasks like backups, monitoring, and server hardening using best practices (e.g., set -euo pipefail). No evidence of malicious intent, data exfiltration, or prompt injection was found; the server setup template includes standard security hardening measures such as disabling SSH password authentication.
能力评估
Purpose & Capability
The name/description (shell script generation, templates, linting, deploy/backup/monitor helpers) matches the bundled files: generators, lint/checker, and example templates. The included setup, deploy, monitor and backup scripts are coherent with the stated capabilities.
Instruction Scope
SKILL.md is an instruction-only manifest that simply advertises the helper and CLI usage; it does not tell the agent to read unrelated system files or exfiltrate secrets. However, the shipped scripts themselves perform filesystem, network (rsync/ssh/curl) and system administration actions if executed — those are within the scope of the helper but have side effects that require user caution.
Install Mechanism
No install spec is provided (instruction-only plus included scripts), so nothing is downloaded or executed automatically during install. This is lower-risk from an installation standpoint.
Credentials
The skill declares no required env vars or credentials. Some scripts assume the presence of SSH access/keys (deploy uses rsync/ssh) or root privileges (setup uses apt-get and edits system configs). Those assumptions are reasonable for deploy/setup tasks, but the skill does not request or provide credentials; the user must supply appropriate keys/privileges when running the scripts.
Persistence & Privilege
The skill is not always-enabled and does not request persistent elevated privileges. It includes scripts that, if executed by a user, will perform privileged/system changes (server init, editing sshd_config, enabling ufw, creating swap). This is expected for 'setup' functionality but requires explicit user action (sudo) and consent.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install shell-script
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /shell-script 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.3.4
v2.5 standard: Use-when desc, homepage, source, security fix
v2.3.3
yaml-fix+quality
v2.3.2
yaml-fix+quality
v2.3.1
Standards compliance: unique content, no template text
v2.3.0
Quality fixes: removed third-party references, aligned docs with implementation
v2.2.0
Enhanced descriptions for better AI triggering
v1.0.1
Add runtime declaration + security compliance
v2.0.0
Complete rewrite: real code/config generation replacing prompt templates
v1.0.0
Initial release of Shell Script Helper. - Generate, explain, and debug shell scripts - Provide common templates for backup, monitoring, and deployment - Offer one-liners and a Bash/Linux command cheatsheet - Includes best practice recommendations for shell scripting - Simple Chinese and English interface and documentation
元数据
Slug shell-script
版本 2.3.4
许可证 MIT-0
累计安装 13
当前安装数 13
历史版本数 9
常见问题

Shell Script 是什么?

Shell脚本助手。脚本生成、逐行解释、调试排错、常用模板(备份/监控/部署)、一行命令、Bash速查表。Shell script generator, explainer, debugger, templates, one-liners, cheatsheet. Shell、Bash、Linux命令。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1219 次。

如何安装 Shell Script?

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

Shell Script 是免费的吗?

是的,Shell Script 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Shell Script 支持哪些平台?

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

谁开发了 Shell Script?

由 BytesAgain2(@ckchzh)开发并维护,当前版本 v2.3.4。

💬 留言讨论