End Session — Development agent for Claude Code
Use at the end of every working session.
How to install End Session
Installs to ~/.claude/agents/yehudafrankel-clankbrain-end-session.md
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
- Correlator — Finding correlation engine 812 ★
- After Identifying Or Executing A Chain — findings.sh add chain " " --score \ --steps " step2 -> step3>" --mitre " " findings.sh update chain --status < 213 ★
- Chain Executor — Executes delegated chain steps with context isolation 186 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Mb Doctor
Memory Bank diagnostician — finds and fixes internal inconsistencies across core files (roadmap.md ↔ checklist
Brain Agent
OneCommand's intelligence orchestrator. Runs at build start (READ memories, detect similar projects), after ea
Realestate Estimator Sow
Turns vague client briefs and property needs into precise Statements of Work with hours, risk buffers, timelin
Bug Fix
Use when diagnosing and fixing a bug. Chains reproduce → isolate → hypothesize → fix → verify → learn with hum
Feature Build
Use when building a new feature from scratch. Chains search → plan → code → review → verify → learn in sequenc
Agent Tuner
Reflexion-style agent tuner. Given evidence of a recurring failure by a specific agent, proposes the smallest
Related Skills
Sota Close
End-of-session closure pass — retract what proved wrong and correct it everywhere it reached, hand off open it
Ticket Ship
Ship the ticket — Definition of Done check, sync with the default branch, push every change/e2e repo, create o
Check Readme Drift
Check whether the generated catalogue is up to date with .claude-plugin/marketplace.json. Report only — leave