From dailybot
Announce agent status to Dailybot and receive pending messages. Use at session start, periodically during long sessions, or at session end.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dailybot:healthThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
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.
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:
npx claudepluginhub dailybothq/dailybot-claude-plugin --plugin dailybotReference for writing and editing skills with predictable behavior, covering invocation models, description writing, and information hierarchy.