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

Memctl: Open Source MCP Server for Persistent Memory in AI Coding Agents
Memctl is an open source MCP server that provides AI coding agents with persistent memory across sessions, machines, and IDEs. Built primarily with Claude Code in two weeks, it stores project context and serves it back in subsequent sessions.

NLA Transforms Gemma 3’s Internal Activations into Readable Text for Any Token
Anthropic released Natural Language Autoencoders (NLA) that decode a model’s internal state into text. Paired with Gemma 3, the Auto Verbalizer explains what the model was “thinking” for any generated token. Weights are on Hugging Face; demo on Neuronpedia.

Eä: A SIMD Compiler for Python Written in Rust
A developer built Eä, a compiler for SIMD kernels in ~12k lines of Rust that generates shared libraries and Python wrappers from .ea files, achieving 6.6× speedups over NumPy without ctypes or build systems.

MarkView: Open-source tool renders and manages AI-generated Markdown files
MarkView is a private-first rendering engine that displays Markdown files with Mermaid diagrams and KaTeX math, available as a web app, native macOS app, and MCP server for Claude Desktop and Cursor integration.