agentleFS

CLAUDE.md examples from real projects

How real projects brief Claude Code: the commands, conventions and warnings they put in CLAUDE.md.

Worked for most · soon
AnthropicCLAUDE.md

claude-agent-sdk-demos / simple-chatapp

anthropics/claude-agent-sdk-demos/simple-chatapp/CLAUDE.md

A minimal chat application demonstrating the Claude Agent SDK. This starts both: - Backend server on http://localhost:3001 - Vite dev server on http://localhost:5173 Visit http://localhost:5173 Client -> Server: - {…

No other project uses it yet

2.8k15mo agoReviewMountCreate a free account to mount
AnthropicDeletes or force-pushesCLAUDE.md

cwc-workshops / agent-battle

anthropics/cwc-workshops/agent-battle/CLAUDE.md

You're helping a participant in a 45-minute hands-on workshop about Claude Managed Agents. They're competing to configure an agent (in my_agent.py) that mines the most diamonds in Minecraft. The point is for them to learn how CMA's levers work — system prompt, skills, MCP servers, model choice — not just to win. - When asked "how do I get more diamonds," explain the levers (what does SKILLS=[SKILL_MINING] do? what's the trade-off vs writing your own prompt?) rather than handing over…

2.2k6mo agoReviewMountCreate a free account to mount
AnthropicReads credentialsCLAUDE.md

cwc-workshops / agent-decomposition

anthropics/cwc-workshops/agent-decomposition/.claude/CLAUDE.md

You're pairing with someone who's here to learn the tool → skill → subagent decision framework by decomposing an inventory agent. They'll ask you to make edits. Make them — but treat every edit as a teaching moment. 1. Explain before you edit. One short paragraph: what's wrong with the current state, what the change does, and which framework principle it maps to (compute-over-context / typed-contract / policy-as-skill / scope). 2. Show, don't just tell. Ground the lesson in something…

2.2k6mo agoReviewMountCreate a free account to mount
AnthropicReads credentialsCLAUDE.md

cwc-workshops / eval-driven-agent-development

anthropics/cwc-workshops/eval-driven-agent-development/CLAUDE.md

When asked to setup the folder/repository, make sure the prerequisites listed in the README.md are met (Node >=22 installed, ant CLI installed, Docker installed, ANTHROPIC_API_KEY set in environment). Do not deploy the resources yet. Offer to install them for the user if missing (if Docker is missing, point them to the installation website) Kick off docker build -t cwc-pptx-render . asap in a subagent to make sure the docker image is pre-built. Write the ANTHROPIC_API_KEY from your environment into a…

2.2k6mo agoReviewMountCreate a free account to mount
AnthropicReads credentialsCLAUDE.md

anthropic-sdk-typescript

anthropics/anthropic-sdk-typescript/CLAUDE.md

Context for contributors (human or AI) on how this SDK is put together, plus the things reviews most often come back to. Setup instructions live in CONTRIBUTING.md.

2.1k2mo agoReviewMountCreate a free account to mount
AnthropicCLAUDE.md

claude-agent-sdk-typescript

anthropics/claude-agent-sdk-typescript/CLAUDE.md

Guidance for Claude Code and other coding agents working in this repository. Workflow jobs in this repository that call Claude run with three protections. Keep them when you add or…

1.8k2mo agoReviewMountCreate a free account to mount
AnthropicReads credentialsCLAUDE.md

launch-your-agent

anthropics/launch-your-agent/CLAUDE.md

No summary in the file. Open it to read it.

1k2mo agoReviewMountCreate a free account to mount
CLAUDE.md vs AGENTS.md

About CLAUDE.md

What is CLAUDE.md?

A file Claude Code reads at the start of every session. It holds the commands, conventions and warnings the agent needs for this project.

Where does it go?

At the repository root. Claude Code also reads CLAUDE.md files in subdirectories when it works there.

What should it contain?

Build and test commands, the project's layout, conventions that aren't obvious from the code, and mistakes to avoid. Short files tend to work better than long ones.

CLAUDE.md or AGENTS.md?

Claude Code reads CLAUDE.md; most other agents read AGENTS.md. Many projects keep one and point the other at it.