Claude Desktop Feature Request: Session Start Hook for Automatic Initialization

The Problem: User Preferences Isn't a Startup Script
The Profile/User Preferences field in Claude Desktop Settings appears to be initialization but isn't. It's instructions — text injected into context that Claude reads and follows when you send your first message. Nothing executes automatically on session open. Claude doesn't do anything until you send something.
For users building context-loading systems — BRAIN.md files, session memory MCP servers, project state files — this means every session requires a manual trigger. You open the app, type your callsign or trigger phrase, and then initialization fires. It works as a workaround but isn't a feature.
The Proposed Solution: "On Session Start" Execution Field
A dedicated field in Settings — separate from User Preferences — where instructions execute automatically when a new conversation opens, before the user types anything.
Example from the source:
[On Session Start] Run session-memory:load_context with brain_path="G:\My Drive\MY_BRAIN.md" If successful: summarize WHERE WE ARE RIGHT NOW and ask "What are we building today?" If failed: note the failure and continue
Why This Matters
Claude Desktop's value proposition over claude.ai browser is local execution reach — MCP servers, filesystem access, shell commands. A session start hook makes that reach immediately visible on every session open.
Currently, the first experience of a new Claude Desktop session is: blank chat window, waiting for input (same as the website). With a session start hook and a BRAIN.md file: Claude opens already briefed, knowing your projects, current status, what's blocked, and what's next. The first thing you see is Claude telling you where you are — not a blank cursor.
The MCP infrastructure already supports this functionality. The request is for Anthropic to provide a reliable execution moment to invoke it.
Prior Art Examples
.bashrc/.zshrc— runs on terminal open- VSCode extension activation — fires on app launch
- Browser extension content scripts — fire on page load
- Raycast — runs scripts on launch or schedule
"Run something when the thing opens" is described as one of the most basic power-user needs in any tool, with Claude Desktop being the only one in this list that doesn't support it.
📖 Read the full source: r/ClaudeAI
👀 See Also

Peers MCP Server Connects AI Coding Sessions for Collaboration
Peers is a local MCP server that connects Claude Code and Codex sessions, allowing them to discover each other, collaborate through shared scratchpads, share artifacts like diffs and test reports, and hand off session context as structured markdown.

Real-World Insights on Using OpenClaw with LLMs: Challenges and Limitations
An OpenClaw user describes integration issues with LLMs, citing nonsensical responses from a Discord bot.

civStation: A VLM System for Playing Civilization VI via Natural Language Commands
civStation is a computer-use VLM harness that plays Civilization VI by translating high-level natural language commands into in-game actions. The system uses a 3-layer architecture separating strategy and execution, with support for human-in-the-loop intervention.

Custom status line for Claude Code shows context usage, rate limits, and token counts at a glance
A custom script adds a persistent status line to Claude Code, displaying context %, 5-hour rate limit %, KV cache reads, cumulative input/output tokens, model name, and working directory — color-coded for dark terminals.