← Back to Skills Marketplace
gexsta

Skills Backup Claw Shell

by Gexsta · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
788
Downloads
0
Stars
7
Active Installs
1
Versions
Install in OpenClaw
/install skills-backup-claw-shell
Description
Executes shell commands inside a dedicated tmux session named claw, capturing and returning the command output safely.
Usage Guidance
This skill runs arbitrary shell commands inside a tmux session named 'claw'. Before installing or using it: (1) confirm the host has tmux and ask the author to list tmux as a required binary; (2) understand that the skill executes whatever you pass to it — do not use it on systems with sensitive data or where untrusted users can provide commands; (3) the dangerous-command check is simple and can be bypassed, and the code returns an error instead of prompting as the README suggests — treat it as not enforcing confirmation by itself; (4) if you need safer behavior, request the author add robust parsing, explicit interactive confirmation, and/or a command allowlist and declare required binaries. If you lack confidence in those fixes, consider not installing or running the skill on production/privileged machines.
Capability Analysis
Type: OpenClaw Skill Name: skills-backup-claw-shell Version: 1.0.0 This skill is classified as suspicious due to its core functionality allowing arbitrary shell command execution via `execSync` in `handler.js`. A critical shell injection vulnerability exists in the `sendCommand` function, as `tmux send-keys` will transmit shell metacharacters (e.g., `;`, `|`, `$(...)`) from the `command` input directly to the shell within the tmux pane, allowing an attacker to execute arbitrary commands beyond the intended single command. While `SKILL.md` and `handler.js` include keyword-based safety checks, these are easily bypassable and do not mitigate the underlying vulnerability, making the skill a high-risk primitive.
Capability Assessment
Purpose & Capability
The skill's code and SKILL.md both focus on running shell commands inside a tmux session named 'claw', which is coherent with the stated purpose. However the package does not declare that the tmux binary is required (required binaries list is empty) even though handler.js calls tmux repeatedly — that is an inconsistency the author should fix.
Instruction Scope
SKILL.md instructs the agent to ask the user for confirmation before running dangerous commands, but the implementation (claw_shell_run) returns an error when it detects a 'dangerous' command instead of prompting. The dangerous-command detection is also naive (simple substring matches like ' rm ' or 'sudo') and can be bypassed or produce false positives. The skill executes arbitrary user-supplied shell commands inside the tmux session, so any weaknesses in detection/confirmation behavior materially affect safety.
Install Mechanism
This is an instruction-only skill with no install spec, so nothing is downloaded or written during install. That minimizes install-time risk. Runtime does, however, depend on the system having tmux available (not declared).
Credentials
The skill requests no environment variables or credentials, which is proportionate to its stated purpose. There is no evidence it attempts to access unrelated secrets or config paths.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and does not attempt to persist credentials. It runs on demand and so its privilege/presence level is reasonable.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install skills-backup-claw-shell
  3. After installation, invoke the skill by name or use /skills-backup-claw-shell
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of claw-shell skill. - Runs shell commands exclusively in a tmux session named "claw" - Ensures no other tmux sessions are affected - Captures and returns command output to the agent - Confirms with user before running potentially dangerous commands (e.g., sudo, rm, reboot, shutdown) - Provides example safe and dangerous commands for reference
Metadata
Slug skills-backup-claw-shell
Version 1.0.0
License
All-time Installs 8
Active Installs 7
Total Versions 1
Frequently Asked Questions

What is Skills Backup Claw Shell?

Executes shell commands inside a dedicated tmux session named claw, capturing and returning the command output safely. It is an AI Agent Skill for Claude Code / OpenClaw, with 788 downloads so far.

How do I install Skills Backup Claw Shell?

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

Is Skills Backup Claw Shell free?

Yes, Skills Backup Claw Shell is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Skills Backup Claw Shell support?

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

Who created Skills Backup Claw Shell?

It is built and maintained by Gexsta (@gexsta); the current version is v1.0.0.

💬 Comments