بنقرة واحدة
close-of-day
// Run a daily end-of-day sweep: refresh situation notes, back up state, clean low-value timeline traffic, and run the daily-notes summarisation flow before declaring the day closed.
// Run a daily end-of-day sweep: refresh situation notes, back up state, clean low-value timeline traffic, and run the daily-notes summarisation flow before declaring the day closed.
Generate a 7-day token usage chart (all chats) and post it to the web UI timeline.
Search the web via SearXNG (or DuckDuckGo fallback) and optionally fetch result pages as raw Markdown content.
Search via SearXNG (or DuckDuckGo fallback), fetch top results, and return sentence-level summaries plus optional converted page content.
Diagnose and fix issues with the Pibox container environment — tools, paths, mounts, pi configuration.
Reinstall piclaw from workspace source and force-restart the running process. Use after making code changes to piclaw.
Situate yourself by generating a 1-page situation report and maintaining Obsidian-style daily summary notes.
| name | close-of-day |
| description | Run a daily end-of-day sweep: refresh situation notes, back up state, clean low-value timeline traffic, and run the daily-notes summarisation flow before declaring the day closed. |
One-shot daily maintenance for:
This skill runs:
/workspace/scripts/situate.ts with --update-notes/workspace/.piclaw/restic/backup.sh) before cleanupsituate-daily-notes workflow immediately afterwards for a full close-of-day runUse the messages tool for cleanup and summarisation where available:
search + delete for cleanup candidate discovery/removalsearch + get for daily-note summarisation workFor web:*, the session scope includes all web session trees (root chats plus branches), not just the currently visible tab.
bun run /workspace/.pi/skills/close-of-day/close-of-day.ts \
--days 1 \
--chat-jid web:default \
--report /workspace/exports/close-of-day.md \
--cleanup
--dry-run — preview cleanup only (default behaviour for deletion)--apply — perform deletions--include-media — allow deletion of messages with attachments--skip-backup — skip restic backup--situate-only — generate/update the situation report only; this is not a full close-of-day run--cleanup-only — run cleanup only; this is not a full close-of-day run--days <n> — how many days to include in the situation report and cleanup search window--since <iso8601> — override window start for cleanup--chat-jid <jid> — target chat context (default web:default)--report <path> — report path (default /workspace/exports/close-of-day-<DATE>.md)--include-media — delete messages that still have attachments--skip-backup — skip restic backup--backup-cmd <command> — override backup command--situate-only — skip cleanup and daily-note completion--cleanup-only — skip situate and daily-note completionDo not report “day closed” until all of the following are done:
/workspace/.pi/skills/situate-daily-notes/SKILL.md followed and the relevant daily notes updated in the same taskIf you use --situate-only or --cleanup-only, treat the run as a partial maintenance pass, not as a completed close-of-day.
--include-media is setweb:* session trees diverged, preserve branch separation in the resulting daily summaries instead of blending them togetherExpect these to remain consistent after a full run:
notes/daily/YYYY-MM-DD.mdnotes/daily/*.agent.jsonnotes/memory/current-state.mdnotes/memory/recent-context.mdnotes/memory/MEMORY.mdFor ad-hoc cleanup groups without the daily-note workflow, use timeline-cleanup directly.