Hook

Session-Start Context Loader

Auto-load project-specific context at session start.

安裝

manual
add to ~/.claude/settings.json hooks.SessionStart

把這段加入 Claude Code MCP 設定,或直接透過 CLI 執行。

介紹

SessionStart hook injecting CLAUDE.md, recent commit log, and current branch state. Saves manual context-priming.

常見使用情境

  • Auto-onboard each session
  • Surface recent changes
  • Pull in branch state

標籤

contextonboardingautomation