Ctx End — Git skill for Claude Code
End of session — finish the journal entry, release the claim, commit code and context together.
How to install Ctx End
Installs to ~/.claude/commands/realfamousbae-agent-context-kit-ctx-end.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/realfamousbae/agent-context-kit/HEAD/.claude/commands/ctx-end.md -o ~/.claude/commands/realfamousbae-agent-context-kit-ctx-end.md Restart Claude Code, or start a new session, for it to be picked up.
What Ctx End does
description: End of session — finish the journal entry, release the claim, commit code and context together
Run `sh .context/bin/ctx end` and follow its checklist ("Session end" in `.context/PROTOCOL.md`):
- Fill in your journal draft — only what is not in the code or the commit message — then
sh .context/bin/ctx entry --finish. - Release your claims:
sh .context/bin/ctx claim --done T-…or--pause T-…. - Make sure GOTCHAS, DECISIONS and MAP have what you found.
- Commit code
Alternatives in Git
- Merge Command — Finalize worktree work: update docs, commit, merge to main, clean up 1.3k ★
- Precommit — Review code, run tests, write a git commit message with context 105 ★
- Wrap Session — Automate end-of-session workflow: update SESSION.md, create git checkpoint, and prepare for context clear 88 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Octospec Finish
octospec Finish — final check, record journal + learnings, open a PR
Session Entry
Alias for /session entry — append and fill the entry for the commit(s) just made, update what the change made
Finish Session
Finish session with build, lint, tests, docs update, and commit
Mob Done
Finish mob.sh session (mob done); remind human to review, commit, and push.
Session End
End session: update chatlog + create worklog + optional Obsidian sync + Git commit
Autonomy Off
End autonomy mode — finish the in-flight slice to merge, start nothing new, then post a closing summary (merge
Related Agents
Claim Grader
Use when a contributor wants a soft-gate review of a commit message, PR body, sprint section, or journal entry
Session Reflector
Generate an end-of-session reflection by reviewing what happened — ops log, thread changes, new observations —
Session Wrap
Wrap up a development session by ensuring all documentation is current. Updates the development journal, check