
system_prompts_leaks
Captured system prompts from major AI models, updated regularly.
Replaces —

Who it's for
Knowing the actual system prompt of a model you are building on tells you what behavior is already established, what constraints exist, and which instructions would be redundant or contradictory. Instead of testing by trial and error, you start with the real baseline.
If you are using a consumer-facing AI interface with no system prompt customization, the underlying prompt has limited practical impact on your workflow.
Claude Code, Codex, and similar developer tools have their own system prompts that describe available tools, expected behaviors, and task scope. Knowing these prompts helps you write supplementary instructions that work alongside the existing system context rather than conflicting with it.
If your integration calls a bare API endpoint without a vendor-injected system prompt, such as raw base model completions, this reference is less directly applicable.
System prompts are primary source material for alignment research. Understanding what a model is explicitly told about safety, refusal, persona, and task scope is prerequisite to studying how closely it follows those instructions and where it deviates.
If your research focuses on base model capabilities without instruction tuning, the system prompts of chat products are not directly relevant to your experimental setup.
Analyzing system prompts surfaces the instructions vendors use to constrain model behavior, which is relevant to jailbreak research, AI policy work, and adversarial testing. The verbatim text is more useful than published documentation, which describes intended behavior rather than the actual instructions.
If your security work focuses on infrastructure or application-layer vulnerabilities rather than AI model behavior, this repository has limited direct relevance.
The problem
Commercial AI tools like ChatGPT, Claude, and Gemini operate on hidden system prompts that shape every interaction. These instructions determine the model's persona, constraints, available tools, behavioral guidelines, and response style, but they are not published by the vendors who write them. Developers building on top of these models, prompt engineers tuning their own systems, and AI researchers studying model behavior have had no reliable way to inspect what is actually in those system prompts. The gap matters in practice. If you are building an application on top of Claude Code and do not know the system prompt it already receives, you risk writing instructions that conflict with or duplicate the existing context. If you are studying alignment or jailbreak resistance, knowing the actual instructions is prerequisite to testing them. Without access to the real text, you are working from assumptions, not evidence.
How it works
Captures prompts from Anthropic (Claude Fable 5.1, Claude Code, Claude Design, Claude Cowork, Claude Science), OpenAI (ChatGPT, Codex), Google (Gemini, Antigravity CLI, Google Search AI Mode), xAI (Grok), Microsoft (Copilot, GitHub Copilot), Meta, Perplexity, Cursor, DeepSeek, Kimi, and others. Each provider has its own directory in the repository.
Every captured prompt is the literal instruction text the model receives, not a summary or description. The Washington Post used prompts from this repository in an interactive story about hidden AI rules (May 2026), and CEPS built a live data dashboard from the files (July 2026). Both cited the verbatim content as the resource's core value.
Files are structured under directories named for each AI provider, with subdirectories for product lines such as Anthropic/claude-code/ and OpenAI/Codex/. This makes it straightforward to find the prompt for a specific model version, compare prompts across releases, or track changes to a specific tool's instructions over time.
Updated with new captures after model releases. Recent additions include Claude Fable 5.1 (September 2026), Codex GPT-6-Astra (September 2026), Grok 4.6 (August 2026), Gemini 3.7 Flash (August 2026), and Meta Muse Code (August 2026). The last repository push was September 9, 2026.
The author has waived all copyright and related rights worldwide under CC0-1.0, placing the work in the public domain. Anyone may use, modify, and redistribute the captured prompts for any purpose, including commercial use, without attribution. No additional terms or conditions apply.
Features
- Multi-provider system prompt coverage
- Verbatim text, not paraphrases
- Organized by provider, model, and product variant
- Active maintenance with recent model coverage
- CC0 public domain license
How to install
Install a local copy by cloning the repository with git.
git clone https://github.com/asgeirtj/system_prompts_leaksRecommended for this setup
Strengths
- 65,000+ stars and 10,000+ forks indicate broad validation: With 65,418 GitHub stars and 10,738 forks, this is one of the most widely referenced AI research repositories on the platform. The scale of community attention means prompt captures are cross-checked by a large audience, and omissions or inaccuracies surface quickly through pull requests and issues.
- Referenced by major publications as a reliable source: The Washington Post built an interactive story using prompts from this repository in May 2026. CEPS' AI World built a live data dashboard from its files in July 2026. These citations from credible editorial and policy sources indicate the content is considered accurate enough for published work.
- Covers specialized product variants beyond base chat models: The repository captures system prompts for developer tools (Claude Code, Codex, Antigravity CLI, Copilot CLI), integrations (Claude for Excel, Claude in Chrome, Gemini Workspace), and specialized products (Claude Design, Claude Science, Grok Bot). These are harder to find elsewhere and especially useful for developers building on top of these tools.
Trade-offs
- No API or structured programmatic access: The repository is a collection of markdown files accessible via git. There is no API, no search index, and no structured database format. Consuming the data programmatically requires cloning the repository and parsing the files yourself. For one-off lookups, browsing GitHub is sufficient; for automated analysis, you handle the data layer.
- Prompt accuracy depends on community capture methods: System prompts are extracted through community observation and API analysis. Providers can include placeholder text, redact sections, or serve different prompts to different users. A captured prompt represents the best available public evidence, not a guarantee of the complete or current production prompt.
- No offline browsing interface included: After cloning, you have raw markdown files without a search index or navigation UI. Teams that want a browsable local interface need to add their own tooling, such as a static site generator. The repository is structured for GitHub browsing, not standalone local deployment out of the box.
Tech stack
FAQ
The prompts are extracted from production AI systems through community observation and API analysis, so they represent the best available public evidence of actual system instructions. Providers can include placeholder sections, serve different prompts to different users, or update prompts without notice. Treat each capture as a high-confidence snapshot rather than a guaranteed complete and current version.
The repository is CC0-licensed, meaning the author has waived all copyright in the compilation and curation. The underlying system prompts may carry intellectual property claims from the AI providers who wrote them. CC0 covers the curation and arrangement; it does not override rights the original authors may hold in the text itself. For research, journalism, and personal use, fair use arguments are commonly applied. For commercial redistribution of the prompt text, consult legal counsel.
Clone the repository with git clone https://github.com/asgeirtj/system_prompts_leaks. All prompts are plain markdown files organized by provider directory. No server or runtime is required. You can browse the files locally, search with grep, or build a static site from them using any documentation tool.
The maintainer adds new captures regularly, typically within days of a new model release. Recent additions include Claude Fable 5.1, Codex GPT-6-Astra, Grok 4.6, and Gemini 3.7 Flash, all added in August and September 2026. The last GitHub push was September 9, 2026.
Yes. The repository includes Claude Code system prompts for Fable 5.1, Fable 5, Opus 5, Opus 4.8, Sonnet 5, and older models including Sonnet 4.6 and Haiku 4.5. It also covers subagent prompts, skills directories, slash commands, and the Claude in Chrome MCP server prompt.