System Prompt vs. Skills vs. File Attachments: Where Each Rule Belongs
Keep your System Prompt lean for permanent global rules, package repeatable workflows into on-demand Skills (SKILL.md), put static background knowledge in Project files or attachments, and leave turn-specific asks in the User Prompt.
One of the fastest ways to degrade AI output is cramming every rule, brand doc, and workflow into one giant system prompt. Modern AI workspaces separate instructions into four distinct layers so the model stays sharp without drowning in irrelevant tokens.
The 4-Layer Context Architecture
| Layer | Tool Equivalents | When It Loads | Put Here | Keep Out |
|---|---|---|---|---|
| 1. System Prompt | System Prompt, Custom Instructions, CLAUDE.md, AGENTS.md | Always on, every single turn | Identity, non-negotiable rules, tone defaults, repo conventions | Long SOPs, huge reference tables, rare workflows |
| 2. Skills (SKILL.md) | Claude Skills, Agent Skills, Playbooks | Dynamically on demand (~100 token trigger) | Repeatable procedures (SEO audit, code review, report formatting) | Global rules needed on 100% of chats |
| 3. Files & Attachments | Claude Projects, ChatGPT Files, Gemini Docs, RAG, MCP | Workspace-scoped or queried live | Background facts: PRDs, transcripts, brand books, CSVs, live DBs | Core behavioral rules hidden on page 40 of a PDF |
| 4. User Prompt | Chat message / turn input | Single turn (ephemeral) | This task's goal, specific URLs/data, turn-level constraints | Re-typing your SOP every conversation |
What Belongs in the System Prompt?
Treat the system prompt (or CLAUDE.md / AGENTS.md) like an employee's permanent operating principles. Keep it short, crisp, and universally true across every session: how you want code formatted, words to avoid, preferred tech stack, and safety boundaries. Every extra line here is paid on every single turn.
What Belongs in a Skill (SKILL.md)?
According to Anthropic's official Complete Guide to Building Skills for Claude, a Skill is simply a folder of instructions that teaches AI how to execute a repeatable workflow. Skills solve context bloat through Progressive Disclosure:
- Tier 1 (~100 tokens): Only the YAML frontmatter (
nameanddescription) loads at startup so the AI knows the Skill exists. - Tier 2 (<5,000 tokens): The full
SKILL.mdplaybook loads only when your request matches the description. - Tier 3 (On demand): Supplemental files in
references/,templates/, orscripts/load only if that step requires them.
What Belongs in Files, Projects & MCP?
Anthropic summarizes the distinction cleanly: Projects and file attachments tell the AI what it needs to know; Skills teach it how to do things; MCP connects it to live external data. Put static reference material (customer interviews, product specs, style manuals) in Project files or attachments, and wire live systems (Google Drive, GitHub, CRM, databases) through MCP servers.
Rule of Thumb: When to Promote a Prompt
If you type a prompt once, leave it as a User Prompt. If you copy-paste the same workflow three times across different chats, promote it into a Skill (SKILL.md). If a rule must hold true in every single chat regardless of topic, move it into your System Prompt.
Frequently Asked Questions
What is the difference between a system prompt and a Claude Skill?
A system prompt is always loaded on every turn and holds permanent global rules. A Skill loads dynamically only when relevant to the current task via progressive disclosure, keeping your context window lean.
Should I attach PDFs to the system prompt or as files?
Attach reference documents as Project knowledge or context files, never inside the system prompt. Keep behavioral instructions in the system prompt or a Skill, and place raw reference documents in attachments or XML document blocks.
How do MCP servers compare to Skills?
MCP is the kitchen (connecting AI to tools and live data sources like GitHub, Drive, or Slack). A Skill is the recipe (teaching the AI the exact workflow and quality rules for using those tools).