[FEATURE] A Real Start Session hook

Resolved 💬 3 comments Opened Mar 11, 2026 by ChicagoDave Closed Mar 15, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

I have a workflow (DevArch.ai) that hooks SessionStart, but that hook doesn't fire until the user enter any prompt (yo!).

This is not only misleading, but an inaccurate hook name (maybe it should be beforeFirstPrompt). A real SessionStart hook would fire when Claude loads or have a OnLoad hook.

Proposed Solution

Add OnStart and OnQuit hooks that fire when Claude loads and when it quits. The first one is important. The second one (OnQuit), less so.

Alternative Solutions

_No response_

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