<< Home | Work
Improved Claude's accuracy by tracking guesses and confidence
| Area | Work |
| AI used | Claude Code |
| Source | r/BuildWithClaude |
| Posted | 2026-10-21 |
The move
Create a local markdown folder of project notes and habits that Claude Code reads at the start of every session.Steps
- Create a folder containing markdown files for your project context, habits, and an index file.
- Configure a SessionStart hook to force Claude Code to read the index file first.
- Add a habit to your notes requiring Claude to log its guesses and confidence levels for every task.
- Review the logs to identify where Claude is overconfident and adjust your habits accordingly.
Prompt for your AI
Analyze my current project notes in [path to folder]. Based on these notes, identify three specific habits I should enforce to prevent [specific recurring error]. Create a summary of these habits in a format that can be automatically loaded at the start of a new coding session.
What happened
The user struggled with Claude Code forgetting project context and repeating instructions. They built a system where Claude reads a central index of markdown notes and specific behavioral habits at the start of each session. Claude now logs its guesses and confidence levels, allowing the user to calibrate its performance over time.Watch out
Large markdown files can cause the AI to skim content rather than reading it thoroughly. Keep individual notes concise and modular.Give it to your agent
Read https://howtheyuse.ai/p/improved-claude-s-accuracy-by-tracking-guesses-and-confidence.md and help me do this.