Top 20 Free System Prompts Leaked from Top AI Coding Tools

Every great AI coding tool runs on a system prompt: the hidden instructions that tell the model how to behave, which tools to use, and how to talk to you. In 2026, several of these prompts became public, either because the tool is open source and its prompt ships in its repository, or because researchers extracted and documented them in public GitHub collections. This article collects 20 of them, and it does so honestly.

  • Zybitai Editorial Team
  • November 2026
  • 12 Minutes
Top 20 Free System Prompts Leaked

Here is the rule this list follows. Entries marked Public Source come from repositories published under open licenses such as MIT or Apache 2.0, where the prompt itself is part of the public code. Entries marked Reported Pattern describe tools that do not officially publish their prompts, such as Cursor, Claude Code, and Windsurf: for those, we describe the approach documented in public coverage and give you an original template built on that pattern, not a verbatim leak. Nothing here is fabricated, and every entry tells you which of the two it is.

Quick Comparison: 20 System Prompts at a Glance

#ToolSource StatusKey Pattern
1Codex CLIPublic, Apache 2.0Per model prompt files, plan tool.
2GitHub Copilot ChatPublic, MITPer model granular prompts.
3OpenHandsPublic, MITContainer agent, single prompt.
4OpenCodePublic, MITPer provider prompt files.
5ClinePublic, Apache 2.0Editor agent, plan then act.
6Gemini CLIPublic, Apache 2.0Structured function calling.
7AiderPublic, Apache 2.0Repo map, pair programmer.
8SWE-agentPublic, MITAgent computer interface.
9goosePublic, Apache 2.0Open agent, 85 plus providers.
10Bolt.newPublic, MITBrowser app builder.
11Kilo CodePublic, MITMulti model editor agent.
12CrushPublic, FSL MITTerminal agent, single prompt.
13CursorReported patternPair programming, parallel tools.
14Claude CodeReported patternTerseness, task tracking.
15Windsurf CascadeReported patternCodebase aware agent.
16DevinReported patternAutonomous engineer, verify.
17LovableReported patternApp building from prompts.
18Replit AgentReported patternFull stack app builder.
19v0Reported patternUI generation, React output.
20ManusReported patternGeneral agent, task plans.

Public Source Prompts: Open Repositories You Can Read Today

These twelve prompts live in public repositories under open licenses, which means you can read the real files, fork them, and adapt them freely. The comparison work published by researcher James Burnham in the public jburnhams/prompts collection, which re read every file rather than relying on memory, is the best single map of how these prompts differ.

1. Codex CLI: One Prompt Per Model Generation

OpenAI Codex logo on a grey background

OpenAI’s Codex CLI is Apache 2.0 licensed, and its system prompts are public in the repository. The notable pattern is a distinct prompt file per model generation, such as separate files for GPT 5 Codex and GPT 5.1, rather than one prompt with conditionals. The prompts emphasise a plan tool for multi step work and careful tool use. Template:

“You are a coding agent running in a terminal. Before editing, plan the change in numbered steps. Use tools to read files first, make the smallest change that fixes the issue, and run the relevant tests before reporting back.”

2. GitHub Copilot Chat: The Most Granular Prompts in the Collection

GitHub Copilot Chat ships MIT licensed prompt files, and it is the most granular system in the public collection: a distinct file per model family, covering Anthropic, OpenAI GPT 5 variants, Gemini, xAI, and others. The lesson is that one prompt does not fit all models, and tuning instructions per model family pays off. Template:

“You are a pair programmer inside the editor. Answer with code first and explanation second. Match the style of the surrounding file. If the request is ambiguous, ask one clarifying question instead of guessing.”

3. OpenHands: The Container Agent With a Single Prompt

OpenHands, MIT licensed and now developed as Agent Canvas, runs its agent in an isolated container workspace with a single unified prompt and no per model branching. Its strength is safety by design: the agent can run commands freely because the sandbox limits the damage. Template:

“You are an autonomous coding agent working in a sandbox. Explore the repository before changing anything. Run commands to verify your assumptions, fix issues, and confirm the fix with tests.”

4. OpenCode: A Prompt File Per Provider Family

OpenCode, MIT licensed and supporting more than 200 providers, keeps a full separate prompt file per provider family, including anthropic, gpt, gemini, kimi, and meta variants, selected by matching on the model ID. This is the most portable design in the list: the agent adapts its instructions to whichever model you run. Template:

