My Claw Shell
Runs shell commands inside a dedicated tmux session named claw, returning the command output while restricting dangerous commands without confirmation.
Latest: v1.0.0
Initial release of my-claw-shell skill.
- Runs shell commands exclusively inside a dedicated tmux session named "claw"
- Returns output from the tmux session back to the agent
- Protects against dangerous commands, asking for user confirmation before executing commands like sudo, rm, reboot, or shutdown
- Provides a simple tool interface:
claw_shell_run(command) - Automatically creates and manages the "claw" tmux session as needed
fork of@imaginelogo/claw-shell(1.0.0)
claw-shell-kali
ALWAYS USES TMUX SESSION claw.
PURPOSE
- RUN SHELL COMMANDS INSIDE TMUX SESSION
claw - NEVER TOUCH ANY OTHER SESSION
- READ OUTPUT BACK TO THE AGENT
INTERFACE
Tool: claw_shell_run
Inputs:
command(string, required): shell command to run inside sessionclaw.
Behavior:
- Attach to tmux session
claw(create it if missing:tmux new -s claw -d). - Send the command followed by Enter.
- Capture the latest pane output.
- Return the captured output to the agent.
SAFETY
- DO NOT RUN:
sudorm(without explicit user approval)reboot,shutdown, or destructive system-level commands
- IF THE COMMAND CONTAINS ANY OF THE ABOVE:
- ASK USER FOR CONFIRMATION BEFORE EXECUTING.
EXAMPLES
-
SAFE:
ls -labird read https://x.com/...git status
-
DANGEROUS (ASK FIRST):
rm -rf ...docker system prune -achmod -R ...
