Wtf.md and Dreaming: Two Claude Workflow Concepts Worth Exploring

A r/ClaudeAI user describes two workflow concepts they've built to reduce mistakes and consolidate session knowledge: Wtf.md and Dreaming. Both are implemented as simple files and scheduled tasks, offering a practical pattern for anyone running long-term Claude sessions.
Wtf.md: Logging Claude's Mistakes
Wtf.md is a dedicated file for storing everything Claude gets wrong. The idea is to separate these errors into two categories:
- Project-specific: Mistakes tied to your particular codebase, config, or domain.
- Model-specific: Errors that stem from Claude itself — recurring patterns of misunderstanding or hallucination.
The user currently implements this as a skill that they manually trigger whenever they spot an error. This creates a growing reference that can be used to preempt issues in future sessions.
Dreaming: Nightly Consolidation
Dreaming is based on Andrej Karpathy's concept of consolidating information from all sessions at the end of each day. The goal is to merge insights, decisions, and lessons learned into a single reference that Claude can leverage next day.
In this setup, Dreaming runs as a scheduled task at 4 AM daily. Because it runs while the machine is idle, it doesn't interrupt work and has the full context of the previous day's sessions.
Why This Matters
These patterns address two common pain points with AI coding agents:
- Memory limits: Sessions are isolated, so context from yesterday is lost unless explicitly carried over.
- Repetition: Without a feedback loop, Claude will repeat the same mistakes across sessions.
By logging errors and consolidating knowledge, you create a continuous improvement loop.
Who It's For
Developers who use Claude (or similar agents) for substantial projects and want to minimize repeated mistakes and maintain context across sessions.
📖 Read the full source: r/ClaudeAI
👀 See Also
How I Proved My Own Bug Report Wrong: OpenClaw Telegram Debugging via apiRoot Proxy
OpenClaw's Telegram apiRoot can be pointed at a local proxy to log actual wire payloads. A dev retracted a bug report after learning that copied text was rendered, not reinserted.

Claude Code Self-Audit Finds 3GB of Cruft in ~/.claude — Here's How to Clean It
A user prompted Claude Code to audit its own ~/.claude directory and found 2.6GB of stale session transcripts, 170MB of failed telemetry retry logs, and 153MB of undo buffers — dropping from 3GB to under 200MB after cleanup.

Claude Code Token Waste Fix: Disable Attribution Header for Better Cache Hits
Setting CLAUDE_CODE_ATTRIBUTION_HEADER=false in your shell configuration can improve Claude Code's cross-session prompt cache hit rate from 48% to 99.98%, reducing system prompt processing costs by 7x per session.

Stop Burning Claude Code Tokens on Chat Questions
A developer on r/ClaudeAI saved their weekly token cap by routing simple chat questions to cheap models like Haiku, reserving Claude Code for agent tasks like multi-file edits.