YehudaFrankel

End Session — Development agent for Claude Code

Development community

Use at the end of every working session.

How to install End Session

Installs to ~/.claude/agents/yehudafrankel-clankbrain-end-session.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/YehudaFrankel/clankbrain/HEAD/.claude/agents/end-session.md -o ~/.claude/agents/yehudafrankel-clankbrain-end-session.md

Restart Claude Code, or start a new session, for it to be picked up.

What End Session does


name: End Session description: Use at the end of every working session. Chains learn → memory update → drift check → status update in the correct order. Prevents lost context and memory drift.

End Session Agent

Closes the session cleanly. Run ALL steps in order — every step is mandatory, every session. The system compounds: skipping one step degrades every future session.


Step 1 — Extract Lessons

Run `/learn` — invoke the `learn` skill.

  • Extract patterns, lessons, decisions

Alternatives in Development

Full documentation available on GitHub

View Source Repository