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

codecast

bởi allanjeng

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

Stream coding agent sessions (Claude Code, Codex, Gemini CLI, etc.) to a Discord channel in real-time via webhook.

Mô tả

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

Streams coding agent sessions to a Discord channel in real-time via webhook. Parses Claude Code's stream-json output into formatted Discord messages showing tool calls, file writes, bash commands, and results. No AI tokens are consumed during streaming.

Parses structured agent output into readable Discord messages without consuming AI tokens, making agent sessions observable at zero additional API cost.

Khi nào nên dùng

  • Monitoring a background Claude Code session from Discord
  • Sharing live agent progress with a remote team
  • Running PR reviews with agent reasoning visible in a Discord channel
  • Streaming parallel coding tasks to a single Discord channel
  • Reviewing completed session logs after an agent run ends

Quy trình ví dụ

ĐẦU VÀO

User asks: Stream a Claude Code session fixing a bug in ~/projects/myapp to our #dev Discord channel

AGENT
  1. 1

    Launch dev-relay.sh in a background exec session targeting the working directory and task

  2. 2

    Note the session ID and PID from the exec response

  3. 3

    Write a breadcrumb file to /tmp so the heartbeat handler knows where to post results on completion

  4. 4

    Monitor session status with process poll using the session ID

  5. 5

    When the process exits, OpenClaw fires notifyOnExit and posts the result summary to the invoking channel

ĐẦU RA

Live tool calls, file writes, and bash commands appear as formatted Discord messages throughout the session; a completion summary is posted to the invoking channel when the agent finishes

Yêu cầu

  • Discord webhook URL (created in Discord channel settings)
  • unbuffer command-line utility (non-standard; typically installed via the expect package)

Cài đặt

clawhub install allanjeng/codecast

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