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
Hugging FaceCLAUDE.md

OpenEnv

huggingface/OpenEnv/CLAUDE.md

Guidance for Claude Code when working with this repository. OpenEnv uses Claude Code as the primary development tool. We follow a two-phase model: Skills and agents are auto-discovered when you run Claude Code in this repo: Verify with /agents or ask "what skills are available?" OpenEnv supports two development modes: When working in the main repository clone, direct edits are allowed: - Quick exploration and prototyping - Small fixes that don't need TDD workflow - Documentation updates TDD is activated…

2.6k6mo agoDiscuss
Hugging FaceCLAUDE.md

Repo2RLEnv

huggingface/Repo2RLEnv/CLAUDE.md

Auto-loaded by Claude Code for anyone working in this repo. It is committed and shared, so it holds only what is true for any clone: architecture, invariants, and the mistakes that are easy to make here. It is not a changelog and not a contributor guide. Those live elsewhere: If anything here conflicts with the code, trust the code and fix this file. Repo2RLEnv (repo2rlenv on PyPI) turns a repository into a verifiable RL training/eval dataset. End-to-end: synthesis → standardize…

67815d agoReads credentialsDiscuss
Hugging FaceCLAUDE.md

ai-deadlines

huggingface/ai-deadlines/CLAUDE.md

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

3504mo agoDiscuss
Hugging FaceCLAUDE.md

leLab

huggingface/leLab/CLAUDE.md

LeLab is a FastAPI + React web interface wrapping the LeRobot framework for the SO-101 leader/follower arm. It exposes teleoperation, dataset recording, calibration, replay, and training as HTTP/WebSocket endpoints, replacing LeRobot's CLI + keyboard-driven flows. The frontend (React + Vite) lives in frontend/. The built bundle in frontend/dist/ is committed and shipped inside the Python wheel as package data (frontend.init.py makes setuptools treat it as a package); lelab/server.py mounts it as StaticFiles at / so a single lelab process serves…

18116d agoDiscuss
Hugging FaceCLAUDE.md

context-course / inference

huggingface/context-course/projects/inference/CLAUDE.md

This is the llama.cpp inference optimization project. Use AGENTS.md as the hard rulebook. Keep this project separate from ../pre-training and ../post-training. The Claude Code-native pieces are: Recommended entrypoint: For a…

1005mo agoDiscuss
Hugging FaceCLAUDE.md

context-course / pre-training

huggingface/context-course/projects/pre-training/CLAUDE.md

OpenCode is the canonical control plane for this repo. The Claude Code implementation is a secondary native integration. It should follow the same local workflow: - no hosted Autolab backend…

1005mo agoDiscuss
Hugging FaceCLAUDE.md

physics-intern

huggingface/physics-intern/CLAUDE.md

This is a multi-agent scaffolding system for autonomous scientific research in mathematics and theoretical physics. See README.md for overview, motivation, and design principles. GitHub Actions (.github/workflows/testing.yml) runs three commands on…

495mo agoDiscuss
Hugging FaceCLAUDE.md

hub-tutorials

huggingface/hub-tutorials/.claude/CLAUDE.md

AI agent tutorial repository with scripts, notebooks, and presentation materials.

378mo agoDiscuss
Hugging FaceCLAUDE.md

physics-intern-skills

huggingface/physics-intern-skills/CLAUDE.md

In this repo we develop and maintain the core methodology and skills for PhysicsIntern, a framework for using AI agents to conduct physics research. When the user asks a "how…

213mo agoDiscuss

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.