# End Session

> End the current learning session. Use when done studying to generate summary, update learning plan, and log final entries. Triggers on "end session", "done learning", "finish studying", "wrap up".

- Skill: `majiayu000/end-session` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/end-session`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/end-session/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/end-session

---


End the current learning session.

## Steps

1. Find active session in `.claude/learning-sessions/index.json`
   - If none: tell user there's no active session
2. Read the session file
3. Review conversation since last log, add remaining entries
4. Generate 1-2 sentence summary
5. Update session file:
   - `ended`: current ISO timestamp
   - `status`: `"completed"`
   - `summary`: generated summary
6. Update index.json status
7. Update learning plan (`.claude/learning-sessions/learning-plan.json`):
   - Set `last_covered` to today
   - Add session ID to topic's `sessions` array
   - Adjust proficiency per `references/proficiency.md`
   - Update queue: remove covered, add discovered topics
   - Handle struggles per `references/proficiency.md`

## Report

- Confirm session ended
- Show summary
- Show entries logged (by type)
- Show proficiency updates
- If review: show retention score and calibration
- Suggest next topic from queue

