install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/script-executor" ~/.claude/skills/majiayu000-claude-skill-registry-script-executor && rm -rf "$T"
manifest:
skills/data/script-executor/SKILL.mdsource content
operations: execute_bash: description: Execute shell commands side_effects: potentially_destructive requires_human_approval: true
Script Executor Skill
1. Objective
To execute provided shell scripts while enforcing security constraints (chmod +x, non-root).
2. Input
: Absolute path to the .sh file.script_path
: Optional list of arguments.args
3. Process
- Verify file existence.
- Security Check: Ensure the file has
(executable permission).chmod +x - Run the script using
.subprocess - Capture stdout/stderr.
4. Output
JSON object with exit code and logs.