Claude Code
Claude skills vs CLAUDE.md: what goes where in your Claude Code setup
Claude skills and the CLAUDE.md file both hold instructions for Claude, so they’re easy to mix up. The difference is timing: CLAUDE.md loads in every Claude Code session, while a skill loads its full instructions only when a task needs them.4 Here’s what goes where, with a sample file for a video project.
What Claude skills are
Anthropic calls them Agent Skills: folders of instructions, scripts and resources that Claude loads when they help with a task.6 Every skill needs one file, SKILL.md. It starts with a short YAML header that holds a name and a description, followed by the instructions in plain Markdown. A skill can bundle more files next to it, such as extra guides, scripts and templates.1
The clever part is how skills load. Anthropic’s docs describe three levels:1
- Metadata, always loaded: each skill’s name and description sit in Claude’s context from the start, at roughly 100 tokens per skill.1
- Instructions, loaded when triggered: when your request matches the description, Claude reads the body of
SKILL.md.1 - Resources, loaded as needed: extra files enter the context only when Claude reads them. Scripts run, and only their output enters the context.1
That’s why you can install many skills without filling up Claude’s context. It’s also why the description matters so much: it’s what Claude matches your request against, so it has to say what the skill does and when to use it.1
Where Claude skills work
Skills work in the Claude apps, in Claude Code and through the Claude API.15 In the apps, they need code execution turned on. You manage them under Customize > Skills, where you can also upload your own skill as a ZIP file.5 On the API, you upload custom skills through the Skills API.1
Claude Code skills are plain folders. Put a skill in ~/.claude/skills/ and it works in all your projects; put it in .claude/skills/ inside a project and you can commit it for your team. Plugins can bring skills too, and their commands look like /plugin-name:skill-name.2 You can call a skill directly with /skill-name, or let Claude pick it when it fits your request. Claude Code also ships bundled skills such as /code-review, /debug and /loop, and its skills follow the open Agent Skills standard, which works across several AI tools.2
What a CLAUDE.md file is
CLAUDE.md is a Markdown file of standing instructions that Claude Code reads at the start of every session.3 Think of it as the briefing you’d otherwise repeat every morning: build commands, conventions, project layout and “always do X” rules.3 Where you put the file decides who it applies to:3
./CLAUDE.mdor./.claude/CLAUDE.md: project instructions, shared with your team through version control.~/.claude/CLAUDE.md: your personal preferences for all projects../CLAUDE.local.md: your private notes for one project. Add it to.gitignore.- A managed policy file that IT can roll out to everyone in an organization.3
Claude Code also loads CLAUDE.md files from the folders above the one you start in, and picks up files in subfolders once it works there.3 Three habits keep the file useful:
- Start with
/init. Claude scans your project and drafts a firstCLAUDE.mdfrom what it finds, such as build commands and conventions. If you already have one, it proposes improvements rather than replacing it.3 - Import instead of copying. Write
@path/to/fileto pull another file into context, like@README. Imports help with order, not with size: an imported file loads along with theCLAUDE.mdthat points to it.3 - Keep it short. Anthropic suggests under 200 lines per file, because longer files use more context and get followed less reliably.3
One limit to know: Claude reads CLAUDE.md as guidance, not as a setting it’s forced to obey. If something must happen every single time, such as a check before each commit, write a hook instead.3
Claude skills vs CLAUDE.md: what goes where
Anthropic’s own rule fits in two sentences. If Claude should know something in every session, such as conventions, build commands, project structure or things it must never do, it goes in CLAUDE.md. If it’s reference material needed only now and then, or a workflow you kick off by name, like a deploy or a review, it becomes a skill.4
| CLAUDE.md | Skill | |
|---|---|---|
| Loads | Every session, automatically4 | Description at the start, full content when used4 |
| Context cost | Every request4 | Low: only the description until used4 |
| Starts a workflow | No4 | Yes, with /skill-name4 |
| Pulls in other files | Yes, with @path imports4 | Yes, with @path imports4 |
| Best for | “Always do X” rules and project facts4 | Reference material and workflows you call by name4 |
| Works in | Claude Code3 | Claude apps, Claude Code, Claude API1 |
The Claude Code docs add a practical trigger: turn something into a skill once you notice you’re pasting the same instructions or checklist into chat over and over, or once a section of CLAUDE.md describes steps rather than facts. Since only the description sits in context until the skill is used, even a long reference costs you very little.24
Bigger projects have a middle ground: topic files in .claude/rules/. Without a paths setting they load at launch like CLAUDE.md. With one, they load only when Claude works on matching files.3
A quick sorting test
- “We use pnpm, not npm.” Goes in
CLAUDE.md, because it’s true in every session.4 - “How to publish a release, in seven steps.” Becomes a skill you start with
/release.4 - “Our full API reference.” Becomes a skill, because Claude needs it only sometimes.4
- “Run the tests before every commit, no exceptions.” Becomes a hook, because a hook runs every time, whatever Claude decides.3
Example: a CLAUDE.md file for a video project
Here’s a short, made-up example for a folder where Claude Code builds vertical explainer videos. It holds only facts and standing rules:
# Explainer video project
- Output: vertical MP4, 1080 × 1920, 30 fps
- Scripts live in scripts/, one Markdown file per video
- Voice files and word timestamps live in audio/
- Every on-screen fact needs a source in the script file
- Keep captions clear of the app buttons at the top, bottom and right edge
- Never overwrite files in final/. Save a new version instead.
- Colors and fonts: @docs/brand.mdNotice what’s missing: there’s no step-by-step render procedure. Colors and fonts sit in a short file that comes in through an import, because every scene needs them. The procedure belongs in a skill, like this one:
---
name: render-check
description: Checks a finished render before handover. Use when the user asks to check, review or deliver a video.
---
1. Confirm the file is 1080 × 1920 and plays to the end.
2. Note every moment where text sits close to an edge.
3. List what you found. Do not fix anything without asking.Saved as .claude/skills/render-check/SKILL.md, it costs only its description until you ask for a check or type /render-check.24
Our own reel kit is built from the same pieces: a CLAUDE.md that Claude Code reads automatically when you open the folder, plus four rule files for hooks, voice and timing, sync, and motion. The reel below was made with Claude Code, from script and voice timing to scenes and render. If you want to build reels like it, our course on making 3D explainer reels with Claude Code walks you through the whole kit.
Best Claude skills to start with
Looking for the best Claude skills? Start at the source. Anthropic’s anthropics/skills repository on GitHub collects example skills for creative and design work, development, enterprise communication and documents. Here’s a selection by category, based on how each skill describes itself:6
- Documents:
docx,pdf,pptxandxlsx, the skills behind Claude’s document features. These four are source-available, not open source.6 - Creative and design:
algorithmic-artfor generative art with p5.js,canvas-designfor posters and other static designs,theme-factoryfor styling slides, docs and web pages, andslack-gif-creatorfor animated GIFs.6 - Development:
mcp-builderfor building MCP servers,webapp-testingfor testing local web apps with Playwright,web-artifacts-builderfor multi-component HTML artifacts, andfrontend-designfor UI with a clear visual direction.6 - Communication:
internal-commsfor status reports, newsletters and incident reports, anddoc-coauthoringfor writing docs and proposals step by step.6 - Building your own:
skill-creatorhelps you create, test and improve skills.6
In Claude Code, you can register the repository as a plugin marketplace and install a set:6
/plugin marketplace add anthropics/skills
/plugin install document-skills@anthropic-agent-skills
/plugin install example-skills@anthropic-agent-skillsTwo caveats from the repository itself: the skills are demos meant for learning, and you should test them in your own setup before you trust them with anything critical.6 In the Claude apps, you don’t need to install the document skills at all. Claude uses Anthropic’s built-in skills for Excel, Word, PowerPoint and PDF automatically when code execution is on.5 Making videos? Our comparison of HyperFrames vs Remotion covers the video side.
Safe habits for installing skills
A skill is instructions and often code, so treat it like software. Anthropic’s docs are blunt: a malicious skill can steer Claude into using tools or running code for something other than what the skill claims to do.1 The Help Center names prompt injection and data exfiltration as the biggest risks.5 A few habits help:
- Install skills only from sources you trust, meaning ones you wrote yourself or got from Anthropic.15
- Read every bundled file before you enable a skill, including scripts and images. Do the same for a skill a colleague sends you.15
- Be careful with skills that fetch content from external URLs. That content can carry instructions of its own.1
- In Claude Code, check the
allowed-toolsfield of skills that come with a repository. It lets Claude use the listed tools without asking you, even in a folder you’ve never marked as trusted.2 - Be extra careful when a skill runs on systems with access to sensitive data or critical operations.1
Get the split right and a project folder turns into a reusable setup: CLAUDE.md for what’s always true, skills for what’s needed sometimes, hooks for what must happen every time.4 New to the tool itself? Start with Claude Code for beginners. Want to see the split applied to video? Here’s how to make 3D explainer reels with Claude Code.
Questions
What are Claude skills?
Claude skills, or Agent Skills, are folders of instructions, scripts and resources that Claude loads when they’re relevant to a task.6 Each one has a SKILL.md file whose description tells Claude when to use it. They work in the Claude apps, Claude Code and the Claude API.1
What is a CLAUDE.md file?
A Markdown file with standing instructions that Claude Code reads at the start of every session. Put it in your project root to share it with your team, or in ~/.claude/ for preferences across all your projects. Run /init to generate a first version.3
Where do Claude Code skills go?
Personal skills go in ~/.claude/skills/<skill-name>/SKILL.md and load in all your projects. Project skills go in .claude/skills/<skill-name>/SKILL.md and can be committed so your team gets them too. Plugins can bundle skills as well.2
Should a rule go in CLAUDE.md or in a skill?
If Claude should know it in every session, put it in CLAUDE.md. If it’s reference material Claude needs only sometimes, or a workflow you start by name, make it a skill.4 If it must happen every time without exception, use a hook.3
What are the best Claude skills?
It depends on your work. A good start is Anthropic’s anthropics/skills repository, with examples for documents, design, development and communication, plus skill-creator for building your own.6 Often the most useful skill is the one you write for a task you repeat every week.
Sources
- Anthropic: “Agent Skills”.
- Anthropic: “Extend Claude with skills”.
- Anthropic: “How Claude remembers your project”.
- Anthropic: “Extend Claude Code”.
- Claude Help Center: “Use skills in Claude”.
- Anthropic on GitHub: “anthropics/skills: Public repository for Agent Skills”.
All sources retrieved on 29 October 2026.
Claude and Claude Code are products of Anthropic. Other product names mentioned are trademarks of their respective owners. Get99Skills is not affiliated with Anthropic or any other company named here.