/createskills
ComparisonAI builders

SKILL.md vs CLAUDE.md

SKILL.md vs CLAUDE.md: what belongs where

Project rules and reusable skills both guide agents, but they should not carry the same kind of context.

Direct answer

Use CLAUDE.md for project-wide behavior and repo conventions; use SKILL.md for a reusable task-specific workflow with optional references.

Last updated May 19, 2026
Reviewed by createskills editorial
Comparison
CriteriaSKILL.mdCLAUDE.md
ScopeOne reusable capability or workflow.Project-wide instructions and repo conventions.
When loadedWhen the agent decides the skill is relevant.As ambient project guidance in Claude-oriented coding workflows.
Source materialLong examples and references can live beside the file.Should point to canonical docs instead of copying long references.
Common mistakeMaking one broad skill that triggers too often.Turning the project instruction file into a huge knowledge dump.

Keep stable project behavior in CLAUDE.md and reusable task workflows in SKILL.md. Long source material should live in referenced files.

Project rules are ambient

CLAUDE.md is useful for commands, architecture notes, testing expectations, and stable project constraints. It should help the agent work in the repo without overwhelming every task.

Skills are selective

A SKILL.md should describe one job clearly enough that an agent can decide when it applies. Put long examples and sources in references/ so the skill can load them only when useful.

Where source captures go

Captured web pages, transcripts, PDFs, and social posts usually do not belong inline in either file. Store them as references and point to them from the relevant instruction file.

Evidence

Proof and limitations

Maintainability rule

If a paragraph applies to every task in the repo, it is probably project guidance. If it applies only to a repeatable job, it is probably skill guidance.

Workflow

Placement workflow

  1. 1Write project-wide commands and conventions in CLAUDE.md.
  2. 2Create a SKILL.md for each repeated workflow.
  3. 3Move long examples and sources into references/.
  4. 4Test whether the skill triggers only for relevant prompts.
Instruction split
CLAUDE.md: build commands, repo conventions, review rules.
SKILL.md: landing-page-review workflow.
references/: customer language, examples, checklist.

FAQ

Questions people ask

Can a repo have both?

Yes. Use CLAUDE.md for the repo and SKILL.md files for specific capabilities.

Should I put source transcripts in CLAUDE.md?

No. Keep long source material in referenced files so it does not pollute every task.

How narrow should a skill be?

Narrow enough that it has a clear trigger and output shape.

Keep exploring

Related workflows

Try it with your own sources

Turn the next useful web page into reusable AI context.