Stop Re-Teaching Claude Code Every Session: Use a Persistent Config

A post on r/ClaudeAI describes a common frustration: manually re-steering Claude Code every session — restating code structure preferences, error handling rules, avoidance of confirmation prompts, directory constraints, and more. The user estimates this took ~20 minutes per session, likening it to onboarding a new hire every day.
Key Details
- Problem: Each session required re-explaining preferences (code style, error handling, no confirmations, stay in directory). Resulted in ~20 minutes of setup per session before productive work.
- Solution: Wrote a persistent config file containing all preferences once. Claude Code now starts each session already aware of the user's working style — no re-explaining, no course-correcting in the first 10 messages.
- Outcome: Sessions that used to take 60 minutes dropped to ~40 minutes — a ~33% time savings. Output quality also improved because the model spent less time guessing and more time executing.
Implementation Approach
The user distilled all recurring instructions into a single config document. While the exact format isn't specified (likely a .claude file or project-level prompt), the principle is: codify your preferences once, then let the agent load them automatically. Common items to include:
- Code style rules (e.g., prefer functional components, specific import ordering)
- Error handling patterns (always wrap in try-catch, log to specific service)
- Confirmation suppression for routine operations
- Working directory restrictions
Who It's For
Developers who use Claude Code daily and are tired of repeating themselves — especially those working on complex projects where context gets lost between sessions.
📖 Read the full source: r/ClaudeAI
👀 See Also

Ultimate Unreal Engine MCP: Claude Code Can Now Build and Verify Unreal Engine Levels with 132 Tools
Open-source MCP server exposes 132 tools across 26 domains, letting Claude spawn actors, set UPROPERTY values, take viewport screenshots, navigate cameras, and self-correct after mutations.

Claude's Silent Drop-Off: The Action Layer Failure When AI Agents Hit Business Sites
Claude can read business sites (pricing, booking flows, forms) but fails at the action layer — booking, submitting, or routing — due to lack of callable endpoints. This causes invisible user drop-off with no analytics signal.

Gullivr Travel App Integrates with Claude via Remote MCP Server
A developer built Gullivr, a travel planning app with a remote MCP server that allows Claude to create and manage trips directly within the app. The integration enables real-time updates while chatting with Claude, eliminating manual copying between tools.

LLM Cost Profiler: Open-source tool tracks API spending to make case for local models
LLM Cost Profiler is a Python tool that tracks every API call to OpenAI/Anthropic, showing exactly what you're spending and where. It exposes tasks that are overpriced relative to their complexity, providing concrete dollar amounts to justify moving to local models.