Shell

v1.0.0

Shell scripting reference — Bash syntax, redirections, process substitution, signal handling, debugging techniques. Use when writing shell scripts, troublesh...

1· 3.5k·28 current·30 all-time
bybytesagain4@xueyetianya
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the included SKILL.md and the documentation-style script. The requested artifacts (none) and included files are appropriate for a reference/help skill.
Instruction Scope
SKILL.md instructs the agent to run the bundled scripts/script.sh with simple command names to print documentation. The instructions do not ask the agent to read unrelated system files, secrets, or transmit data externally.
Install Mechanism
No install spec is present (instruction-only plus a documentation script). Nothing is downloaded or written to disk by an installer, which is proportionate for a reference skill.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. SKILL.md mentions a default SHELL_DIR, but that is a benign configuration note and not required.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or persistent system privileges. It only contains a local script and documentation; autonomous invocation is allowed by platform default but not combined with other red flags here.
Assessment
This skill is a documentation/reference tool implemented as a local script and appears coherent with its description. Before installing or invoking it, you may: (1) inspect scripts/script.sh yourself (it's plain text documentation functions), (2) run it in a safe environment to confirm behavior, and (3) avoid granting any additional credentials or installs you don't control. Note that, as with any skill that runs shell scripts, if you allow an agent to execute it autonomously the agent will be able to run those local commands—this skill itself does not request network access or secrets.

Like a lobster shell, security has layers — review code before you run it.

latestvk974xkrjnjpjbg50k1pcxx27kh83a8wz
3.5kdownloads
1stars
1versions
Updated 4w ago
v1.0.0
MIT-0

Shell — Shell Scripting Reference

Quick-reference skill for Bash shell scripting, built-in features, and best practices.

When to Use

  • Writing reliable Bash scripts with proper error handling
  • Understanding redirections, pipes, and process substitution
  • Managing signals, traps, and background processes
  • Debugging shell scripts with set options and tracing
  • Choosing between shell features and external tools

Commands

intro

scripts/script.sh intro

Overview of shell scripting — Bash features, shebang, execution, portability.

variables

scripts/script.sh variables

Variables — declaration, scope, arrays, parameter expansion, special variables.

control

scripts/script.sh control

Control flow — if/else, case, for, while, until, select, functions.

redirections

scripts/script.sh redirections

Redirections and pipes — stdin/stdout/stderr, heredocs, process substitution.

safety

scripts/script.sh safety

Safety practices — set -euo pipefail, quoting, shellcheck, error handling.

tools

scripts/script.sh tools

Essential tools — awk, sed, grep, find, xargs, cut, sort, jq patterns.

signals

scripts/script.sh signals

Signals and traps — SIGTERM, SIGINT, cleanup handlers, background jobs.

checklist

scripts/script.sh checklist

Shell script quality checklist.

help

scripts/script.sh help

version

scripts/script.sh version

Configuration

VariableDescription
SHELL_DIRData directory (default: ~/.shell/)

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

Comments

Loading comments...