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

claude-code-pro

bởi swaylq

Web & Frontend Development
462Lượt tải do clawskills.sh công bố
1Lượ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

Token-efficient Claude Code workflow.

Mô tả

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

A tmux-based workflow for running Claude Code tasks in background sessions using completion callbacks instead of polling. Tasks signal their own completion via an event command, eliminating repeated output reads. Suited for multi-file coding work that needs to run unattended.

Uses completion callbacks instead of polling, cutting supervision token usage by 80-97% compared to skills that read terminal output every 30-60 seconds.

Khi nào nên dùng

  • Refactoring an auth module to JWT while continuing other work
  • Implementing a new feature across 5+ files in the background
  • Running a multi-file code migration without active supervision
  • Confirming a long-running background task completed with a single check
  • Deciding whether to spawn a session or just edit files directly

Quy trình ví dụ

ĐẦU VÀO

User asks: Refactor the auth module to use JWT across multiple files

AGENT
  1. 1

    Check that the task involves 3+ files, confirming Claude Code is appropriate

  2. 2

    Run start.sh with the task description and a completion callback command appended

  3. 3

    Wait for the openclaw system event notification signaling task completion

  4. 4

    Run monitor.sh --lines 50 to confirm the result

  5. 5

    Run stop.sh to clean up the tmux session

ĐẦU RA

Auth module refactored to JWT; session closed after one monitoring read

Yêu cầu

  • Claude Code CLI (claude)

Cài đặt

clawhub install swaylq/claude-code-pro

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