TaskPrio

CLAUDE.md

CLAUDE.md is the memory file Claude Code reads at session start to learn your project — stack, commands, conventions, what not to do, definition of done. It lives at your repo root, supports @imports, and pairs with a user-level ~/.claude/CLAUDE.md.

Generate your CLAUDE.md free →

What is CLAUDE.md?

A plain-Markdown file Claude Code loads into context automatically when you start working in a repo. Its job is to give the agent the context a new teammate would need. It's the Claude-Code-native version of the same idea as AGENTS.md — same content, with two Claude-specific extras: @path imports and a user-level file.

What goes in a CLAUDE.md file?

CLAUDE.md example

# Acme Web

> Senior full-stack engineer. Small, reviewable diffs. Tests with every change.

@docs/architecture.md

## Stack
Next.js 15 (App Router) · TypeScript · Tailwind · Drizzle ORM · Postgres

## Commands
- Build: `pnpm build`
- Test: `pnpm test`
- Lint: `pnpm lint && pnpm typecheck`

## Conventions
- Server components by default; "use client" only when needed.
- All DB access through src/db/ (Drizzle) — never raw SQL in routes.

## Don't
- Don't add dependencies without asking.
- Don't commit secrets — use .env.local (see .env.example).

## Definition of done
- Lint + tests pass; new UI works at 375px.

Make one for your project →

Claude-specific features

Best practices

CLAUDE.md vs AGENTS.md

Same guidance, different readers — AGENTS.md is the open standard (28+ tools), CLAUDE.md is Claude Code's (with @imports + the user-level file). Full breakdown + the one-source setup: AGENTS.md vs CLAUDE.md →

Generate CLAUDE.md (and AGENTS.md, Cursor, Copilot, Gemini) — free

Fill in your project's rules once and get every file, correctly formatted, with a token-budget warning so they stay lean. No signup.

Open the Agent Memory Compiler →

Keep it in sync with your work

Generated files drift the moment your project changes. In TaskPrio your rules live in one place and your agents pull them over MCP with get_next_task — the memory and the task queue become one source of truth. Edit once; every agent stays current. See the MCP queue →

FAQ

What is CLAUDE.md?

Claude Code's memory file, auto-loaded at session start — stack, commands, conventions, don't-dos, definition of done. Lives at repo root; supports @imports + a user-level ~/.claude/CLAUDE.md.

What goes in it?

Overview, stack, commands, conventions, don't-dos, definition of done — kept lean; use @imports for long docs.

Is it the same as AGENTS.md?

Same content, different reader. Keep one source: ln -s AGENTS.md CLAUDE.md or @AGENTS.md.

Generate your CLAUDE.md →   AGENTS.md vs CLAUDE.md →