Agent skill
script-executor
Executes shell scripts in a safe environment.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/script-executor
SKILL.md
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
script_path: Absolute path to the .sh file.args: Optional list of arguments.
3. Process
- Verify file existence.
- Security Check: Ensure the file has
chmod +x(executable permission). - Run the script using
subprocess. - Capture stdout/stderr.
4. Output
JSON object with exit code and logs.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?