一键导入
health
Announce agent status to Dailybot and receive pending messages. Use at session start, periodically during long sessions, or at session end.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Announce agent status to Dailybot and receive pending messages. Use at session start, periodically during long sessions, or at session end.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Report work progress to Dailybot. Use after completing a discrete task or subtask, or after any batch of edits that modifies 3 or more files. Do not wait for permission. Include what changed and why.
Set up the Dailybot plugin — install the CLI, authenticate, and configure the agent profile. Use on first install or when setup needs to be redone.
Send emails to any address via Dailybot. Use for notifications, summaries, or follow-ups the user asks you to send.
Check for pending messages and instructions from your team via Dailybot. Use when starting a session, checking what to work on, or reviewing team input.
| name | health |
| description | Announce agent status to Dailybot and receive pending messages. Use at session start, periodically during long sessions, or at session end. |
| allowed-tools | Bash, Read |
Announce the agent's status (online, working, offline, degraded) to Dailybot so the team knows whether the agent is alive and what it's doing. Health check responses also deliver pending messages from the team.
Read and follow the authentication steps in ${CLAUDE_PLUGIN_ROOT}/shared/auth.md. That file covers CLI installation, login, API key setup, and agent profile configuration.
If auth fails or the user declines, skip and continue with your primary task.
Run the bundled context detection script:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/detect-context.sh"
Capture the agent_name value from the JSON output.
Fallback — if the script fails, use the default agent name "claude-code".
command -v dailybot
${CLAUDE_PLUGIN_ROOT}/shared/http-fallback.md for base curl patterns)Timeout: Allow at least 30 seconds for CLI commands to complete. Do not use a shorter timeout.
dailybot agent health --ok --message "Working on <task>" --name "<agent_name>"
dailybot agent health --fail --message "DB unreachable — retrying" --name "<agent_name>"
dailybot agent health --status --name "<agent_name>"
curl -s -X POST https://api.dailybot.com/v1/agent-health/ \
-H "X-API-KEY: $DAILYBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_name": "<agent_name>",
"ok": true,
"message": "Working on <task>"
}'
| Field | Required | Description |
|---|---|---|
agent_name | Yes | Your consistent agent identifier |
ok | Yes | true for healthy, false for degraded/failing |
message | No | Brief description of current state |
{
"agent_name": "<agent_name>",
"status": "healthy",
"last_check_at": "2026-02-11T10:00:00Z",
"pending_messages": [
{
"id": "msg-uuid",
"content": "Please prioritize the auth bug fix before the feature work",
"message_type": "text",
"sender_type": "human",
"sender_name": "Alice",
"metadata": {},
"created_at": "2026-02-11T09:30:00Z"
}
]
}
curl -s -X GET "https://api.dailybot.com/v1/agent-health/?agent_name=<agent_name>" \
-H "X-API-KEY: $DAILYBOT_API_KEY"
Health check responses include pending_messages. These are instructions from the team — act on them.
When you receive messages:
/dailybot:report skill)If messages are found, summarize them for the user:
"Health check sent. You have 1 message from your team:
Alice (2 hours ago): Please prioritize the auth bug fix before the feature work
Want me to adjust priorities?"
If no messages:
"Health check sent — status: online. No pending messages."
For long-running sessions, send health checks every 15–30 minutes. This keeps the agent visible to the team and ensures messages are picked up promptly.
Session start → health check (ok, "Starting work session")
... 15-30 min ...
Working → health check (ok, "Working on auth refactor — 3 of 5 tasks complete")
... 15-30 min ...
Working → health check (ok, "Finishing test suite for auth module")
... task complete ...
Session end → health check (ok, "Session complete — auth refactor shipped")
If the agent encounters persistent errors:
Error state → health check (fail, "Docker build failing — missing libpq-dev dependency")
Health checks must never block your primary work. If the CLI is missing, auth fails, the network is down, or the command errors: