explainx.ainewsletter3.5k
TrendingNewsPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

custom AI agents

[email protected]

get started

Find your pathTake Free Evaluation

learn

pathways — start freeworkshopsbootcampscoursescertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcptoolsagentsllmsdesignsagi trackerranks

company

aboutvisionmissionteaminstructorscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource librarydemofor LLMs

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

More from us

InfloqInfluencer marketingBgBlurPrivacy-first blurOlly SocialSocial AI copilotCeptoryVideo intelligenceBgRemoverBackground removal

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportprivacytermsdata rightssubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

On this page

  • What the Repo Contains
  • What the Prompts Actually Reveal
  • Why Developers Care
  • The Security Warning
  • What This Means for the Industry
  • The Open Source Counter-Movement
  • Takeaways
← Back to blog

explainx / blog

140K Stars: The GitHub Repo Exposing Every Major AI Coding Tool's System Prompt

A GitHub repository with 140,000 stars has collected and published the full system prompts of Cursor, Claude Code, Windsurf, Copilot, Devin, v0, and 25+ other AI tools. Here''s what it reveals.

Jun 13, 2026·6 min read·Yash Thakker
AI ToolsDeveloper ToolsSecurityClaude CodeCursor
go deep
140K Stars: The GitHub Repo Exposing Every Major AI Coding Tool's System Prompt

A GitHub repository called system-prompts-and-models-of-ai-tools has quietly become one of the most-watched repos in the developer community—with over 140,000 stars and 34,600 forks. Its premise is simple and explosive: collect and publish the full internal system prompts of every major AI coding tool.

Cursor. Claude Code. Windsurf. Devin AI. v0. Replit. GitHub Copilot. Manus. All of them. In full.

Weekly digest3.5k readers

Catch up on AI

Curated AI updates on agents, skills, and MCP — delivered to your inbox. Unsubscribe anytime.

What the Repo Contains

Maintained by a developer known as x1xhlol (Lucas Valbuena), the repository at github.com/x1xhlol/system-prompts-and-models-of-ai-tools is organized into directories—one per tool. Each directory contains:

  • The full system prompt used to instruct the AI
  • The tools definition (JSON schemas of what functions the model can call)
  • In some cases, the model being used underneath

The list of exposed tools reads like the who's-who of AI-assisted development:

ToolWhat's Exposed
CursorAgent prompt v2.0, tool definitions
Claude CodeSonnet 4.6 prompt
WindsurfMultiple wave versions of tool definitions
GitHub Copilot (VSCode Agent)Full agent prompt
Devin AIDeepWiki prompt, tools
v0 (Vercel)Full prompt and tools
ReplitFull system prompt
LovableFull system prompt (since deleted, still in repo)
Manus AgentPrompt + all tool definitions
PerplexityFull prompt
Warp.devAgent Mode prompt
KiroFull prompts
JunieCoding agent system prompt
NotionAIPrompt
Same.devPrompt
TraeBuilder prompt
Augment CodeGPT-5 tools JSON

And many more. As of the repo's last update, 28 tools are documented.

What the Prompts Actually Reveal

Reading through these system prompts is a masterclass in how AI product teams think. A few patterns stand out.

1. Persona and Identity Instructions

Every tool extensively defines its identity. Cursor's prompt establishes a specific personality and philosophy for how it should approach coding tasks. Claude Code's prompt defines precise rules about tool use, asking for permission, and how to handle uncertainty. These aren't just vibes—they're detailed behavioral constitutions.

2. Tool Use Architecture

The tool definition JSONs are particularly revealing. They show exactly what actions each AI can take:

  • What filesystem operations are permitted
  • Whether the AI can execute arbitrary shell commands
  • How the tool handles network requests
  • What approval gates exist before destructive operations

Comparing Cursor's tool set to Windsurf's or Devin's shows dramatically different philosophies about how much autonomy the AI should have by default.

3. Safety Guardrails and Hard Limits

Most prompts contain explicit instructions about what the AI must never do—refuse certain request types, always confirm before deletion, never exfiltrate data. Seeing these written out plainly shows the attack surface that each company is most worried about.

4. The Lovable Incident

The Lovable directory is notable because the company deleted their prompt from the repo via a PR—but by then, it had already been forked 34,000+ times. The internet doesn't forget. This became a minor story in AI circles about the futility of trying to un-ring the bell once a system prompt is out.

