Skip to content
Back to skills

Recapsession

ASecurity

Create a recap of the current work session and propose captures (ADR/Skills) if applicable. Use when the user says "recap session", "on s'arrête", "c'est bon pour aujourd'hui", "je coupe" or via /recapsession.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
ai-agentsrustgobashdockerawsgitapidatabase

Works with

  • claude code
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 7, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Recapsession?

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

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

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: recapsession
description: Create a recap of the current work session and propose captures (ADR/Skills) if applicable. Use when the user says "recap session", "on s'arrête", "c'est bon pour aujourd'hui", "je coupe" or via /recapsession.
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`**: on any 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). Preservation of qualitative content takes priority over line reduction.

# Skill: Session Recap + Capitalization

## Purpose

A recap creates a lasting record of what was accomplished, which decisions were made, and what is blocking for tomorrow. It is the only place where Claude documents what it **saw**, not what {USER_NAME} **changed** (that is git's job).

## Triggers

- The user says "recap session", "on s'arrête", "c'est bon pour aujourd'hui", "je coupe"
- Command `/recapsession`

## Step 1 — Identify the context

1. Get the exact local time via bash:
   ```bash
   date +%H:%M
   ```
   Use this time in the section title. Never invent a time.
2. **Target date**: if `time < 04:00` → date = previous day, otherwise date = today. All sessions are written to `{VAULT_PATH}/{CLAUDE_CODE_FOLDER}/Sessions/[target date].md`, regardless of the project.
3. If a session note for the day already exists → add a new section `## Session [HH:MM]` rather than overwriting it.

## Step 2 — Build the recap

Summarize the session covering these 4 sections:

### What was done
Concise list of completed tasks and decisions made.

