Session Command Reference

Keep a reliable activity log that any tool can read. These commands live in Claude but the outputs help Gemini, Codex, OpenCode, and Cursor stay synchronized.

Install steps

  1. Copy files from AI-toolkit/session-commands/ into .claude/commands/
  2. Create folder .claude/sessions/ (if missing)
  3. Create empty file .claude/sessions/.current-session
  4. Optionally add .claude/sessions/ to .gitignore for local-only logs

Command files provided

Command catalog

CommandDescriptionSuggested cadence
/project:session-start [name]Open a new log file with goalsAt the start of every work block
/project:session-update [note]Append progress, git status, TODOsAfter any meaningful change
/project:session-endClose the log with summary and next stepsBefore ending your day
/project:session-currentShow active session detailsWhen resuming work
/project:session-listList all past sessionsDuring retros or audits
/project:session-helpDisplay help textOnboard new teammates

Use logs across tools

ToolHow the log helpsAction
GeminiFeed the latest log snippet for contextRun gemini prompt --file session-summary.md
CodexPaste session updates before asking for code helpUse codex ask -f .claude/sessions/<file>
OpenCodeDrop the session file into the chatAsk for review or next steps
CursorUpload session log to the assistant side panelType /share ./claude/sessions/<file>
Always mention the session name in every tool so everyone references the same history.