en un clic
situate-daily-notes
// Situate yourself by generating a 1-page situation report and maintaining Obsidian-style daily summary notes.
// Situate yourself by generating a 1-page situation report and maintaining Obsidian-style daily summary notes.
| name | situate-daily-notes |
| description | Situate yourself by generating a 1-page situation report and maintaining Obsidian-style daily summary notes. |
| distribution | private |
Use this on demand when the user asks you to catch up, or as the required daily-notes phase of close-of-day.
Do not run it automatically at session start.
situate.ts — full situation report + rolling memory refresh + note status checkdaily-notes.ts — generate or refresh daily-note skeletons onlybun run /workspace/.pi/skills/situate-daily-notes/situate.ts
This:
notes/memory/For web:* scopes, all web session trees are included and labelled so parallel branches stay distinguishable.
Notes live at notes/daily/YYYY-MM-DD.md and begin with YAML front matter like:
---
date: 2026-03-04
summarised_until: 2026-03-04T17:55:35.286Z
messages_total: 25
messages_user: 10
messages_assistant: 15
session_trees: 2
session_chats: 4
first_message: 2026-03-04T12:31:03.860Z
last_message: 2026-03-04T17:55:17.309Z
scope_mode: all-web-session-trees
scope_anchor: web:default
---
Rolling memory outputs live under notes/memory/:
notes/memory/current-state.mdnotes/memory/recent-context.mdnotes/memory/MEMORY.mdDaily notes are summaries only; the message database remains the source of truth for full transcripts.
When situate.ts or daily-notes.ts reports notes that need summary work:
messages tool as the primary transcript source<!-- NEEDS_SUMMARY --> or the update markersummarised_until to the last covered message timestampIf a note is only partially behind, append a short update section and advance the watermark rather than rewriting the whole note.
Keep the prose terse, dense, and matter-of-fact. Preserve existing real summaries; only fill placeholders or append updates.
| Flag | Default | Description |
|---|---|---|
--days <n> | 7 | How many days of history to include |
--out <path> | /workspace/exports/situation.md | Situation report output path |
--update-notes | off | Refresh note metadata and memory outputs while generating the report |
bun run /workspace/.pi/skills/situate-daily-notes/daily-notes.ts [--days <n>] [--force]
For daily-note writing, prefer the messages tool over a separate full-transcript export unless you specifically need a transcript artifact.
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.
Author Adaptive Cards for the current PiClaw web environment. Use when you need a prompt pattern, supported payload shape, or reusable card templates for structured web interactions.