### Files discussed or consulted
Files covered during the session (not a git truth — Claude cannot see {USER_NAME}'s diff).
**If no file was consulted**, note "None — discussion/reflection session".

### Technical decisions or changes of direction
If decisions were noted, record their characteristics:
- **Nature**: does it concern several projects, a specific project, or a technical domain?
- **Scope**: does it affect code, infrastructure, daily workflow, skills?
**If no notable decision**, note "None — exploratory session".

### State at the end
What remains, logical next step, resume command if applicable.

> ⏱ **Time range = effective work only**: if a notable break (meal, absence > 15min) is signaled mid-ticket, the `⏱ HH:mm→HH:mm` range in the daily note must not span it. Close the range before the break, reopen after. Never silently write a range that includes a break.

### Session observation
Note honestly based on what happened during the session, without inventing:
- **Flow**: {USER_NAME} was moving fast, few blockers, direct answers
- **Focused**: progressing well but with effort
- **Blocked**: technical difficulties, several attempts
- **Frustrated**: frustration signals detected (rephrasing, corrections, "ça marche pas")
- **Tired**: short answers, less engagement, frequent pauses
- **Satisfied**: goal reached, good progress

If there is no clear signal → note "Neutral / no particular signal".

## Step 3 — Write the note

Write the recap to `{VAULT_PATH}/{CLAUDE_CODE_FOLDER}/Sessions/[target date].md` by adding a section.

Section title depending on context:
- Normal time: `## Session [HH:MM] — [short title]`
- After midnight: `## Session [HH:MM] 🌙 (after midnight) — [short title]`

```markdown
## Session [HH:MM] — [short title]

### ✅ Done
- ...
- ...

### 🔧 Files discussed / consulted
- ...

### 🧠 Decisions made
- ...

### ⏭️ Next step
...

### 🧭 Observation
[Flow / Focused / Blocked / Frustrated / Tired / Satisfied] — [one sentence of context]
```

Use Write or MCP if available, fall back to manual Read + Write if MCP fails.

## Step 3.5 — Postgres sync

After writing the `.md` file, run:

```bash
uv run ~/.claude/ingest_sessions.py
```

**Non-blocking**: if the command fails (Docker down, script missing, etc.), note `[Postgres sync skipped]` in the confirmation and continue without interrupting the recap. This step feeds the `recap_md` source in Postgres, complementary to the raw JSONL files ingested by `/friction-scan`.

## Step 4 — Propose captures (if applicable)

**Only if technical decisions or ADRs were identified in Step 2**:

### ADR proposal
- Propose to {USER_NAME} the title + the scope (transverse or project X) + the context in 1 sentence, **wait for validation**.
- **If {USER_NAME} validates on the spot** → invoke `/create-adr` with `scope` (`transverse` or project name) + the title. `/create-adr` is the single entry point: it writes the full ADR, detects the folder's naming convention, numbers it, handles overlaps/supersedes and **updates the INDEX itself**. Never write an ADR by hand in this skill.
- **If {USER_NAME} postpones or does not validate** → create nothing; the proposal is saved in the proposals file (below) and will be picked up by `/closeday` Step 5 (which also invokes `/create-adr`).

### INDEX update proposal (skills only)
- The ADR INDEX is managed by `/create-adr` — do not touch it here.
- If a skill was created/modified → propose updating `{VAULT_PATH}/{CLAUDE_CODE_FOLDER}/Skills/INDEX.md` (with {USER_NAME}'s validation).

**Wait for validation before executing**.

### Save to the proposals file (always)

After the interactive proposal (whether or not {USER_NAME} validates), write the proposals to `{VAULT_PATH}/{CLAUDE_CODE_FOLDER}/Sessions/proposals-YYYY-MM-DD.md`:

- If the file does not exist → create it with frontmatter `processed: false`
- If the file exists → append with `---` between sessions
- Format:

```markdown
---
date: YYYY-MM-DD
processed: false
---

## Session [HH:MM]

### ADR à créer
- **ADR** : [Title] — [Scope : transverse | projet X] — [Context in 1 sentence]

### Skills à mettre à jour
- **Skill** : [name] — [Action : create | update] — [Context in 1 sentence]
```

Omit the ADR or Skills section if there is nothing in that category. This save guarantees that `/closeday` will find the proposals even if the session was recapped manually (and not via the hook).

## Step 4.5 — Knowledge notes proposal (if applicable)

**Only if a substantial synthesis was produced during the session** (analysis, comparison, in-depth documented decision, exploration of a tool or concept):

Ask {USER_NAME}: *"Does a synthesis produced in this session deserve a Knowledge note?"*

If yes → propose title + target folder in `03 - Knowledge/`:
```
→ [[note-name]] — 03 - Knowledge/[subfolder]/
   One-line summary of what it would contain
```

Add the proposal to the `proposals-YYYY-MM-DD.md` file (same mechanism as the ADR proposals, section `### Notes Knowledge à créer`).

**Do not create the note without {USER_NAME}'s validation.** If {USER_NAME} declines or does not respond → silent skip.

## Step 4.6 — Distillation signal (if applicable)

Some patterns are neither an ADR nor a skill update: they are **lesson candidates**, to be routed by `/lessons-distill`. Surfacing them here prevents them from dissolving into the recap.

**The pattern to watch for first** — *"rule cited then broken in the same response"*: the session cites a rule from `CLAUDE.md`, a skill or an ADR, then acts against it within the same turn. This is the **dominant** pattern of the first full `/friction-scan` report (20/08/2026, 437 sessions read, 15 confirmed frictions) — it is not visible when rereading a single session, only in series.

If the pattern is present → add it to the proposals file under a dedicated section, without processing it:

```markdown
### Signal de distillation
- **Motif** : [short name of the pattern] — [where it occurred in the session, in 1 sentence]
```

**Do not write anything to `lessons.md` from this skill.** That file is injected in full at every prompt: it only accepts behavioral-global content that is still unstable, and `/lessons-distill` is what arbitrates the entry as well as its graduation.

## Absolute rules

- Never type `/clear` — it is {USER_NAME} who does it after reading the recap
- Do not overwrite an existing session from the same day — add a section
- Observations must be factual, not flattering
- **Verify the *source* of a figure, never its internal consistency.** When a recap takes an amount, a count or a total from a document (client proposal, estimate, architecture doc, Notion page), cross-check it against **the primary source** — the database, the API, the export — and not against the rest of the document. A document can be perfectly consistent **with itself** and wrong end to end: its provenance claims are precisely what was never checked, and internal consistency gives the feeling that it was. *(Cause: 2026-08-31, Notion architecture page — AWS prices had been cross-checked against the doc instead of the source; raised by {USER_NAME}, corrected in session by querying the public API. Direct cousin of [[03 - Knowledge/Claude code/un-inventaire-ne-vaut-que-son-instrument]].)*
- **Never autonomously create an ADR or modify the INDEX without {USER_NAME}'s validation**
- If a session note already exists and a new section is created, leave the previous sections intact
- If MCP fails → fall back to manual Read + Write without blocking the process
- **A project investigation "recap note" is not a `/recapsession`.** When {USER_NAME} asks to note a diagnosis or an investigation *for a project*, create a **dedicated note in the project folder of the vault** (e.g. `06 - Work/…/Projects/<project>/`) and register it in its `INDEX.md`. This skill is reserved for the **session** recap (`Sessions/` folder). Do not file a project investigation under `Sessions/` just because the word "recap" was said. *(Validated by {USER_NAME} 2026-06-22.)*

---

## Technical note — SessionEnd hook (ADR-055)

The `recap-session.js` hook that triggers this skill at the end of a session is protected by two guards:

1. **`entrypoint` guard**: `entrypoint: sdk-cli` → skip (subagents + `claude --print`). Only `entrypoint: cli` = interactive session.
2. **Deduplication by `transcript_path`**: file marker in `~/.claude/cache/recap-done/` (mode `wx`, race-condition-safe). Prevents double firing on compaction + exit.

Do **not** use `last-prompt` as a discriminator — it also appears in sessions resumed after compaction (false positives).

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 ai-agents →

Comments

Loading comments…

Newsletter

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