How It Works
The feedback loop that makes Claude Code smarter over time.
The Feedback Loop
Sessions works in a continuous cycle:
While coding with Claude, you'll notice patterns: preferences for code style, common mistakes to avoid, project-specific conventions. Sessions lets you capture these as rules that automatically apply to future sessions.
Key Concepts
Rules
Instructions that guide Claude's behavior. Rules load automatically when you start a session.
Profile
Your personal preference profile stores global rules that apply everywhere.
Projects
Group rules by codebase. Link a directory to a project, and its rules load whenever you work there.
Suggestions
When you add a rule without a linked project, it goes to your inbox for review.
How Rules Load
When Claude Code starts a session, it loads rules from both your profile (global rules) and the linked project (project-specific rules). This gives you a layered system: personal preferences plus project conventions.
This happens transparently through the MCP integration. You just start coding and your preferences are already applied.