# Goodnight

> Update the persistent daily Codex log under /clusterfs/mhg-data/yaoshen/codex_notes/daily. Use when the user says goodnight, asks to summarize today's work, asks to write a daily log, asks to record where we stopped, or wants a resumable handoff note for the day.

- Skill: `alina-shen/goodnight` (Agent Skill)
- Install (CLI): `npx skillmds@latest add alina-shen/goodnight`
- Raw SKILL.md: https://api.skillmd.com/api/skills/alina-shen/goodnight/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: Alina-Shen (https://skillmd.com/u/alina-shen)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/alina-shen/goodnight

---


# Goodnight

Use this skill to maintain daily work logs in:

`/clusterfs/mhg-data/yaoshen/codex_notes/daily/YYYY-MM-DD.md`

## Workflow

1. Use the current local date from the environment/user context for `YYYY-MM-DD`.
2. Open the existing daily note if present; create it if missing.
3. If today's note already exists, update that existing file in place instead of adding a second same-day daily log.
   - Merge new information into the existing `Summary`, `Files/Paths`, `Stopping Point`, and `Todo` sections.
   - Replace stale stopping points and completed todos rather than duplicating them.
   - Keep a short time-stamped subsection only when it adds meaningful chronology within the same day.
4. Maintain concise sections:
   - `Summary`: what was done today.
   - `Files/Paths`: important files, directories, scripts, status files, job IDs, or note paths.
   - `Stopping Point`: where the work currently stands.
   - `Todo`: concrete next checks or actions.
5. Prefer concise factual bullets over long chat transcripts.
6. Include enough absolute paths and job IDs that a future session can resume without reading the full conversation.
7. Do not include private reasoning or irrelevant command noise.
8. If the user asks for a specific item to be remembered, include it verbatim enough to preserve the meaning.
9. After writing, report the note path and a short summary of what changed.
10. Include `Good night!` in the user-facing final response after the log is written.

## Style

Keep notes durable and scan-friendly. Use dated headings for multiple entries in the same file, for example:

```md
## 15:40 - revdod resubmission
- Submitted jobs `23297114-23297126`.
- Stopped with 13 jobs pending/running on `lr8`.
```

