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 first · from page 2Worked for most · soon
AnthropicCLAUDE.md

claude-for-legal / corporate-legal

anthropics/claude-for-legal/corporate-legal/CLAUDE.md

User-specific configuration for this plugin lives at a version-independent path that survives plugin updates: ~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md Rules for every skill, command, and agent in this plugin: 1. READ configuration from that path. Not from this file. 2. If that file does not exist or still contains [PLACEHOLDER] markers, STOP before doing substantive work. Say: "This plugin needs setup before it can give you useful output. Run /corporate-legal:cold-start-interview — it takes about 10-15 minutes and every command in this plugin depends on…

9.5k5mo agoDiscuss
AnthropicCLAUDE.md

claude-for-legal / employment-legal

anthropics/claude-for-legal/employment-legal/CLAUDE.md

User-specific configuration for this plugin lives at a version-independent path that survives plugin updates: ~/.claude/plugins/config/claude-for-legal/employment-legal/CLAUDE.md Rules for every skill, command, and agent in this plugin: 1. READ configuration from that path. Not from this file. 2. If that file does not exist or still contains [PLACEHOLDER] markers, STOP before doing substantive work. Say: "This plugin needs setup before it can give you useful output. Run /employment-legal:cold-start-interview — it takes about 10-15 minutes and every command in this plugin depends on…

9.5k5mo agoDiscuss
AnthropicCLAUDE.md

claude-for-legal / ip-legal

anthropics/claude-for-legal/ip-legal/CLAUDE.md

User-specific configuration for this plugin lives at a version-independent path that survives plugin updates: ~/.claude/plugins/config/claude-for-legal/ip-legal/CLAUDE.md Rules for every skill, command, and agent in this plugin: 1. READ configuration from that path. Not from this file. 2. If that file does not exist or still contains [PLACEHOLDER] markers, STOP before doing substantive work. Say: "This plugin needs setup before it can give you useful output. Run /ip-legal:cold-start-interview — it takes about 10-15 minutes and every command in this plugin depends on…

9.5k5mo agoDiscuss
AnthropicCLAUDE.md

claude-for-legal / law-student

anthropics/claude-for-legal/law-student/CLAUDE.md

User-specific configuration for this plugin lives at a version-independent path that survives plugin updates: ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md Rules for every skill, command, and agent in this plugin: 1. READ configuration from that path. Not from this file. 2. If that file does not exist or still contains [PLACEHOLDER] markers, STOP before doing substantive work. Say: "This plugin needs setup before it can give you useful output. Run /law-student:cold-start-interview — it takes about 10-15 minutes and every command in this plugin depends on…

9.5k5mo agoDiscuss
AnthropicCLAUDE.md

claude-for-legal / legal-builder-hub

anthropics/claude-for-legal/legal-builder-hub/CLAUDE.md

User-specific configuration for this plugin lives at a version-independent path that survives plugin updates: ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md Rules for every skill, command, and agent in this plugin: 1. READ configuration from that path. Not from this file. 2. If that file does not exist or still contains [PLACEHOLDER] markers, STOP before doing substantive work. Say: "This plugin needs setup before it can give you useful output. Run /legal-builder-hub:cold-start-interview — it takes about 10-15 minutes and every command in this plugin depends on…

9.5k5mo agoDiscuss
AnthropicCLAUDE.md

claude-for-legal / legal-clinic

anthropics/claude-for-legal/legal-clinic/CLAUDE.md

User-specific configuration for this plugin lives at a version-independent path that survives plugin updates: ~/.claude/plugins/config/claude-for-legal/legal-clinic/CLAUDE.md Rules for every skill, command, and agent in this plugin: 1. READ configuration from that path. Not from this file. 2. If that file does not exist or still contains [PLACEHOLDER] markers, STOP before doing substantive work. Say: "This plugin needs setup before it can give you useful output. Run /legal-clinic:cold-start-interview — it takes about 10-15 minutes and every command in this plugin depends on…

9.5k5mo agoDiscuss
AnthropicCLAUDE.md

claude-for-legal / litigation-legal

anthropics/claude-for-legal/litigation-legal/CLAUDE.md

User-specific configuration for this plugin lives at a version-independent path that survives plugin updates: ~/.claude/plugins/config/claude-for-legal/litigation-legal/CLAUDE.md Rules for every skill, command, and agent in this plugin: 1. READ configuration from that path. Not from this file. 2. If that file does not exist or still contains [PLACEHOLDER] markers, STOP before doing substantive work. Say: "This plugin needs setup before it can give you useful output. Run /litigation-legal:cold-start-interview — it takes about 10-15 minutes and every command in this plugin depends on…

9.5k5mo agoDiscuss
AnthropicCLAUDE.md

claude-for-legal / privacy-legal

anthropics/claude-for-legal/privacy-legal/CLAUDE.md

