Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

claw-shell

bởi imaginelogo

Web & Frontend Development
9.5kLượt tải do clawskills.sh công bố
6Sao
21Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

ALWAYS USES TMUX SESSION `claw`.

Mô tả

Kỹ năng này làm gì

Runs shell commands inside a dedicated tmux session named `claw` and returns the output to the agent. Keeps all command execution isolated to that session and never touches others.

Using a named tmux session means commands persist across agent turns and the agent can always read back the latest output reliably.

Khi nào nên dùng

  • Running build scripts without leaving the agent context
  • Checking git status during a code review session
  • Listing directory contents to verify file operations
  • Executing test commands and reading back results
  • Running long-lived processes inside a persistent tmux session

Quy trình ví dụ

ĐẦU VÀO

User asks: run the test suite and show me the results

AGENT
  1. 1

    Attach to tmux session claw, creating it if it does not exist

  2. 2

    Send npm test to the session

  3. 3

    Wait for the command to complete

  4. 4

    Capture the pane output

  5. 5

    Return the test results to the user

ĐẦU RA

Full terminal output from the test run, including pass/fail summary

Cài đặt

clawhub install imaginelogo/claw-shell

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết