aemerson-commits/shareable-skills/start-day
Claude Code and agent skill by aemerson-commits/shareable-skills
- community
Checking that the SKILL.md file is still in the repository.
Morning startup: git pull, QMD update, session notes review, alerts check, ideas triage, and daily briefing
Install
npx vskill@latest install aemerson-commits/shareable-skills/start-daySKILL.md
The same SKILL.md was published earlier as aemerson-commits/shareable-skills/start-day.
Start Day — Morning Session Startup
Run this at the start of every session when the user says "good morning", "let's start", or similar.
Vault files
Read vault files directly: the Read tool (or cat) on {{vault_path}}/<path>, never the Obsidian CLI. Driving the desktop binary from a shell can hang past two minutes, launch the app instead of acting, or stall on its update check, and a morning briefing should not wait on any of those.
Resolve {{vault_path}} at runtime (an env var, else the per-user default) and never hardcode a username. Shell variables do not survive between Bash calls, so pass the resolved path itself to a Read call or into an agent's prompt.
⚠️ `$USER` is EMPTY in the Bash tool on Windows — $USERNAME carries it. A bare $USER silently builds /c/Users//..., which fails a [ -f ] test and reads as "not there" rather than as a broken path. Always ${USERNAME:-$USER}.
Execution
Run as many steps in parallel as possible. Steps 1-4 and Step 8 (Event Log check) are fully independent — launch them all at once. Step 5 depends on reading results. Step 9 (briefing) is the final synthesis.
Batch independent shell commands into ONE call. Each tool invocation carries fixed overhead (hook fires, subprocess spawns). Combine unrelated, path-agnostic probes into a single block (e.g. git pull --rebase --autostash; date +%u) and push slow background work (indexing, cache warms) into a backgrounded subshell (( long-running-command ) &) so it never blocks the briefing. Fewer calls = fewer hook fires = faster startup.
Step 1 — Git Pull (parallel)
Read the status line, not the pull's last line. After a stale autostash ref is cleared, the pull can print Already up to date while git status -sb still says [behind 147]. If it still says behind, fast-forward explicitly (git merge --ff-only --autostash <remote>/<branch>), then use the conflict recipe below.
Note the files changed and summarize what came in (new features, fixes, docs, etc.).
Recurring conflict — files regenerated by hooks/scripts. A plain git pull can abort with "local changes would be overwritten" when a tracked file is rewritten every session by automation (a derived queue, a usage tracker, a generated registry). Use --rebase --autostash (above) so the pull itself doesn't choke on your own working copy. If the autostash pop then conflicts and the ONLY conflicted paths are known regen-output files, they're disposable — resolve by taking the pulled version and dropping the stash, then let the session re-regenerate them:
A conflicted autostash pop stages every file it applied cleanly. Those files were unstaged before the pull, so git reset -q -- <path> puts them back the way the session found them. Skip it and another session's work-in-progress rides along in the next pathspec-free commit.
If any OTHER path is conflicted, stop and resolve it normally — do NOT blanket-discard.
Step 1b — Workspace Integrity (repo-local, instant)
In a monorepo, workspace source directories and/or the root node_modules can vanish from the working tree while the git index still lists them — so git status stays clean and the damage surfaces minutes later as a confusing "the dependency isn't installed" from whatever runs a build next. Concurrent sessions and worktree churn are the usual suspects. Catch it before anything builds:
Two details make this worth scripting rather than eyeballing:
- A file count cannot see a partial prune. A dependency tree can sit at hundreds of
entries — far above any count threshold — while specific packages are gutted and every lint/test/build is broken. Probe for a resolvable entry point instead.
- A gutted package is not repaired by a plain install — the installer sees the
directory and skips it. Remove that one package directory, then reinstall.
Exit 0 = all present; exit 1 = something's gone, and it should print the one-line recovery (restore tracked source dirs from HEAD; reinstall for a wiped dependency tree). Fail soft — never let this block the briefing. Surface only if it flags something; otherwise a single "Workspace: intact" line.
Step 1c — In-Flight Overlap Check (repo-local, instant)
If dead session worktrees pile up faster than they're cleaned, sweep them before reading the overlap list below, or the graveyard drowns the real signal. A worktree that should have been removed when its session ended typically survives for one of three reasons: the session was killed (window closed, process ended) without its cleanup hook ever firing; the worktree was left in a locked "still checking out" state by an add that got interrupted, and removal tooling refuses to touch a locked tree; or the branch itself outlived the worktree and got rebuilt from it on the next resume. A sweep step that only removes a worktree once its tree is clean and every commit is already on the integration branch (by patch, not just by ancestry) is safe to run unattended.
Surface what every OTHER session is already working on, so the day's plan routes new work to DISTINCT topics. When sessions run in parallel, the one collision that isolation cannot prevent is two of them building the same feature — you get duplicate branches and duplicate PRs solving the same problem. Step 1's pull already fetched the remote, so skip a second one:
Read-only. Lists open PRs plus every session worktree with its topic (parsed from the conventional-commit scope), whether it carries uncommitted work, how far ahead of the integration branch it is, and an OVERLAP flag for any topic with more than one active branch. Fail soft — a git/CLI error just skips it.
Surface in the briefing:
- If it reports overlaps, lead with the flagged topic list ("4 sessions on
<topic>—
check before starting another there").
- If none, a single "In flight: N sessions, all distinct topics" line.
- When the user states today's goals, cross-check each against the active-branch topics
and flag any that already have a live branch ("<topic> already has 4 active branches — route there rather than start fresh?"). This is the visibility half of the concurrency fix; isolation and commit guards are the enforcement half.
Step 2 — Re-index (background, parallel)
Run any project-specific re-indexing in background — don't wait for it. For example:
Verify a backgrounded indexer can actually find its config. A tool that reads $HOME/.config/... can no-op with exit 0 when the shell's HOME differs from the user's real home (Git Bash on Windows, a network home drive): it prints "No collections found" and indexes nothing. Backgrounding hides this completely, since nobody reads the output of a step designed not to be waited on, and the status command keeps answering from the stale index, so search looks healthy while it silently ages. Pin HOME to the directory that holds the config before the call, and run it once in the foreground when setting it up.
Step 3 — Review Recent Session Notes (parallel, use Agent, model: "sonnet")
Read the last 2-3 session notes from {{project}}/Sessions/ (glob for *.md, pick most recent by date). Summarize:
- What was worked on
- Any open items, blockers, or follow-ups
- "Left Off" state from last session
Read tool: {{vault_path}}/{{project}}/Sessions/{YYYY-MM-DD}.md, one per note (give the agent the resolved path).
Also check if yesterday's session note exists — if not, flag it (session notes may have been missed).
Check whether it was actually closed out, not just checkpointed. If your session-notes process distinguishes a cheap mid-day checkpoint from a full end-of-day close-out, look for whatever marker the full close-out leaves on the note (a frontmatter stamp, a dated header — whatever your process uses). A day can end on checkpoints alone if the user never said an end-of-day phrase, which leaves the Roadmap, project status, memory, and help content behind for work that already shipped; a check that only looks for a missing note can't tell a checkpoint-only day from a properly closed one. The marker must carry a VALUE: a hand-written blank placeholder (closed_out: with nothing after it) means NOT closed out. A check that only matches the key name reports every day closed and can never produce its own FAIL; match the key followed by non-whitespace. If yesterday's note exists but carries no close-out marker, surface it — "yesterday ended on checkpoints — Roadmap/status/memory may be behind" — and offer to run the full close-out for that date before starting new work.
If the close-out runs on a schedule, check its watermark, not each note. A scheduled close-out usually stamps only the NEWEST note and covers every earlier day through a closed_through watermark beside the stamp. Under that design a note with no marker is normal, and grepping each note for the marker flags covered days as missed and invites a by-hand close-out nobody owes. Compare the watermark with the last slot the schedule names instead. A watermark older than that slot means the run did not finish: lead the briefing with it, and fix the scheduler before falling back to a manual close-out. If you can't read the schedule or the watermark, say the check could not run. Never read that as covered.
Step 4 — Check Memory State (parallel, use Agent, model: "sonnet")
Read and summarize:
memory/promises.md— any unblocked deferred items?memory/working-state.md— any crash buffer / interrupted work?memory/MEMORY.mdActive Alerts section — list all active warnings
If promises.md or working-state.md don't exist, that's fine — report clean state.
If your memory index gets truncated or summarized past some size at session load, that cost already landed by the time anyone notices — morning is when you can still act on it, not after another day of accumulation on top. If you have a tool that reports index size and archive candidates, run it here (read-only) and surface a line only when it actually flags something ("N entries archivable, index over budget"); otherwise stay silent. Prefer a mechanism that only archives — moves old entries verbatim into a dated file — over anything that rewrites or condenses content; a lossy condense of a memory index is a far easier mistake to make (and to regret) than letting the file grow a bit longer.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/start-day/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aemerson-commits/shareable-skills/start-day)