Claude (Anthropic) — what Anthropic publishes
## what it does
tl;dr: the 2024-08 entry claimed Anthropic “published portions of Claude’s system prompt.” That was never quite right. Anthropic publishes the Constitution (CC0), model cards, character documentation, and Claude Code’s literal system.md — but not the Claude.ai consumer product’s prompt. This entry replaces the old claim with the current public surface, plus the September 2026 model lineup.
What is actually public
| Artifact | What it is | License | URL |
|---|---|---|---|
| Claude’s Constitution | Values, behaviors, principal hierarchy, hard constraints — written with Claude as the primary audience | CC0 (public domain) | anthropic.com/constitution |
| Model cards / system cards | Per-model capability, safety, behavior notes (Fable 5.1, Opus 5, Sonnet 5, Haiku 4.5; legacy: Opus 4.x / Sonnet 4.x) | Per Anthropic ToS | docs.claude.com/en/about-claude/models |
| Claude Code system prompt | The literal system.md Claude Code prepends to every turn, plus its CLAUDE.md memory files | Anthropic source-available | github.com/anthropics/claude-code |
| Character / “Claude’s character” | Older personality write-ups (Amanda Askell series) | Per Anthropic ToS | anthropic.com/news |
| Prompt engineering best practices | How to write system prompts — patterns, not the prompts themselves | Per Anthropic ToS | docs.claude.com/…/prompt-engineering |
| Skills guide | Agent Skills (pre-built + custom) on the API, via container.skills | Per Anthropic ToS | docs.claude.com/en/api/skills-guide |
| Claude.ai system prompt | Not published. | — | — |
So if you’re studying Claude behavior, the closest thing to a literal system prompt is the Claude Code system.md in anthropics/claude-code. The Claude.ai consumer product prompt is proprietary and not shipped.
The Constitution — the closest thing to canonical
The Constitution is Anthropic’s stated source of truth for Claude’s character. Per Anthropic, it’s “the final authority on our vision for Claude.” Its priorities, in order:
- Broadly safe — not undermining human oversight of AI during this development phase.
- Broadly ethical — honest, good values, avoids harmful actions.
- Compliant with Anthropic’s guidelines — follows Anthropic’s more specific instructions where relevant.
- Genuinely helpful — substantive help, treats users as intelligent adults.
Key behavioral patterns it encodes:
- Principal hierarchy. Anthropic > Operators (API builders) > Users. Claude gives each a different level of trust and treats instructions from each accordingly. Operators can restrict what users can do; users can do anything operators permit; Anthropic’s guidelines override both when they conflict.
- Helpfulness = care, not obedience. “Be like a brilliant friend who happens to have the knowledge of a doctor, lawyer, financial advisor.” Substantive help, not sycophancy, not reflexive rule-following.
- Honesty as a hard constraint. Don’t claim things you don’t believe; don’t agree with incorrect statements to please the user; don’t present false balance on settled questions.
- Judgment over rigid rules. “We generally favor cultivating good values and judgment over strict rules and decision procedures.” Clear rules only where errors are severe or where the rule itself is in the model’s interest.
- Hard constraints. Bioweapons uplift, CSAM, certain cyber operations — never, regardless of framing.
It’s released under CC0, so you can copy it verbatim into your own system prompt as a starting point. Don’t treat the Claude.ai product prompt as a copy of this — they’re related but distinct.
Claude Code system.md — the literal published prompt
anthropics/claude-code ships the actual system prompt Claude Code prepends to every turn (along with its CLAUDE.md memory model). It’s the closest you get to a published Anthropic system prompt that you can read end-to-end.
Latest upstream: Claude Code 2.1.267 (current as of this fetch). Recent substantive changes:
- 2.1.265 — adds a 1 GB cap on tool results saved to disk;
--plugin-dirfor plugin folders (each child with a manifest loads and live add/remove is picked up); several prompt-cache fixes for resumed subagents and agent teammates. - 2.1.266 — reverts an unrelated 2.1.265 regression that broke LLM-gateway setups:
CLAUDE_CODE_USE_GATEWAYon its own (withoutANTHROPIC_BASE_URL+ANTHROPIC_AUTH_TOKEN) started forcing Cloud-gateway sign-in and broke API-key configurations. - 2.1.267 (current) —
maxEffortLevelsetting (top-level or per-model undermodelSettings) caps the effort level on every provider (Bedrock, Vertex, Foundry included);--system-prompt-snapshot offrenders the system prompt fresh every request instead of reusing the recorded prefix; many prompt-cache and resume fixes plus a fix foreffort:frontmatter being ignored on Opus 4.7/4.8 and Fable 5. - 2.1.261 —
/skill-doctorto surface unused skills;bashOutputMaxCharsandtaskOutputMaxCharssettings;--append-subagent-system-prompt-file; Bedrock setup wizard timeout. - 2.1.260 —
/diffpanel;prompt_cachefield on/costand status line;/reload-pluginsfor headless;/advisortext form; tightened Bash permission checks for< fileredirects,grep -r/cp -rover denied files, andrm -rfon positional args.
Repo: github.com/anthropics/claude-code (145k stars, 23.1k forks).
Models in production (September 2026)
From platform.claude.com/docs/en/about-claude/models/overview:
| Model | API ID | Input / output MTok | Context | Max output | Knowledge cutoff | Default effort |
|---|---|---|---|---|---|---|
| Claude Fable 5.1 | claude-fable-5-1 | $10 / $50 | 1M | 128K | Jun 2026 | high |
| Claude Opus 5 | claude-opus-5 | $5 / $25 | 1M | 128K | May 2026 | high |
| Claude Sonnet 5 | claude-sonnet-5 | $2 / $10 | 1M | 128K | Jan 2026 | high |
| Claude Haiku 4.5 | claude-haiku-4-5-20251001 | $1 / $5 | 200K | 64K | Feb 2025 | n/a |
Legacy still available: Fable 5, Opus 4.8 / 4.7 / 4.6 / 4.5, Sonnet 4.6 / 4.5. Claude Mythos 5.1 exists but is trusted-access only (Project Glasswing).
Notes that matter for prompt work:
- Token discount on Fable 5.1 cache reads is 2.5% of base input (vs. the usual 10%) — it’s a 75% reduction off the standard rate. Per Cursor’s pricing table, prompt-cache reads are $0.25/M.
- Thinking modes differ. Fable 5.1, Opus 5, Sonnet 5 use adaptive thinking (the model decides how much, steered by
effort). Haiku 4.5 uses extended thinking (manualthinking.type: enabled+budget_tokens). Extended thinking is deprecated on Opus 4.6 / Sonnet 4.6 and not accepted on later models. - Tokenizer changed. Introduced with Opus 4.7. 1M tokens ≈ 555k words or 2.5M Unicode characters on the new tokenizer; pre-4.7 models fit ~750k words in 1M tokens.
- Batch API requests are 50% off; Message Batches API supports up to 300K output tokens on Opus 5, Sonnet 5, and Opus 4.6+ with the
output-300k-2026-03-24beta header.
What the 2024-08 entry claimed vs. reality
| 2024-08 claim | Current status |
|---|---|
| ”Anthropic has published portions of Claude’s system prompt” | The Constitution (CC0) is published; the Claude.ai prompt is not. Claude Code’s system.md is the closest published analog. |
| ”Claude is positioned as a curious, warm, and direct assistant” | Still true per the Constitution — but framed as “good judgment + care,” not “warm” SaaS-speak. |
| ”Decline harmful requests without lengthy justification” | Still in the Constitution’s hard-constraints section. |
| ”Not add unnecessary disclaimers to neutral content” | Constitution: avoid sycophancy and paternalism. |
| ”Push back on assumptions it disagrees with” | Constitution: treat principals as intelligent adults; voice disagreement, then comply. |
| ”Markdown only when it will be rendered” | Still in the prompt-engineering best-practices doc, not as a literal system instruction. |
| ”Match response length to question complexity” | Still in best-practices guidance. |
Targets: claude-3-5-sonnet, claude-3-opus, claude-3-haiku | Retired. Current: Fable 5.1, Opus 5, Sonnet 5, Haiku 4.5. |
How to study Claude’s behavior without the literal prompt
- Read the Constitution — CC0, ~50k words. It’s the authoritative expression of intent.
- Read the model card for the specific model you’re targeting — behavior changes between generations are documented there.
- Read Claude Code’s
system.mdif you want a literal prompt to study — it’s the closest analog to a published Anthropic system prompt. - Test with eval prompts. Anthropic ships sample prompts in their cookbook that exercise refusal, tool use, and reasoning.
- Don’t reverse-engineer the Claude.ai prompt. The 2024-era leaks are stale; the current prompt has changed and will keep changing.
Gotchas
- No published Claude.ai prompt. Anything that claims to be one is either an inference or out of date.
- The Constitution is CC0 — copy it if it helps, but it’s the intent, not the prompt. Anthropic trains to it; the Claude.ai system prompt is the runtime expression, and the two diverge in places.
- Legacy
claude-3-*IDs are gone. Don’t ship code that pins them. - Skill
versionis date-based. Latest stable Anthropic skills version is20251013orlatest. Theskills-2025-10-02beta header is no longer required. - Effort parameter is required on Fable 5.1 / Opus 5 / Sonnet 5 if you want anything other than the default (
high). Olderthinking.type: enabledis rejected on these models. maxEffortLevelis a ceiling, not a target. Claude Code 2.1.267 added this so teams can pin a level for a provider without overriding user choice — if the user asks for a lower level, that wins.--system-prompt-snapshot off(2.1.267) renders the system prompt fresh on every request. Use it when iterating on prompt text; otherwise leave it on for prompt-cache reuse.
Related
- Cursor (Anysphere) — what the harness publishes — sibling “what’s public” entry on the prompts shelf
- code-review-system-prompt — system prompt example on the prompts shelf
- design-system-checklist — design system rules reference on the prompts shelf
- Anthropic PDF (official skill) — cross-shelf context
## embed this badge
