← ClaudeAtlas

synclisted

Sync / "good morning" / "set up my day" — creates or refreshes the daily note, generates meeting prep, surfaces overdue tasks and review queue. Handles "plan tomorrow" and weekly note creation. Moves previous daily/weekly notes to archive when new ones are created.
agentflock/myna · ★ 4 · AI & Automation · score 83
Install: claude install-skill agentflock/myna
# myna-sync If vault_path is not in context, read `~/.myna/config.yaml` first. If the file does not exist, tell the user to run `/myna:setup` and stop. Sets up or refreshes your day. Rerunnable at any time — each run prepends a fresh snapshot at the top of the daily note; previous snapshots stay untouched. --- ## When Invoked **Normal sync ("sync", "good morning", "set up my day"):** Runs for today. **Plan tomorrow ("plan tomorrow", "set up tomorrow"):** Runs for the next business day. Creates tomorrow's daily note and populates it with known calendar events and tasks due that day. --- ## Step 1: Read Config Read from `_system/config/workspace.yaml`: - `vault.path` → vault root; Myna subfolder is always `myna` (hardcoded) - `work_hours.start` and `work_hours.end` → for capacity calculations - `timezone` → for date resolution - `calendar_event_prefix` → prefix for naming calendar events (event type labels are hardcoded: Focus, Task, Reminder) Read from `_system/config/projects.yaml`, `_system/config/people.yaml`, `_system/config/meetings.yaml`. If `workspace.yaml` is missing or unreadable, stop and tell the user: "workspace.yaml not found at `_system/config/workspace.yaml`. Myna can't run without it." --- ## Step 2: Determine Target Date and Current Time Get the current date, time, and day of week using the configured timezone — always via Bash, never derived internally: ```bash TZ={timezone} date +"%Y-%m-%d" # today's date TZ={timezone} date +"%H:%M"