User-specific configuration for this plugin lives at a version-independent path that survives plugin updates: ~/.claude/plugins/config/claude-for-legal/privacy-legal/CLAUDE.md Rules for every skill, command, and agent in this plugin: 1. READ configuration from that path. Not from this file. 2. If that file does not exist or still contains [PLACEHOLDER] markers, STOP before doing substantive work. Say: "This plugin needs setup before it can give you useful output. Run /privacy-legal:cold-start-interview — it takes about 10-15 minutes and every command in this plugin depends on…

9.5k5mo agoDiscuss
AnthropicCLAUDE.md

claude-for-legal / product-legal

anthropics/claude-for-legal/product-legal/CLAUDE.md

User-specific configuration for this plugin lives at a version-independent path that survives plugin updates: ~/.claude/plugins/config/claude-for-legal/product-legal/CLAUDE.md Rules for every skill, command, and agent in this plugin: 1. READ configuration from that path. Not from this file. 2. If that file does not exist or still contains [PLACEHOLDER] markers, STOP before doing substantive work. Say: "This plugin needs setup before it can give you useful output. Run /product-legal:cold-start-interview — it takes about 10-15 minutes and every command in this plugin depends on…

9.5k5mo agoDiscuss
AnthropicCLAUDE.md

claude-for-legal / regulatory-legal

anthropics/claude-for-legal/regulatory-legal/CLAUDE.md

User-specific configuration for this plugin lives at a version-independent path that survives plugin updates: ~/.claude/plugins/config/claude-for-legal/regulatory-legal/CLAUDE.md Rules for every skill, command, and agent in this plugin: 1. READ configuration from that path. Not from this file. 2. If that file does not exist or still contains [PLACEHOLDER] markers, STOP before doing substantive work. Say: "This plugin needs setup before it can give you useful output. Run /regulatory-legal:cold-start-interview — it takes about 10-15 minutes and every command in this plugin depends on…

9.5k5mo agoDiscuss
AnthropicCLAUDE.md

claude-code-action / base-action

anthropics/claude-code-action/base-action/CLAUDE.md

This is a GitHub Action that allows running Claude Code within GitHub workflows. The action consists of:

9.2k8mo agoReads credentialsDiscuss
AnthropicCLAUDE.md

claude-code-action

anthropics/claude-code-action/CLAUDE.md

A GitHub Action that lets Claude respond to @claude mentions on issues/PRs (tag mode) or run tasks via prompt input (agent mode). Mode is auto-detected: if prompt is provided, it's agent mode; if triggered by a comment/issue event with @claude, it's tag mode. See src/modes/detector.ts. Single entrypoint: src/entrypoints/run.ts orchestrates everything — prepare (auth, permissions, trigger check, branch/comment creation), install Claude Code CLI, execute Claude via base-action/ functions (imported directly, not subprocess), then cleanup (update tracking comment, write step summary). SSH…

9.2k8mo agoDiscuss
AnthropicCLAUDE.md

defending-code-reference-harness

anthropics/defending-code-reference-harness/CLAUDE.md

This repo has two halves: - Interactive skills (.claude/skills/) — read and write files in the repo (no target-code execution, except /dnr-hunt / /dnr-respond, which run the bundled demo app…

7.5k3mo agoDiscuss
AnthropicCLAUDE.md

anthropic-sdk-python

anthropics/anthropic-sdk-python/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. The official Python SDK for the Claude API (anthropic on PyPI). This is the v1 line: it is built on httpx2 and needs Python 3.10 or later (requires-python in pyproject.toml). Most of it is generated from the OpenAPI spec. Hand-written helpers, tool runners, credentials, middleware, and platform clients sit on top.

3.9k12d agoDiscuss
AnthropicCLAUDE.md

commerce-agents

anthropics/commerce-agents/CLAUDE.md

For agents working in this repo, commerce-builder plugin users included. The public reference for commerce agents on Claude: a shopping agent and a merchant agent on three paths each, four vertical examples, and a Claude Code plugin. requirements.txt installs the seven packages and their pinned dependencies (requirements-dev.txt adds pytest and ruff); scripts/install.sh runs it. No real company, brand, product, or person appears: the only company is ACME and its lines; every brand, prompt, schema, and figure is invented here. Two…

2.9k30d agoDiscuss
AnthropicCLAUDE.md

claude-agent-sdk-demos / agent

anthropics/claude-agent-sdk-demos/email-agent/agent/CLAUDE.MD

Use this agent when: - User asks to find specific emails or types of emails - Complex multi-criteria email searches are needed - Need to discover emails through progressive refinement…

2.8k13mo agoDiscuss
AnthropicCLAUDE.md

claude-agent-sdk-demos / agent

anthropics/claude-agent-sdk-demos/excel-demo/agent/CLAUDE.MD

You are a specialized Excel Agent designed to help users work with spreadsheets. Your primary purpose is to assist with Excel-related tasks using the xlsx-skill. You have access to the…

2.8k13mo agoDiscuss
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: - {…

2.8k13mo agoDiscuss
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.