realfamousbae

Ctx End — Git skill for Claude Code

Git community

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

Terminal
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`):

  1. Fill in your journal draft — only what is not in the code or the commit message — then sh .context/bin/ctx entry --finish.
  2. Release your claims: sh .context/bin/ctx claim --done T-… or --pause T-….
  3. Make sure GOTCHAS, DECISIONS and MAP have what you found.
  4. 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 Repository