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---5# claw-shell67ALWAYS USES TMUX SESSION `claw`.89## PURPOSE1011- RUN SHELL COMMANDS INSIDE TMUX SESSION `claw`12- NEVER TOUCH ANY OTHER SESSION13- READ OUTPUT BACK TO THE AGENT1415## INTERFACE1617### Tool: `claw_shell_run`1819**Inputs:**2021- `command` (string, required): shell command to run inside session `claw`.2223**Behavior:**24251. Attach to tmux session `claw` (create it if missing: `tmux new -s claw -d`).262. Send the command followed by Enter.273. Capture the latest pane output.284. Return the captured output to the agent.2930## SAFETY3132- DO NOT RUN:33 - `sudo`34 - `rm` (without explicit user approval)35 - `reboot`, `shutdown`, or destructive system-level commands36- IF THE COMMAND CONTAINS ANY OF THE ABOVE:37 - ASK USER FOR CONFIRMATION BEFORE EXECUTING.3839## EXAMPLES4041- SAFE:42 - `ls -la`43 - `bird read https://x.com/...`44 - `git status`4546- DANGEROUS (ASK FIRST):47 - `rm -rf ...`48 - `docker system prune -a`49 - `chmod -R ...`
Run npx skillmds@latest add demerzels-lab/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.
Demerzels-lab (@demerzels-lab) published this skill. Their other Agent Skills are listed on their SkillMD profile.