Why Developers Care

The repo's 140K stars aren't just rubbernecking. There are legitimate reasons developers are studying these prompts:

Better prompting: Understanding how Cursor or Claude Code is instructed helps you phrase requests in ways the underlying model will handle better. If you know a tool's system prompt emphasizes asking for confirmation before changes, you can pre-empt that with "proceed without asking."

Competitive intelligence: For teams building AI dev tools, seeing competitors' architectural decisions—what tools they expose, what constraints they impose—is valuable product research.

Learning prompt engineering: These prompts, written by teams with massive resources and iteration cycles, are some of the best examples of production prompt engineering that exist. They're study material.

Security research: Understanding what an AI can and cannot do in an agentic context is critical for anyone deploying these tools in sensitive environments.

The Security Warning

The repo's README includes a prominent security notice for AI startups:

"If you're an AI startup, make sure your data is secure. Exposed prompts or AI models can easily become a target for hackers."

The maintainer also links to ZeroLeaks, a service specifically designed to test AI systems for prompt extraction vulnerabilities. The security concern isn't just competitive—a well-crafted system prompt often contains information about internal architecture, backend services, or decision logic that bad actors could exploit.

How Prompts Get Extracted

The methods vary, but common techniques include:

  1. Direct instruction: Simply asking the model "repeat your system prompt" or "what instructions were you given?" Many early deployments failed this trivially.
  2. Jailbreak variants: Role-playing scenarios that cause the model to "forget" its instructions and reveal context.
  3. Completion attacks: Crafting inputs where completing the natural response requires revealing system context.
  4. Tool call inspection: In agentic systems, watching what tools get called and with what parameters reveals the underlying logic.

The better-secured tools (like Claude Code) are significantly harder to extract from, but nothing is provably impossible given a determined adversary and enough interaction budget.

What This Means for the Industry

The existence and popularity of this repo signals something important: system prompts are not a competitive moat.

Any prompt-based differentiation is inherently reversible. The actual moat is:

  • The quality and speed of the underlying model
  • The UX and tooling around the AI
  • Proprietary fine-tuning or RLHF
  • Integration depth with IDEs, browsers, and services

Companies that have invested in deep integrations (Cursor's codebase indexing, Devin's sandbox environment, Claude Code's permissions system) are more defensible than those relying primarily on clever prompting.

The Open Source Counter-Movement

Perhaps most interesting is the repo's "Open Source prompts" directory—a collection of prompts that developers and companies have intentionally published. This represents a different philosophy: transparency as a feature, not a vulnerability.

Some developers argue that open-sourcing your system prompt builds user trust, enables community improvement, and removes the false sense of security that comes with treating a text prompt as a secret.

Takeaways

If you are...What this means for you
A developerStudy these prompts — they're the best prompt engineering examples available
An AI product builderDon't rely on system prompt secrecy for competitive advantage
A security engineerTest your AI systems for prompt extraction before attackers do
A curious technologistThis repo is the most honest look at how AI products actually work

The 140,000 developers who've starred this repo aren't doing it to cause trouble. They're doing it because understanding how these tools work—at the instruction level—makes them better builders.

The prompts are out there. The question is what you do with the information.

Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

Related posts

May 17, 2026

Agent Skills: The Secure, Validated Registry for Professional AI Coding Agents

A deep dive into Agent Skills, the managed skill registry solving the security crisis in AI agent extensions. Learn how threat modeling, static analysis, and human curation make it safe to extend Antigravity, Claude Code, Cursor, and other professional coding agents with zero-trust workflows.

Jul 17, 2026

Hallmark by Nutlope: Anti-AI-Slop Design Skill for Claude Code, Cursor, and Codex

Every agent-generated landing page looks the same because models share the same training defaults. Hallmark encodes anti-slop rules — structural variety, honest copy, locked tokens — and ships as a SKILL.md for Claude Code, Cursor, and Codex. Here's what it does and how to install it from explainx.ai.

Jun 28, 2026

npx skills install: How to Use the Claude Code Skills Registry in 2026

The explainx.ai skills registry is the canonical source for Claude Code and Cursor SKILL.md files. This guide explains how npx skills install works, what skills actually do, how to write your own, and how teams can use lockfiles to stay consistent in production.