agentleFS
Sign inSign up

CLAUDE.md examples from real projects

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

Most stars firstWorked for most · soon
Hugging FaceCLAUDE.md

transformers

huggingface/transformers/CLAUDE.md

.ai/AGENTS.md

167k23d agoDiscuss
Hugging FaceCLAUDE.md

pytorch-image-models

huggingface/pytorch-image-models/CLAUDE.md

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

37k4d agoDiscuss
Hugging FaceCLAUDE.md

lerobot

huggingface/lerobot/CLAUDE.md

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

28k6d agoDiscuss
Hugging FaceCLAUDE.md

chat-ui

huggingface/chat-ui/CLAUDE.md

Chat UI is a SvelteKit application that provides a chat interface for LLMs. It powers HuggingChat (hf.co/chat). The app speaks exclusively to OpenAI-compatible APIs via OPENAIBASEURL. Tests are split into three workspaces (configured in vite.config.ts): MCP servers are configured via MCPSERVERS env var. When enabled, tools are exposed as OpenAI function calls. The router can auto-select tools-capable models when LLMROUTERENABLETOOLS=true. Smart routing via Arch-Router model. Configured with: Copy .env to .env.local and configure: See .env for full list of variables…

11k50d agoReads credentialsDiscuss

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.