command (string, required): shell command to run inside session claw.
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:
sudo
rm (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 -la
bird read https://x.com/...
git status
DANGEROUS (ASK FIRST):
rm -rf ...
docker system prune -a
chmod -R ...
1---2name: claw-shell3description: claw-shell4---56# claw-shell78ALWAYS USES TMUX SESSION `claw`.910## PURPOSE1112- RUN SHELL COMMANDS INSIDE TMUX SESSION `claw`13- NEVER TOUCH ANY OTHER SESSION14- READ OUTPUT BACK TO THE AGENT1516## INTERFACE1718### Tool: `claw_shell_run`1920**Inputs:**2122- `command` (string, required): shell command to run inside session `claw`.2324**Behavior:**25261. Attach to tmux session `claw` (create it if missing: `tmux new -s claw -d`).272. Send the command followed by Enter.283. Capture the latest pane output.294. Return the captured output to the agent.3031## SAFETY3233- DO NOT RUN:34 - `sudo`35 - `rm` (without explicit user approval)36 - `reboot`, `shutdown`, or destructive system-level commands37- IF THE COMMAND CONTAINS ANY OF THE ABOVE:38 - ASK USER FOR CONFIRMATION BEFORE EXECUTING.3940## EXAMPLES4142- SAFE:43 - `ls -la`44 - `bird read https://x.com/...`45 - `git status`4647- DANGEROUS (ASK FIRST):48 - `rm -rf ...`49 - `docker system prune -a`50 - `chmod -R ...`
Run npx skillmds@latest add xyva-yuangui/claw-shell in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
claw-shell It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
xyva-yuangui (@xyva-yuangui) published this skill. Their other Agent Skills are listed on their SkillMD profile.