From onebrain
Daily briefing: surfaces tasks due today and open items from the last session
npx claudepluginhub kengio/onebrain --plugin onebrainThis skill uses the workspace's default tool permissions.
Surfaces tasks due today and open items from the last session.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Performs token-optimized structural code search using tree-sitter AST parsing to discover symbols, outline files, and unfold code without reading full files.
Surfaces tasks due today and open items from the last session.
Read vault.yml and extract:
folders.logs as [logs_folder] (default: 07-logs)folders.inbox as [inbox_folder] (default: 00-inbox)folders.projects as [projects_folder] (default: 01-projects)Count inbox items: Glob [inbox_folder]/*.md and store the count as [inbox_count].
Determine today's date (YYYY-MM-DD) and current local time in Asia/Bangkok:
Glob [logs_folder]/**/*.md. Find the most recent session log whose date frontmatter is before today (not today). On Mondays this will typically be Friday's log. If no prior session exists, skip this section silently.
Read that day's session log(s). Extract main topics and any unchecked action items.
Pull from two sources:
Source 1 : Tasks due today or overdue:
Grep [projects_folder]/**/*.md and [inbox_folder]/*.md for task lines matching - [ ] .*๐
\d{4}-\d{2}-\d{2}. Filter to dates โค today. Group: overdue first, then due today. Include the source note name.
Source 2 : Open action items from last session:
If morning mode: already loaded from recap step above; extract unchecked - [ ] items from the ## Action Items section.
If normal mode: Glob [logs_folder]/**/*.md. Find the most recent session log whose date frontmatter is before today. Read that log and extract unchecked - [ ] items from the ## Action Items section.
## Daily Briefing ยท Ddd DD Mon YYYY [morning / afternoon / evening] ยท inbox N
**Last session (DD Mon):** [1โ2 sentence recap of topics + open items]
(morning mode only โ skip if no prior session found)
**Tasks due today:**
- [ ] Task description ๐
YYYY-MM-DD (from [[Note Name]])
- [ ] Overdue task ๐
YYYY-MM-DD (overdue - from [[Note Name]])
**Open from last session:**
- [ ] Action item text
Ddd is the abbreviated day of week (Mon, Tue, Wed, Thu, Fri, Sat, Sun)ยท inbox N if inbox count is 0If both task sources are empty:
No tasks or open items for today.