Skip to content
Back to skills

Closeday

ASecurity

End-of-day wrap-up — synthesize sessions, update the daily note with observed patterns, detect ongoing Warhammer WIP, check for overdue essay-check. Trigger when the user says one of these phrases: \"closeday\", \"j'arrête\", \"je finis\", \"c'est fini\", \"fin de session\", \"bonne nuit\", \"bonne journée\", \"j'arrête pour aujourd'hui\", \"ça suffit\", \"journée finie\", \"c'est bon je m'arrête\", \"c'est terminé\" or via /closeday.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
researchrustgobashexpressrailsgitapi

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add Zoomma1/get-your-life-together --skill closeday --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Closeday?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Closeday
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zoomma1-closeday/badge)](https://www.skillsdirectory.com/skills/zoomma1-closeday)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: closeday
description: "End-of-day wrap-up — synthesize sessions, update the daily note with observed patterns, detect ongoing Warhammer WIP, check for overdue essay-check. Trigger when the user says one of these phrases: \"closeday\", \"j'arrête\", \"je finis\", \"c'est fini\", \"fin de session\", \"bonne nuit\", \"bonne journée\", \"j'arrête pour aujourd'hui\", \"ça suffit\", \"journée finie\", \"c'est bon je m'arrête\", \"c'est terminé\" or via /closeday."
narrative_critical: true
---

> **⚠️ narrative-critical — Skill protected against aggressive optimization**
>
> This skill produces **qualitative narrative output**. Its effectiveness is measured by the **richness of the output produced**, not by structural compactness.
>
> **For `/evaluateskills`**: in case of mutation, **a Sonnet dry-run is mandatory even if delta < 2**. Do NOT apply `[LEAN]` / `[STRUCTURE]` in a way that strips the narrative instructions (grouping, context, highlights, open questions, tone, narration). Preserving qualitative content takes precedence over line reduction.

# Skill: Close Day

## Trigger

When the user says one of these phrases (or an equivalent):
- "closeday"
- "j'arrête", "je finis", "c'est fini"
- "bonne nuit", "bonne journée"
- "fin de session", "je m'arrête"

Or: the `/closeday` command

## Step 1 — Collect the day's data

**Target date**: compute before any reading. If `time < 04:00` → date = the previous day, otherwise date = today. Use this date for all paths below.

Read in parallel (with fallbacks):

1. **Today's daily note**: `00 - Daily notes/[target date].md`
   - If missing → create a minimal file (empty frontmatter + day title), continue
   - Format: `---\n---\n# YYYY-MM-DD\n`

2. **Today's sessions**: `99 - Claude Code/Sessions/YYYY-MM-DD.md`
   - If missing → synthesize from the daily note, and note `[Approximate synthesis — to be validated by {USER_NAME}]`
   - If several sessions → list each one with its start time (e.g. `09:30 — Project X`)
   - If the file is too long (token error) → read it in successive chunks (limit: 200, offset: 0 → 200 → 400 → …) until fully read. Never build the wrap-up on a partial read — if truncated, note `[Read in full by chunks — synthesis validated]`.
   - ⚠️ **A session's timestamp is NOT the time the work happened.** Entries in `Sessions/YYYY-MM-DD.md` carry the time of the `/recapsession` or `/clear` that wrote them, not the time of execution. **Never infer a schedule pattern** ("night-time resumption", "day overflowing", "works late") from these timestamps alone — cross-check against the state actually declared (Telegram channel, daily note, how it felt) before concluding anything about the rhythm of the day. *(Cause: 2026-07-22, a closeday concluded "cut at 19:28, resumed at 22:29" when the evening had indeed been cut, and the entries at 22:29/22:59/23:00 were only recaps and clears. Confirmed by {USER_NAME} on 07/27: "it's just that I clear too late".)*

3. **Hobby Kanban**: `02 - Hobbies/Hobby Kanban.md`
   - If missing → skip Step 1.5 silently
   - Check whether the `## WIP` column contains tickets (non-empty items)

4. **Weekly review — 3 previous daily notes**: `00 - Daily notes/YYYY-MM-DD.md` for D-1, D-2, D-3
   - Targeted reading of the sections `## 🌙 Bilan du jour`, `## 💡 Idées & Réflexions`, and the frontmatter (`energy`, `score`, `ressenti`)
   - If a daily note is missing → skip silently, continue with the ones present
   - Goal: detect inter-day patterns (energy rising/falling, subjects that recur, contradictions with today, highlights that repeat or stand alone)
   - This data feeds step 2.2 (sourced open questions) and step 2.3 (the "État général" narrative)

5. **Command tracker**: `99 - Claude Code/command-tracker.md` — **read here, during collection**, not only at Step 6 (essay-check)
   - Compare the `Dernière exécution` dates with the target date: any command dated **today** is a workstream of the day, to be included in the Step 2.1 bullets just like a session
   - **Why**: a heavy skill run in **another Claude Code window** writes neither a session nor a daily-note line. For the wrap-up, it exists only in the tracker. Without this read it becomes invisible and the wrap-up under-reports the day. *(Cause: 2026-08-02, a 20 KB `/closemonth` run in parallel at 17:55 was missing from the wrap-up; the gap was only fixed by a manual correction from {USER_NAME} the next day.)*
   - If the file is missing or its table is unreadable → skip silently, continue

## Step 2 — Build the wrap-up

### 2.1 — Aggregation and narrative grouping

From the daily note and `Sessions/YYYY-MM-DD.md`, extract and **group by workstream** (not a flat chronological order):

- **Grouping by workstream/theme**: one feature, one project, one refinement session, one personal project = a single bullet. Do not split by session if several sessions cover the same subject.
- **Mandatory execution context per bullet**: for each workstream, include what makes the work concrete — stack touched, files modified, tests written, ADR created, decisions taken, people involved. No bare bullets like "Bug 429 fail to fetch" — prefer "Bug 429 + fail to fetch on armed input/project — client-side exponential retry, Prisma timing debug, 3 tests added".
- **Narrative highlights**: explicitly note the day's notable events (good surprise, frustration, moment of joy, notable interaction, crisis). These go into `État général` in step 2.3, not into the bullet list.
- **Energy and states**: observations of flow, fatigue, blockers, notable gaps (e.g. low energy but high output) — for `État général`.
- **Hobby — the Hobby Kanban measures a solo waiting queue, never the presence of hobbies during the day.** ⛔ **Never write "hobby skipped", "Nth postponement", or derive an avoidance pattern from the unchecked boxes of the kanban alone** — those boxes only say that a named project (a miniature, the guitar) did not move forward, not that there was no hobby. A **shared and spontaneous** hobby — a game night, an outing, a session with someone — leaves no trace in **any instrument**: not the kanban, not a Claude Code session, not a checked box. It only exists if {USER_NAME} says so. The correct move: if postponement counters are the only material, **ask** ("did the hobby budget go to something?") before concluding anything, and count the `hobby_hours` frontmatter as a hint that something happened that the kanban cannot see. *(Cause: 2026-08-28, a closeday wrote "hobby remains the only expense never used — 10th postponement for the Ork, 5th for the guitar" while the evening had been spent playing Magic with [partner], starter decks bought that same day, and it was one of the three highlights of the day — later picked up in the declared feeling. The "6th / 8th / 9th postponement" series from previous days was measuring two things at once and presenting them as one.)*
- **Inter-day patterns**: cross-referencing the 3 previous daily notes (loaded in step 1, point 4), note what repeats, what contradicts, what emerges as a constant. These observations feed the open questions in step 2.2.
  - ⚠️ **Mandatory guard — a gap that repeats is not a behavioral pattern until its external cause has been looked for.** Before qualifying a regularity as a trend, an attention drift, or a signal about priorities, look first for a **context cause**: season, a third party's leave, client load, hardware unavailability, time of year. If one exists → **name it**, and set the **re-test condition** ("if the gap holds once X is back, only then is it a signal"). If you looked for one and found none → say so.
  - The failure mode is specific to the wrap-up: a series of **4-5 days is enough** to make a nice observation, and an observation phrased in terms of *behavior* is far more interesting to write than an external fact — so it wins, untested. The cost is not the analysis error (it gets corrected in one sentence) but the fact of **capitalizing** it: anchored here and then in `{USER_NAME}.md` via `/closeweek` Step 5, a situational regularity becomes a character trait that subsequent wrap-ups will confirm **by construction**.
  - Reflex: *what external cause would produce exactly this series?* *(Cause: 2026-08-10 — a pattern written as "fifth day in a row that team tooling carries the wrap-up ahead of the Run, the gap widens", presented as a signal about attention allocation. {USER_NAME} refuted it in one sentence: "many clients are on holiday so very few tickets to handle". It was August.)*
- **Semantic déjà-vu check** (optional): for each pattern identified above, query:
  ```bash
  uv run ~/.claude/semantic_search.py "<pattern in 3-5 words>" --top-k 2 --type accompli
  ```
  If similarity ≥ 0.45 on a previous session → the pattern is a **déjà-vu**. For each déjà-vu:
  1. **Date of first appearance**: extract the date of the session found
  2. **What followed**: re-run with `--type prochaines_etapes --since <date>` to see the planned follow-ups after that pattern
  3. **Causal link**: if follow-ups exist, build the link "pattern → what happened next"
  These pieces of information enrich the `Patterns détectés` section of the note (see the template below).
  If Postgres/Ollama is unreachable → non-blocking, display: `⚠️ Déjà-vu check unavailable (Postgres/Ollama down) — patterns sourced from daily notes only.`
- **Ideas/Decisions**: note them, but **handle them in Step 4, not here**.

### 2.2 — Presenting and validating the wrap-up

Present to {USER_NAME} **the complete narrative version** — not a summary. {USER_NAME} must see in the chat what will be written, not a flat preview:

> Here is what I saw over the day:
>
> **What got done** (grouped by workstream, context included):
> - [workstream 1 — execution context: stack, files, tests, ADR, decisions]
> - [workstream 2 — execution context]
> - …
>
> **Overall state** (narrative, 2-4 sentences): [energy felt, flow or friction, the day's highlight, any link to fatigue/motivation — tell the story of the day, don't summarize it]
>
> **Observed patterns** (cross-referenced with the 3 previous days):
> - [recurring pattern or contradiction detected, sourced "already seen D-1/D-2" or "new vs yesterday"]
> - [energy/output gap, or motivation compensating for fatigue, etc.]
>
> **2 questions to dig into** (sourced on the weekly review, not generic):
> 1. [Question tied to a specific inter-day pattern, e.g. "Pattern X came back 3 times this week — is it a constant or linked to context Y?"]
> 2. [Question about what the notes don't capture well, or an observed contradiction]

**Mandatory guard — ask what was done off-trace when the day was truncated.** Before presenting the bullets, look for a sign that the **tracing instrument itself** was unavailable for part of the day: token quota exhausted, session interrupted mid-workstream, Claude/PC cut off, work done on another machine or verbally. Readable signs: a time gap between two recaps, a recap ending on a `/handoff`, a mention of a limit reached in the daily note.

If so → ask the question **explicitly**, never infer it:
> *"There's a gap in the trace between HH:MM and HH:MM — did you make progress on something during that time?"*

**Why this guard is necessary**: without it, the wrap-up doesn't merely omit this work, it turns it into a **leftover** in its *Demain* section — and the next day's `/today` picks it up as a task to do, when it is already done. The wrap-up then **fabricates** the falsehood it was supposed to prevent. *(Cause: 2026-09-04, the [client-a] mission zoom and the request to [colleague] were filed as leftovers although they were done, the work having happened while the tracing instrument was out of tokens; only caught because {USER_NAME} said so out loud. Family 6 of [[03 - Knowledge/Claude code/etat-affiche-survit-a-son-invalidation]], graduated on 05/09 — countermeasure encoded here on 2026-09-10.)*

**Rules for open questions**:
- **Always 1 to 2 questions**, never zero (that is what makes the retrospective come alive)
- **Sourced**: each question must rest on something concrete seen in the last 3 dailies or in today's thinking sessions
- **Not generic**: avoid "how do you feel?", "what did you learn?" — prefer precise questions about detected patterns or contradictions

**If `## 💡 Idées & Réflexions` exists and is filled** → present the complete narrative version + open questions, then ask: "Good to go, should I note it?"
- Accept: yes, ok, d'accord, ouais. Refuse: non, nope, silence/timeout (45s) → continue without modifying anything.

**Otherwise (section empty or absent)** → present what could be reconstructed + ask:
> (1) What did you actually make progress on? (2) A blocker or observation? (3) [question sourced on the weekly review if patterns were detected]

Accept free-form answers. Timeout (45s) or no answer → include existing data (sessions, weekly review) + note "[Quick Wrap skipped — timeout]".

### 2.3 — Writing the wrap-up

**Check whether `## 🌙 Bilan du jour` already exists** → if yes, go to Step 3 (wrap-up already written). If not, add at the bottom of the daily note:

```markdown
## 🌙 Bilan du jour

### Ce qui a été fait
- **[Workstream 1 — narrative title]** — complete execution context: stack touched, files modified, tests written, ADR created, decisions taken, concrete results
- **[Workstream 2 — narrative title]** — complete execution context
- [...]

### Énergie & état
- Énergie du jour : [frontmatter value or "non renseignée"]
- Score final : [score]/5 — *[ressenti]*
- **État général** : [NARRATIVE 2-4 sentences — tell the story of the day, don't summarize it. Include: the tone of the day (atypical, dense, calm, difficult...), any energy/output gap, the flow moments, the highlight(s) noted (good news, frustration, notable interaction, crisis, joy). No bullets here — text that tells a story.]

### Patterns détectés
[Cross-reference with the 3 previous daily notes. Integrate 2-4 structured observations:
- Inter-day patterns (recurrences, contradictions, energy/output gaps)
- Emerging behavioral dynamics sourced on concrete facts
- If `## 💡 Idées & Réflexions` is filled: do NOT just write "See Réflexions section" — do the **meta** work on top, note what emerges from crossing several thinking sessions, not just list them
- For patterns identified as déjà-vu (semantic check Step 2.1): mandatory format:
  `→ Already observed on YYYY-MM-DD — follow-up: [what followed, in 1 sentence]`]

### Demain
- Prochaine étape prioritaire : [from the sessions]
- À ne pas oublier : [mentioned during the day]
```

**Critical rule on narrative quality**: this wrap-up is the skill's main output. Steps 4 (ideas to file), 5 (capitalization proposals) and 6 (essay-check) are **secondary** and must **under no circumstances** compromise the richness of the wrap-up. If the model feels pulled between "writing the wrap-up well" and "anticipating lateral capitalizations", **absolute priority goes to the narrative wrap-up**.

## Step 3 — Score, feeling and frontmatter

> ⛔ **Never pre-fill `score` or `ressenti`.** These two fields are **declarations by {USER_NAME}**, not inferences from the wrap-up. Even when the sessions say "satisfied", even when the day visibly went well, even in `/closeyesterday` where the day ended long ago: **ask the question and wait for the answer**. Writing a plausible value in its place means attributing to them a feeling they never expressed — and once in the frontmatter, that value feeds the averages of `/closeweek`, `/closemonth` and the `/stranger` gate as if it had been declared.
> *(Cause: 2026-08-22, closeday for the 21st — score and ressenti pre-filled, corrected immediately by {USER_NAME}. Proposal of the day.)*

**Score** — Check whether `score:` exists in the frontmatter (numeric value 1-5).

**If present and valid** → move on to the feeling.

**If absent or invalid**:
- Ask: "Rate your day out of 5?"
- Accept: numbers 1-5. Refuse: non-number, silence/timeout (30s) → skip without a score.
- If obtained → write to the frontmatter: `score: [value]`

(This score determines the weekly essay-check in Step 6.)

**Feeling (`ressenti`)** — Always ask, whether or not the score is already present:
- Ask: "One word about the day?" (e.g. *"hard in the morning, good recovery in the afternoon"*, *"smooth all along"*, *"exhausting but satisfied"*)
- Accept: free text, 1 line max. Timeout (30s) → skip without a feeling.
- If answered → write to the frontmatter: `ressenti: "[text]"`

## Step 4 — Ideas and decisions: filing suggestions

From the sessions and the daily note, **note all ideas/decisions mentioned**: new insights, changes of direction, tasks to track, tech to explore, etc.

**If none found** → skip silently, go to Step 5.

**If some found**: propose a destination for each one:

```
[Idea] → [Destination : 03 - Knowledge/ | 04 - Projects/… | 01 - Me/{USER_NAME}.md | project kanban | Hobby Kanban | command-tracker]
```

Present:

> Ideas/decisions of the day:
> - [item 1] → [destination]
> - [item 2] → [destination]
>
> Want me to file some of them?

Accept: explicit lists ("yes, the first 2", "item X only"). Refuse: "non", "nope", silence/timeout (45s) → leave them in the daily note, write nothing.

## Step 5 — Capitalization proposals (conditional)

**Check** whether `99 - Claude Code/Sessions/proposals-YYYY-MM-DD.md` exists for today's date.

**If absent** → skip silently, go to Step 6.

**If present and `processed: true`** → skip silently, go to Step 6.

**If present and `processed: false`**:

1. Read the file
2. ⚠️ **Open each named target BEFORE presenting — a `proposals-*.md` is a set of hypotheses, not a set of facts.** It was written at the end of a session by an agent that had not reopened the files it cites. For each proposal, verify two things:
   - **① Does the decision already exist?** Scan the `INDEX.md` of the target ADR folder. A duplicate always presents itself as a new decision — and if the decision already exists, the real finding is not "we must take it" but "it was taken and **never exercised**", which prescribes something else (amend it, or encode it into a skill that runs it).
   - **② Does the named target actually carry the incriminated behavior?** Open the file and find the faulty line. An installation skill does not necessarily contain what runs in production.

   Present the finding **together with** the proposal, never after {USER_NAME}'s validation. A proposal that does not survive opening its target must not reach them in the form of "do you approve?".

   *(Cause: 2026-09-08 — 2 of 3 proposals were false when opened, discovered at the 09/09 closeday **after** {USER_NAME} had validated everything. ① The ADR "backup DNS for critical CTs" duplicated [[ADR-009-dns-lxc-infra-resolveur-public]], decided three months earlier on the **same** container after the **same** incident — the recurrence was the subject, not the decision. ② The patch targeted the skill `git-guardrails-claude-code`, whose bundled script contains **no** `merge` pattern; the faulty pattern lived in `~/.claude/hooks/git-guard.js`, which this skill does not even distribute. Direct application of the lesson of 22/08 — specifying a change without opening the target file produces **false** specs, not risky ones.)*

3. Present the proposals to {USER_NAME}:

> Capitalization proposals of the day:
>
> [for each Session block]
> **Session HH:MM:**
> - [ADR] Title — Scope — Context
> - [Skill] Skill name — Action — Context
>
> Do you validate, reject, or postpone?

4. For each validated item:
   - **Cross-cutting ADR** → create in `99 - Claude Code/ADR/` + update `ADR/INDEX.md`
   - **Project ADR** → create in `04 - Projects/[Project]/claude-code/ADR/`
   - **Skill update** → apply the change in `99 - Claude Code/Skills/[skill].md`
   - **Skill create** → invoke `/create-ticket` with type Amélioration to ticketize the creation
5. Timeout (45s) or global refusal → skip everything
6. **Always** mark `processed: true` in the frontmatter after processing (validated or not)

## Step 6 — Weekly essay-check (conditional)

**Read** `99 - Claude Code/command-tracker.md` and look for the last line `- /essay-check → YYYY-MM-DD`.

**Cadence**: read from the 3rd column of the command-tracker line (`| /essay-check | YYYY-MM-DD | <N> jours |`). If the column is absent/unreadable → **fallback 15 days**.

**Conditions to trigger essay-check**:
- command-tracker exists **AND**
- `/essay-check` entry found **AND**
- date in valid YYYY-MM-DD format **AND**
- `today − date ≥ cadence` (overdue; cadence = column 3, default 15 days)

Otherwise (file missing, entry not found, invalid format, or date < cadence) → skip the essay-check, **go to Step 7**.

---

**If essay-check is overdue**:

Trigger `/essay-check` and wait for its return. (The entire synthesis, check-in, and enrichment of {USER_NAME}.md are handled by the dedicated `essay-check` skill.)

**After essay-check**: update the command-tracker: `/essay-check → YYYY-MM-DD` (today's date). Then go to Step 7.

## Step 7 — Dreaming measurement nudge (conditional — Phase 0)

**Read** `99 - Claude Code/memory/digest.md`.

**Conditions to trigger the nudge**:
- the file exists **AND**
- its frontmatter contains `enabled: true`

Otherwise (missing, `enabled: false`, or invalid format) → skip silently, end of closeday. *(The nudge thus switches itself off as soon as Phase 0 dreaming is disabled — no debt to clean up.)*

---

**If active**:

Phase 0 of dreaming tests whether the working digest injected at SessionStart actually helps (cf. `99 - Claude Code/memory/phase0-log.md`, spec §11 — *"without a metric, impossible to decide"*). From today's sessions, **propose** to {USER_NAME} one line to add to the Journal table of `phase0-log.md`:

```
| YYYY-MM-DD | <day's session(s), topic> | <✅ / ⚠️ partial / ❌ stale> | <yes/no fetch avoided> | <yes/no useful hit> | <short note> |
```

- If nothing is observable (digest not used, day outside the vault) → still propose a neutral line (`| … | — | — | — | no notable usage |`): **the trace of absence counts** for the verdict.
- **No writing without validation from {USER_NAME}** — append at the end of the Journal table, never overwrite. Never judge "useful hit" on their behalf without confirmation.
- If {USER_NAME} reports that a living thread has changed → offer to update `digest.md` + its `updated:` (optional, at their request).

## Rules

1. **Absolute priority to the narrative wrap-up** — the skill's main output is a rich, narrative wrap-up, grouped by workstream, with weekly review and sourced open questions. Steps 4-5-6 (filing, capitalization, essay-check) are **secondary** and must never degrade the quality of the wrap-up. If the model must arbitrate between narrative richness and anticipating the lateral steps, choose narrative richness.
2. **No flat lists** — Step 2.3: the bullets of "Ce qui a été fait" must be grouped by workstream with complete execution context, never a flat chronological list. "État général" must be a 2-4 sentence narrative, not a bullet summary.
3. **Always 1-2 sourced open questions** in step 2.2 — never zero, never generic. They must rest on concrete patterns observed in the 3 previous daily notes or in today's thinking sessions.
4. **No writing without confirmation** — always present before writing.
5. **Standard timeouts** — each interaction has a max (30-45s depending on context). On expiry: default action (skip, continue + note "[action skipped — timeout]").
6. **Missing files handled gracefully** — silent skip if non-blocking (except today's daily note — create it if missing).
7. **Append-only** — never overwrite the daily note — `## 🌙 Bilan du jour` sections are added at the bottom. If it already exists → skip to Step 3.
8. **Robust parsing** — unexpected format (e.g. `score: "quatre"`, malformed date) → skip + note "[invalid format]", do not block.
9. **Chunking by slices** — too long: limit: 200 (sessions), offset: 0 → 200 → … until the end.
10. **{USER_NAME}.md fallback** — if absent, silently skip all enrichment (Step 6 only).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in research →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.