“You are a terminal coding agent. Adapt your reasoning depth to the task: quick answers for simple edits, full planning for multi file changes. Prefer parallel tool calls when the calls do not depend on each other.”

5. Cline: Plan Mode Before Act Mode

Cline, Apache 2.0 licensed as a VS Code extension, popularised the plan then act split: the agent first proposes a plan and waits for approval, then executes it. This two mode design is now copied across the industry because it gives users control without slowing the agent down. Template:

“You are a coding assistant with two modes. In plan mode, analyse the task and propose a step by step plan without editing files. In act mode, execute the approved plan one step at a time and report progress.”

6. Gemini CLI: Structured Function Calling First

Google’s Gemini CLI, Apache 2.0 licensed, leans on native structured function calling, with explicit parameter schemas for tools such as grep and file search. The pattern to copy is precision: tools with typed parameters fail less often than tools described in prose alone. Template:

“You are a coding agent with structured tools. Call tools with exact parameters. Search the codebase before answering questions about it, and cite file paths and line numbers in your replies.”

7. Aider: The Repo Map Pair Programmer

Aider, Apache 2.0 licensed, is the terminal pair programmer that introduced the repo map: a compact summary of the whole codebase handed to the model with every request, so it always knows the shape of the project. Aider works with almost any model, including local ones. Template:

“You are a pair programmer. Before editing, review the repository map to understand the project structure. Make surgical edits, keep the diff small, and commit with a clear message when asked.”

8. SWE-agent: The Agent Computer Interface

SWE-agent, MIT licensed from Princeton researchers, defined the agent computer interface pattern: the model interacts with the codebase through a small set of commands, opens files, edits lines, and runs tests in a loop. It was built to solve real GitHub issues end to end, and its design influenced most later agents. Template:

“You are an agent that fixes GitHub issues. Reproduce the issue first, locate the faulty code, apply a minimal fix, and run the failing test to prove it passes.”

9. goose: The Open Agent From Block

goose, Apache 2.0 licensed and built by Block, supports more than 85 providers and runs on desktop and terminal. Its prompt design favours extensibility: the agent is a platform, and the prompt is written to accommodate tools added later. Template:

“You are an open source coding agent. Use the tools available to you, ask for clarification when the goal is unclear, and explain your reasoning briefly before taking irreversible actions.”

10. Bolt.new: The Browser App Builder

Bolt.new from StackBlitz, whose repository is MIT licensed, runs entirely in the browser using WebContainers, and its system prompt is written for building complete web apps from a single description. The pattern is scaffolding first: set up the project, then build feature by feature. Template:

“You are a web app builder. Given a description, scaffold a complete working app: project structure first, then core features, then styling. The result must run without manual fixes.”

11. Kilo Code: Multi Model Editing in the Editor

Kilo Code, MIT licensed, works in VS Code, JetBrains, and the terminal with more than 500 models. Its prompt pattern is model routing: different models for different subtasks, with the prompt keeping the agent consistent across them. Template:

“You are an editor coding agent. Choose the right approach for each subtask: fast models for simple edits, strong models for architecture. Keep a consistent style across all changes.”

12. Crush: The Minimal Terminal Agent

Crush, published under the FSL 1.1 MIT license, uses a single prompt with no per model branching, proving that a well written short prompt can drive a capable terminal agent. Its lesson is restraint: every instruction must earn its place. Template:

“You are a terminal coding agent. Be concise. Read before writing, test before finishing, and say what you changed in one sentence.”

Reported Patterns: How Proprietary Tools Instruct Their AI

Cursor, Claude Code, Windsurf, Devin, Lovable, Replit Agent, v0, and Manus do not officially publish their system prompts. What follows is based on public coverage and third party extractions documented in public repositories, and each template below is our own original adaptation of the described pattern, not a verbatim quote. Treat the wording as a reconstruction of the approach, and the approach itself as the lesson.

13. Cursor: Pair Programming With Maximum Parallelism

Cursor AI code editor logo on a grey background

Public coverage describes Cursor’s prompt as framing the model as pair programming with the user, with the most emphatic parallelism instruction in any documented prompt: maximise parallel tool calls, repeated three separate ways. The lesson is speed through concurrency. Template:

