Open-Sourced CLAUDE.md Keeps Claude Code Agents Productive for Hours, Not Looping

If you've run autonomous Claude Code sessions, you've hit the wall: agent starts sharp, drifts into narration by hour 2, loops on the same fix by hour 3, then dies with nothing shipped. One developer who burned through hundreds of sessions found the culprit wasn't a framework or tool — it was a missing CLAUDE.md file in the project root.
What the Operating File Does
The file is 70 lines, MIT licensed, and sits at ./CLAUDE.md. Claude Code reads it at startup and behavior shifts immediately. The core directives:
- Forces action over narration. If the agent catches itself writing "I will now" instead of calling a tool, it stops and fires the tool.
- Requires evidence before claiming done. No "should be fixed" without test output.
- Kills planning language. The only valid outputs are completed actions, questions, or summaries.
- Self-audits on context pressure instead of silently degrading.
Impact on Sessions
With the file in place, sessions went from 3-hour narration loops to full productive lifecycles. The agent ships code, verifies it landed, and keeps going until context pressure hits. Then it saves state and the next session picks up clean.
How to Use
Copy the file from the GitHub repo into your project root. No setup, no dependencies. Claude Code reads it automatically. The repo contains the exact CLAUDE.md — grab it and drop it in.
📖 Read the full source: r/ClaudeAI
👀 See Also

HyperResearch: Open-source Claude Code skill harness turns it into a deep research agent
HyperResearch converts Claude Code into a 16-step deep research pipeline with persistent knowledge store, fact-checking, and authenticated web sessions. Open-source, single-command install, outperforms OpenAI and Google on DeepResearch Bench.

ClankerRank: A Benchmark for AI-Assisted Coding Skills with Claude Haiku
A developer built ClankerRank to measure proficiency in AI-assisted coding using Claude's Haiku 4.5 model. The platform presents identical bugs to users, scores outputs with hidden test suites, and has revealed clear skill gaps among hundreds of participants.

Caddie: Slack-Based OpenClaw Alternative Launches Next Week
Caddie is a Slack-based version of OpenClaw that requires no local installation or MCP configuration. Users authorize it through the Slack App Directory in 60 seconds, then type commands to automate tasks across Gmail, LinkedIn, CRM, calendar, and 100+ other tools.

Claude Code Used to Simulate 4,000+ Blind Werewolf Games with LLMs
A developer used Claude Code to build a simulator where LLMs play blind one-night Werewolf, running ~4,600 games across OpenAI and xAI models. The experiment revealed consistent name-based voting patterns despite minimal game signals.