跳至主要内容
小龙虾小龙虾AI
🤖

My Claw Shell

Runs shell commands inside a dedicated tmux session named claw, returning the command output while restricting dangerous commands without confirmation.

下载345
星标0
版本1.0.0
开发工具
安全通过
💬Prompt

技能说明

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 session claw.

Behavior:

  1. Attach to tmux session claw (create it if missing: tmux new -s claw -d).
  2. Send the command followed by Enter.
  3. Capture the latest pane output.
  4. 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 ...

如何使用「My Claw Shell」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「My Claw Shell」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能