← Back to Skills Marketplace
ckchzh

Shell Script

by BytesAgain2 · GitHub ↗ · v2.3.4 · MIT-0
cross-platform ✓ Security Clean
1219
Downloads
0
Stars
13
Active Installs
9
Versions
Install in OpenClaw
/install shell-script
Description
Shell脚本助手。脚本生成、逐行解释、调试排错、常用模板(备份/监控/部署)、一行命令、Bash速查表。Shell script generator, explainer, debugger, templates, one-liners, cheatsheet. Shell、Bash、Linux命令。
README (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.

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install shell-script
  3. After installation, invoke the skill by name or use /shell-script
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug shell-script
Version 2.3.4
License MIT-0
All-time Installs 13
Active Installs 13
Total Versions 9
Frequently Asked Questions

What is Shell Script?

Shell脚本助手。脚本生成、逐行解释、调试排错、常用模板(备份/监控/部署)、一行命令、Bash速查表。Shell script generator, explainer, debugger, templates, one-liners, cheatsheet. Shell、Bash、Linux命令。 It is an AI Agent Skill for Claude Code / OpenClaw, with 1219 downloads so far.

How do I install Shell Script?

Run "/install shell-script" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Shell Script free?

Yes, Shell Script is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Shell Script support?

Shell Script is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Shell Script?

It is built and maintained by BytesAgain2 (@ckchzh); the current version is v2.3.4.

💬 Comments