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

Beacon: Open-Source Endpoint Telemetry for Local AI Agents
Beacon captures local AI agent activity (Claude Code, Codex CLI, Cursor, etc.) and normalizes it into endpoint events for inspection or SIEM forwarding via Wazuh, Elastic, Splunk HEC.

ClawRelay: macOS-native OpenAI-compatible LLM proxy with automatic failover
ClawRelay runs an OpenAI-compatible HTTP server on macOS 15+ with automatic failover between LLM providers. It supports OpenAI, Groq, Nvidia NIMs, Ollama, and any service with a /v1/chat/completions endpoint.

MCP Marketplace Built with Claude Code Features Security Scanning and Monetization
A developer built mcp-marketplace.io using Claude Code for 95% of the codebase, creating a curated marketplace with security scanning for 2,200+ MCP servers and monetization options for creators.

Career-Ops Fork Adds LinkedIn Job Discovery Using Apify
A developer forked the career-ops Claude Code system and added LinkedIn job discovery using Apify, addressing the main limitation of the original project which only scanned pre-configured company career pages.