每日简报
daily-brief
by baobaodawang-creater
Send a daily operational brief from your self-hosted OpenClaw to Telegram — agent health, unresolved issues, and weekly evolution highlights, every morning.
安装
claude skill add --url github.com/openclaw/skills/tree/main/skills/baobaodawang-creater/openclaw-daily-brief必需环境变量
OPENCLAW_TOKENTELEGRAM_BOT_TOKENTELEGRAM_CHAT_ID必需命令行工具
bashcurljqdocker文档
Daily Brief
daily-brief packages a production-style daily report workflow for self-hosted OpenClaw users.
It generates a structured morning digest and sends it to Telegram, with focus on:
- Agent/system health signals from gateway logs
- Unfinished or risky items inferred from recent runtime behavior
- Capability evolution highlights from latest
evolverlogs
Typical deployment scenario
Use this skill when your OpenClaw instance is self-hosted and you want a reliable daily operations snapshot at a fixed time (for example 08:05 every day).
Required components
secretaryagent configured and available- system cron enabled
- Telegram bot delivery configured
- OpenClaw gateway reachable at local endpoint
Real script pattern (redacted example)
The following is a redacted usage example adapted from daily_brief.sh:
#!/bin/bash
BOT_TOKEN="${TELEGRAM_BOT_TOKEN}"
CHAT_ID="${TELEGRAM_CHAT_ID}"
OPENCLAW_TOKEN="${OPENCLAW_TOKEN}"
LOGS=$(docker logs openclaw-gateway --since 24h 2>&1 | tail -100)
EVOLVER_LOG=""
LATEST_EVOLVER=$(ls -t /tmp/evolver-*.log 2>/dev/null | head -1)
if [ -n "$LATEST_EVOLVER" ]; then
EVOLVER_LOG=$(tail -50 "$LATEST_EVOLVER")
fi
PROMPT="You are the private secretary. Build a concise daily brief with:
1) system status
2) what happened today
3) issues found
4) resolved vs unresolved
5) items requiring executive attention
System logs:
${LOGS}
Evolution report:
${EVOLVER_LOG}"
RESPONSE=$(curl -s -X POST http://127.0.0.1:18789/v1/chat/completions \
-H "Authorization: Bearer ${OPENCLAW_TOKEN}" \
-H "Content-Type: application/json" \
-H "x-openclaw-agent-id: secretary" \
--max-time 180 \
-d "{\"model\":\"openclaw\",\"messages\":[{\"role\":\"user\",\"content\":$(echo "$PROMPT" | jq -Rs .)}]}")
RESULT=$(echo "$RESPONSE" | jq -r '.choices[0].message.content // "Secretary unavailable"')
curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" \
-d chat_id="${CHAT_ID}" \
--data-urlencode text="${RESULT}"
Cron example
5 8 * * * /Users/lihaochen/openclaw/daily_brief.sh
相关 Skills
claude-api
by anthropic
Build apps with the Claude API or Anthropic SDK. TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`/`claude_agent_sdk`, or user asks to use Claude API, Anthropic SDKs, or Agent SDK. DO NOT TRIGGER when: code imports `openai`/other AI SDK, general programming, or ML/data-science tasks.
openforge
by bloodandeath
>
DEX聚合器
by BytesAgain
Aggregate DEX prices and DeFi protocol data using DeFiLlama API. Use when comparing token prices. Requires curl.