# Send Codecast to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "codecast",
    "name": "Codecast",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/allanjeng/codecast",
    "canonicalUrl": "https://clawhub.ai/allanjeng/codecast",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/codecast",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=codecast",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/advanced-modes.md",
      "references/discord-output.md",
      "references/setup.md",
      "scripts/codecast-watch.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "codecast",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T22:22:06.780Z",
      "expiresAt": "2026-05-08T22:22:06.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=codecast",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=codecast",
        "contentDisposition": "attachment; filename=\"codecast-4.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "codecast"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/codecast"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/codecast",
    "downloadUrl": "https://openagent3.xyz/downloads/codecast",
    "agentUrl": "https://openagent3.xyz/skills/codecast/agent",
    "manifestUrl": "https://openagent3.xyz/skills/codecast/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/codecast/agent.md"
  }
}
```
## Documentation

### Codecast

Live-stream coding agent sessions to Discord. Zero AI tokens burned.

### Setup

First-time setup: see references/setup.md for webhook creation, unbuffer install, bot token, and smoke test.

### Invocation

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.

### Options

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.

### Agent Launch Checklist

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.

### Completion Detection

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

### Monitoring

process poll sessionId:<id>        # Check status
process log sessionId:<id>         # View recent output
process kill sessionId:<id>        # Stop session

### Agent Support

AgentOutput ModeStatusClaude Codestream-jsonFull supportCodex--json JSONLFull supportAny CLIRaw ANSIBasic support

### Session Tracking

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"

### Reference Docs

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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: allanjeng
- Version: 4.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T22:22:06.780Z
- Expires at: 2026-05-08T22:22:06.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/codecast)
- [Send to Agent page](https://openagent3.xyz/skills/codecast/agent)
- [JSON manifest](https://openagent3.xyz/skills/codecast/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/codecast/agent.md)
- [Download page](https://openagent3.xyz/downloads/codecast)