Agent Skillsrcarmo/piclaw › situate-daily-notes

situate-daily-notes

GitHub

用于生成每日情境报告和更新 Obsidian 风格日记,自动聚合会话活动、刷新记忆文件并检查笔记状态。

skel/.pi/skills/situate-daily-notes/SKILL.md rcarmo/piclaw

Trigger Scenarios

用户要求回顾进度 执行 close-of-day 流程

Install

npx skills add rcarmo/piclaw --skill situate-daily-notes -g -y
More Options

Non-standard path

npx skills add https://github.com/rcarmo/piclaw/tree/main/skel/.pi/skills/situate-daily-notes -g -y

Use without installing

npx skills use rcarmo/piclaw@situate-daily-notes

指定 Agent (Claude Code)

npx skills add rcarmo/piclaw --skill situate-daily-notes -a claude-code -g -y

安装 repo 全部 skill

npx skills add rcarmo/piclaw --all -g -y

预览 repo 内 skill

npx skills add rcarmo/piclaw --list

SKILL.md

Frontmatter
{
    "name": "situate-daily-notes",
    "description": "Situate yourself by generating a 1-page situation report and maintaining Obsidian-style daily summary notes.",
    "distribution": "private"
}

Situate daily notes

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.

Script roles

  • situate.ts — full situation report + rolling memory refresh + note status check
  • daily-notes.ts — generate or refresh daily-note skeletons only

Quick start

bun run /workspace/.pi/skills/situate-daily-notes/situate.ts

This:

  1. prints a one-page situation report
  2. aggregates activity across the relevant chat/session scope
  3. generates missing daily-note skeletons
  4. refreshes rolling memory/context files under notes/memory/
  5. lists notes that still need summaries or partial updates

For web:* scopes, all web session trees are included and labelled so parallel branches stay distinguishable.

Daily note format

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.md
  • notes/memory/recent-context.md
  • notes/memory/MEMORY.md

Writing summaries

Daily notes summarise activity. The message database is the source of truth for the full transcript.

When situate.ts or daily-notes.ts reports notes that need summary work:

  1. read the note to confirm the target day and current metadata
  2. use the messages tool as the primary transcript source
  3. write a concise narrative summary covering:
    • work grouped by theme rather than chronology
    • key outcomes / deployments / configurations
    • unresolved blockers or open threads
    • materially different branch conversations kept distinct
  4. replace <!-- NEEDS_SUMMARY --> or the update marker
  5. move summarised_until to the last covered message timestamp

If 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.

Options

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

Standalone daily-note generation

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.

Version History

  • 5fa0ce5 Current 2026-07-25 10:26

Same Skill Collection

runtime/skills/builtin/reload/SKILL.md
runtime/skills/builtin/remote-peer/SKILL.md
runtime/skills/builtin/schedule/SKILL.md
runtime/skills/builtin/script-discovery-annotation/SKILL.md
runtime/skills/builtin/send-message/SKILL.md
runtime/skills/integrations/playwright/SKILL.md
runtime/skills/operator/graphite-power-chart/SKILL.md
runtime/skills/operator/token-chart/SKILL.md
skel/.pi/skills/adaptive-cards-authoring/SKILL.md
skel/.pi/skills/bootstrap-container/SKILL.md
skel/.pi/skills/debug/SKILL.md
skel/.pi/skills/export-timeline-pdf/SKILL.md
skel/.pi/skills/extension-design/SKILL.md
skel/.pi/skills/extension-troubleshoot/SKILL.md
skel/.pi/skills/feature-refinement-flow/SKILL.md
skel/.pi/skills/feed-digest/SKILL.md
skel/.pi/skills/graph-design/SKILL.md
skel/.pi/skills/graphite-power-chart/SKILL.md
skel/.pi/skills/kanban-management/SKILL.md
skel/.pi/skills/mcp-adapter/SKILL.md
skel/.pi/skills/playwright/SKILL.md
skel/.pi/skills/reload/SKILL.md
skel/.pi/skills/remote-peer/SKILL.md
skel/.pi/skills/schedule/SKILL.md
skel/.pi/skills/script-discovery-annotation/SKILL.md
skel/.pi/skills/send-message/SKILL.md
skel/.pi/skills/setup/SKILL.md
skel/.pi/skills/technical-docs/SKILL.md
skel/.pi/skills/timeline-cleanup/SKILL.md
skel/.pi/skills/token-chart/SKILL.md
skel/.pi/skills/twitter-summary/SKILL.md
skel/.pi/skills/web-search-summary/SKILL.md
skel/.pi/skills/web-search/SKILL.md

Metadata

Files
0
Version
ae927fb
Hash
5b923889
Indexed
2026-07-25 10:26

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 15:16
浙ICP备14020137号-1 $Гость$