Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Stream coding agent sessions (Claude Code, Codex, Gemini CLI, etc.) to a Discord channel in real-time via webhook. Use when invoking coding agents and wantin...
Stream coding agent sessions (Claude Code, Codex, Gemini CLI, etc.) to a Discord channel in real-time via webhook. Use when invoking coding agents and wantin...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
Live-stream coding agent sessions to Discord. Zero AI tokens burned.
First-time setup: see references/setup.md for webhook creation, unbuffer install, bot token, and smoke test.
Launch with exec background:true. Background exec sessions survive agent turns and OpenClaw fires notifyOnExit automatically when the process ends. exec background:true command:"{baseDir}/scripts/dev-relay.sh -w ~/projects/myapp -- claude -p --dangerously-skip-permissions --output-format stream-json --verbose 'Your task here'" Note the session ID from the response β use it to monitor via process.
FlagDescriptionDefault-w <dir>Working directoryCurrent dir-t <sec>Timeout1800-h <sec>Hang threshold120-n <name>Agent display nameAuto-detected-r <n>Rate limit (posts/60s)25--threadPost into a Discord threadOff--skip-readsHide Read tool eventsOff--review <url>PR review modeβ--parallel <file>Parallel tasks modeβ--resume <dir>Replay sessionβ For PR review, parallel tasks, Discord bridge, and Codex structured output: see references/advanced-modes.md.
Start background session β note session ID and PID from response Post to dev channel β announce agent name, workdir, task Write breadcrumb for completion routing: echo '{"channel":"<invoking-channel-id>","relayDir":"<relay-dir>","pid":<PID>}' > /tmp/codecast-pending-<PID>.json Log to daily memory β session ID, relay dir, invoking channel The breadcrumb file tells the heartbeat precheck where to post results when the session completes. It auto-detects completion by checking if the PID is still alive. That's it. When the process ends, OpenClaw's notifyOnExit fires a system event + heartbeat request. The heartbeat handler reads the result from the relay dir's stream.jsonl and posts to the invoking channel.
OpenClaw handles this natively: tools.exec.notifyOnExit: true (default) β system event + heartbeat on process exit Heartbeat precheck script detects completed sessions via /tmp/dev-relay-sessions/ No cron watcher needed Backup: Append this to the inner agent's prompt for an additional signal: When completely finished, run: openclaw system event --text "Done: <brief summary>" --mode now
process poll sessionId:<id> # Check status process log sessionId:<id> # View recent output process kill sessionId:<id> # Stop session
AgentOutput ModeStatusClaude Codestream-jsonFull supportCodex--json JSONLFull supportAny CLIRaw ANSIBasic support
Active sessions: /tmp/dev-relay-sessions/<PID>.json (auto-removed on end) Event logs: /tmp/dev-relay.XXXXXX/stream.jsonl (7-day auto-cleanup) Interactive input: process submit sessionId:<id> data:"message"
Setup guide β first-time install, webhook, bot token Advanced modes β PR review, parallel tasks, Discord bridge, Codex Discord output β message formats, architecture, env vars, troubleshooting
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.