Skip to content
Agentmart
Submit a tool

session-end

MUST use when user says 'bye', 'goodbye', 'good night', 'gnight', 'done for today', 'that's all', 'that's it', 'see you', 'see ya', 'let's stop', 'stopping…

Skill by faizkhairi

IndexedMIT★ 73
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/faizkhairi-session-end

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

MUST use when user says 'bye', 'goodbye', 'good night', 'gnight', 'done for today', 'that's all', 'that's it', 'see you', 'see ya', 'let's stop', 'stopping here', 'wrapping up', 'signing off', 'closing down', 'done', 'finished for now', 'talk later', 'cya'. The user does NOT use slash commands; detect these natural session-ending phrases and run the full wrap-up automatically.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/session-end

What's inside

Skill name
session-end
Description
MUST use when user says 'bye', 'goodbye', 'good night', 'gnight', 'done for today', 'that's all', 'that's it', 'see you', 'see ya', 'let's stop', 'stopping here', 'wrapping up', 'signing off', 'closing down', 'done', 'finished for now', 'talk later', 'cya'. The user does NOT use slash commands; detect these natural session-ending phrases and run the full wrap-up automatically.
License
MIT
Instructions
82 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

**Prerequisite check (run first)**: if `./memory/` does not exist OR `~/.claude/.memory-disabled` marker file is present, skip the save-session/save-diary steps but still acknowledge the user's farewell. Output: "Memory persistence is disabled, see you next time." Otherwise proceed with the full wrap-up below.

# Session End: Graceful Wrap-Up

*Runs both save-session and save-diary together as one clean session close.*

## Activation

When this skill activates, output: "Wrapping up, saving session and diary."

## Step 1: Save Session Context

Update `./memory/core/session.md`:

- **Last session summary**: What was accomplished today (specific, not generic)
- **Current working state**: Where things stand, what's in-progress, what's done
- **Next steps**: What should be picked up next session
- **Blockers or open questions**: Anything left unresolved

## Step 2: Update Reminders

Update `./memory/core/reminders.md`:

- Ask the user: any pending tasks, deadlines, or reminders to carry forward?
- Move completed reminders to the Completed section with date
- Keep active ones, add new ones

## Step 3: Update Per-Project Context

If working on a registered project, update `./memory/projects/active/{project}.md` → Session Context section with what was last worked on, current state, and next steps for that project.

## Step 4: Check for Memory Updates

- **preferences.md**: Were any new preferences, tools, or working patterns observed? Update `./memory/core/preferences.md` if so.
- **MEMORY.md**: Were any new technical learnings, gotchas, or architectural decisions made? Update `{MEMORY_MD_PATH}` if so. **Size guard**: after editing, count lines; warn if over 170 (200-line truncation limit).
- **decisions.md**: Was a non-obvious architectural or technical decision made? Append to `./memory/core/decisions.md` using format: `## YYYY-MM-DD: Title` / `**Context**` / `**Decision**` / `**Rationale**`

## Step 5: Save Diary Entry (if session was significant)

A session is "significant" if any of these are true:
- Feature shipped or major bug fixed
- Architecture or tech decision made
- New project started or milestone reached
- Meaningful learning or discovery happened
- Career or profile work done

If significant: append entry to `./memory/diary/current/YYYY-MM-DD.md`

Run monthly archive check first (move any previous-month files from `current/` to `archived/YYYY-MM/`).

Entry structure (our actual format):
- **Title**: `# YYYY-MM-DD, Session N: Brief Description`
- **What Happened**: Concise summary of the session context and goals
- **Fixes Applied / Key Changes**: Specific technical work done (commits, code changes)
- **Key Insight**: Lessons learned or important observations
- **Pending / Next Steps**: What's left to do

## Step 6: Git Commit + Push memory

Stage all changed files in memory, commit with a descriptive message, and push to GitHub (`git push origin main`). This keeps the remote diary and session state up to date.

## Step 7: Confirm and Close

Output a brief summary:
```
Session saved:
- session.md: updated
- reminders.md: [updated / no changes]
- {project}.md: [updated / N/A]
- MEMORY.md: [updated with X / no changes]
- Dev Diary: [entry added / no significant session]
- memory: committed + pushed
See you next time.
```

## Mandatory Rules

- ALWAYS save session.md (even for short sessions)
- ONLY save diary if session was genuinely significant
- Keep the goodbye warm but brief; user prefers concise responses

From faizkhairi/claude-code-blueprint, MIT.

More from faizkhairi/claude-code-blueprint

Signals

Stars
73
Forks
22
Open issues
4
Last commit (this folder)
Aug 11, 2026 (2 months ago)
Last release
Sep 25, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from faizkhairi

Cite this page

session-end skill. Agent Mart. https://agentmart.dev/skills/faizkhairi-session-end (last updated 2026-10-24)