ha-evening-brief
Evening house brief — end-of-day security check, device status, and energy snapshot. Runs as a daily routine at 22:30 or on demand.
- License 许可
- MIT
- 所属仓库
- gtapps/hermitd
- 最近更新
- 2026-11-15
- Stars
- ★ 85
- Forks
- 16
01 前言 Front Matter
- name
- ha-evening-brief
- description
- Evening house brief — end-of-day security check, device status, and energy snapshot. Runs as a daily routine at 22:30 or on demand.
- allowed-tools
- [ "Bash", "Read", "Glob", "Grep", "Write", "mcp__homeassistant__GetLiveContext", "mcp__homeassistant__homeassistant__GetLiveContext", "mcp__homeassistant__GetDateTime", "mcp__homeassistant__llm__GetDateTime" ]
03 SKILL.md 正文
HA Evening Brief
An end-of-day house check that confirms the house is secure before night. Designed to run as the hermitd-homeassistant:evening-brief routine at 22:30.
Core's work brief runs independently; neither brief replaces or disables the other.
Steps
-
Time & context: Call
GetDateTimefor current time. Use the session language. -
Live house snapshot — Call
GetLiveContext. Extract and organize:- Security: alarm state, lock states, open covers/blinds
- Devices: robovac status (completed / docked / running / error), lights still on
- Any devices unavailable or in error state
-
Anomalous sensors — From the live snapshot, identify currently unavailable, stuck, or unexpected-state sensors. Report only what is currently wrong — no baseline diff required.
3a. Pending updates: Run ${CLAUDE_PLUGIN_ROOT}/bin/ha-agent-lab ha updates --digest. It prints one JSON object and exits 0:
statusisskipped: pipe one line into.hermit/bin/hermitd-run task note .hermit <id>only inside an open record's turn (otherwise skip the note) (updates fetch failed: <detail>) and omit theUpdates:section entirely.totalis 0: omit theUpdates:section entirely.- Otherwise: render the
Updates:section, translating tier labels into the operator's language.updatesholds the top updates in tier order, one[tier] Title: installed → latestline each (a null version renders as?); add+ N more updates pendingwhenmoreis above 0 and[hacs] N HACS updates pendingwhenhacs_pendingis above 0.
-
Energy snapshot — From the live context, pull current power draw and day's energy consumption if HA energy entities exist. Omit this section if no energy sensors are available.
-
Compose brief: Write a concise evening brief in the session language. Use the format below.
-
Write to
compiled/— Write the composed brief to.hermit/compiled/brief-ha-evening-<YYYY-MM-DD>.mdwith frontmatter:title: "Evening Brief — <YYYY-MM-DD>" type: brief created: <ISO8601> task: <T-... for the open record in this turn; omit this field otherwise> tags: [evening-brief, ha]Inside an open record's turn, pipe
[[compiled/brief-ha-evening-<YYYY-MM-DD>]]into.hermit/bin/hermitd-run task note .hermit <id>. Otherwise skip the note.
Output Format
Good evening! Home - [date]
Security:
- [alarm state, lock states, open covers — or "All secure"]
Devices:
- [robovac status, lights left on — or "All clear"]
Sensors:
- [currently unavailable or anomalous — or "None"]
Updates:
- [tier] Title: installed → latest
- [N HACS updates pending]
- [Omit section entirely when none pending or the fetch was skipped.]
Energy:
- [day's consumption, current draw — omit section when unavailable]
Keep the entire brief under 14 lines (10 when the Updates: section is absent: no updates pending or the fetch was skipped). Adapt the greeting and section headers to the session language.
Delivery
- If invoked as a routine, or
config.always_onistruein.hermit/config.json: deliver the composed brief via the Operator Notification protocol (core resolves the channel and falls back to push when no channel is reachable). The terminal is unmonitored in always-on mode. For the push-fallback branch, condense to a single line (per § Operator Notification push format): lead with the security verdict (open doors, unlocked, open windows) orsecure, then any anomaly. Example:House secure, garage door still open: open CC to view. - Otherwise (invoked on demand in an interactive session): output to terminal.
- Never include secrets, tokens, or internal file paths in the brief.
04 同仓库更多 Skills
task-decide
Record the operator's typed task decision.
dream
Nightly memory maintenance from transcript ground truth. Verifies, enriches and tidies auto-memory and topic pages with snapshot validation and undo. Also handles 'undo the dream'.
when-done-switch-to
Arm a deferred model or effort switch. Use for "when done switch to", "after this drop to sonnet", or "switch model when idle".
weekly-review
Generate the weekly review report for the current ISO week. Writes to .hermit/compiled/review-weekly-YYYY-Www.md (dev-facing detail) and sends a plain-language channel summary (Delivered / Decisions / Waiting on you / Spend). Runs every Sunday at 23:00 via routine.
watch
Background events via the config watch monitor or ad-hoc Monitor tool. Quiet watches cost zero tokens.
watch-activate
Activate the config watch monitor.