“You are pair programming with the user. Work as a partner, not a servant. Make independent tool calls in parallel whenever possible, and explain your plan before large changes.”

14. Claude Code: Terseness and Task Tracking

Public documentation of Claude Code describes terseness mandates and a TodoWrite tool for tracking multi step tasks. The agent is instructed to explore the codebase before editing, keep responses short, and update its task list as it works. Template:

“You are a terminal coding agent. Be terse. For multi step tasks, keep a task list and update it as you go. Explore the code before changing it, and never invent file paths.”

15. Windsurf Cascade: The Codebase Aware Agent

Windsurf’s Cascade is described in public coverage as an agentic assistant built by the Codeium team, with deep awareness of the whole codebase rather than just the open file. The pattern is context first: the agent reads broadly, then acts. Template:

“You are Cascade, an agentic coding assistant. Understand the full codebase context before suggesting changes. Keep the user informed of what you are doing and why.”

16. Devin: The Autonomous Engineer That Verifies Its Work

Devin, from Cognition, is documented as an autonomous software engineer that plans, codes, and tests in a sandbox, reporting progress as it goes. The pattern to copy is verification: every change is tested before it is presented. Template:

“You are an autonomous software engineer. Plan the task, implement it in a sandbox, run the tests, and report what you did with evidence. If a test fails, fix it before reporting.”

17. Lovable: App Building for Non Developers

Lovable’s documented approach turns a plain language description into a working web app, with the prompt optimised for completeness: the output must be a real app, not a demo fragment. Template:

“You are an app builder for non developers. Turn the user’s description into a complete, working web application with real features, sensible defaults, and a polished interface.”

18. Replit Agent: Full Stack From a Sentence

Replit Agent is documented as building full stack applications from a single prompt, handling setup, databases, and deployment inside the Replit environment. The pattern is autonomy with guardrails: the agent sets up everything, then shows its work. Template:

“You are a full stack app agent. From one description, set up the project, build the frontend and backend, configure the database, and deploy. Explain each step in plain language.”

19. v0: UI Generation With Production Code

v0 by Vercel logo on a grey background

v0 by Vercel is documented as generating production quality React, TypeScript, and Tailwind CSS from a description, with the prompt tuned for shippable output rather than mockups. Template:

“You are a UI code generator. Turn the description into production quality React and Tailwind components. Use modern patterns, accessible markup, and clean, readable code.”

20. Manus: The General Agent With a Plan

Manus is documented as a general purpose agent that breaks open ended tasks into plans, executes them with tools, and delivers finished artefacts. The pattern is planning as a first class step. Template:

“You are a general purpose agent. For any task, first write a plan with clear steps, then execute it with your tools, checking results at each step before moving on.”

How to Use These System Prompts in 2027

Copy a template into your own agent, your AGENTS.md file, or your editor’s custom instructions, then adapt it to your project. The public source prompts can be read in full in their repositories, and we recommend reading the real Codex CLI and Copilot Chat files before you build anything serious. For more prompt craft, read our system prompts for Claude Artifacts, our system prompts to turn ChatGPT into a senior coding tutor, and our guide to free Cursor AI alternatives for VS Code users. If you build agents, also see our list of open source GitHub repositories for AI agents and automation.

Don’t Miss These, Explore More Topics

Freelancers automate client onboarding with AI

8 Ways Freelancers Can Automate Client Onboarding with AI

Best AI prompts for learning any new language in 30 days

Best AI Prompts for Learning Any New Language in 30 Days

Build a custom WhatsApp AI chatbot in 15 minutes

How to Build a Custom WhatsApp AI Chatbot in 15 Minutes

Top free AI presentation makers better than Gamma

Top Free AI Presentation Makers Better Than Gamma App

Best AI Tools for UI UX Wireframing

Best AI Tools for Automatic UI/UX Wireframing & Figma Prototyping

AI hardware innovations next gen chips and local AI PCs

AI Hardware Innovations: Next-Gen Chips & Local AI PCs Explained

8 Ways HR Use AI to Screen Resumes

8 Ways HR & Recruiters Use AI to Screen Resumes Without Bias

Complete glossary of AI terms explained in simple English

Complete Glossary of AI Terms Explained in Simple English (2027)

Perplexity Pro versus ChatGPT Plus honest review

Honest Review: Is Perplexity Pro Worth It Compared to ChatGPT Plus?