Claude Code’s `/init` can scan a repo and draft the first `CLAUDE.md` for you
thisdudelikesAI · x · 2026-07-23
Run /init in the project root to let Claude read the codebase and draft a starter CLAUDE.md.
- The generated file includes build commands, test commands, and conventions discovered in the repo.
- If CLAUDECODENEWINIT=1 is set, the flow becomes interactive: it asks questions, proposes files, and waits for review.
- The post is framed as a remedy for rebuilding context every session when no persistent memory file exists.
Related event: Best Practices for Claude Code Memory and Rules Configuration(12 posts)→
More from coding & agent
- MyClaw offers a 30-day Max trial for its second agent on any subscription — CodeByPoonam · 2026-07-23
- MyClaw delivers agent results to WhatsApp, Telegram, or email — CodeByPoonam · 2026-07-23
- MyClaw adds hosted OpenClaw and Hermes agents with no Docker or servers — CodeByPoonam · 2026-07-23
- Arcade CEO says enterprise agents are bottlenecked by permissions, not intelligence — kimmonismus · 2026-07-23
- Agents are now helping apps write better copy, not just generate code — JordanMorgan10 · 2026-07-23
- A browser tool built with Claude Code tracks property lines across drone footage — Vjeux · 2026-07-23