Surface SessionStart hook file reads in welcome screen
What I'd like
When a SessionStart hook reads files (e.g. cat ~/.claude/FRAMEWORK.md), I'd like to see which files were read somewhere visible on the welcome screen — ideally in the "Recent activity" area, or a new "Session context loaded" section.
Example
My settings.json has SessionStart hooks that inject context:
"SessionStart": [{
"hooks": [
{ "type": "command", "command": "cat ~/.claude/FRAMEWORK.md" },
{ "type": "command", "command": "[ -d .jj ] && cat ~/.claude/hooks/jj_prime.md 2>/dev/null || true" }
]
}]
When a session starts, the content is injected into the system-reminder (great), but I have no visible indication of which files contributed to the session context. The welcome screen shows:
Recent activity
No recent activity
I'd love to see something like:
Session context loaded
~/.claude/FRAMEWORK.md
~/.claude/hooks/jj_prime.md
What I've tried
- Adding a separate hook with
echo 'SessionStart read: ~/.claude/FRAMEWORK.md'— this goes into the system-reminder context alongside the file contents, but doesn't surface anywhere visible on the welcome screen. - Prefixing the
catwith anechoheader — same result, just adds noise to the injected context.
Why this matters
When you have multiple conditional hooks (e.g. jj-specific context only loads in jj repos), it's useful to confirm at a glance which context was actually loaded for this session.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