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(12 posts)→
More from coding & agent
- Chaining dependent MCP tool calls: no rollback, duplicate risk — agentrsdg · 2026-09-11
- DeepMind-led paper makes design docs the source of truth, code disposable — SMART regenerates in 1.5-3h for ~$100 — Roger_M_Taylor · 2026-09-11
- Agent-built classifier labels 192k docs for $0.70 vs $13-26 with frontier LLMs — vanstriendaniel · 2026-09-11
- MathModelAgent gains traction: auto-solves math modeling and writes a submission-ready paper — jihe520 · 2026-09-11
- alphaXiv open-sources OpenResearch to run parallel research agents with any model — alphaXiv · 2026-09-11
- DeskcommCRM: open-source AI sales CRM with native agents and WhatsApp hits 1k stars — melgarafael · 2026-09-11