# I made a free CLAUDE.md builder for Claude Code

> Source: <https://dev.to/nathan_falter_a13bee41781/i-made-a-free-claudemd-builder-for-claude-code-4c4p>
> Published: 2026-11-30 06:38:26+00:00

**Key takeaway:** A CLAUDE.md builder generates per-stack project instructions plus a settings.json PreToolUse guard hook that blocks rm -rf /, force-pushes to main, git reset --hard and DROP TABLE before they run.

Claude Code reads `CLAUDE.md` at the start of every session, and most of mine started as the same copy-paste with the project details swapped. So I made a small page that writes it for you:

[https://devpodo.github.io/claude-md-builder/](https://devpodo.github.io/claude-md-builder/)

Pick a stack preset (Next.js + Supabase, Vite + React, Express, FastAPI, static HTML, or your own), adjust the commands and folder layout, tick the rules you want, and copy or download the result.

`path - what's there`, one per line, turned into a list Claude can navigate by.`.env` files; new env vars go in `.env.example`
`claude -p` and overnight jobs. Never stop to ask, log decisions to `RUN-LOG.md`, and never deploy, delete, send or spend while you're away.
A second tab gives the `settings.json` block for a [PreToolUse guard hook](https://github.com/DevPodo/claude-code-guard-hook) that blocks `rm -rf /`, force-pushes to main, `git reset --hard` and `DROP TABLE` before they run.

One HTML file, vanilla JS, no build step, no dependencies, no analytics. Everything runs in your browser and nothing you type leaves the page. Source: [https://github.com/DevPodo/claude-md-builder](https://github.com/DevPodo/claude-md-builder) (MIT).

If there's a rule you always add to your `CLAUDE.md` that isn't in the list, tell me in the comments and I'll add it.
