gitmyhub

chatgpt_system_prompt

HTML ★ 11k updated 13d ago

A collection of GPT system prompts and various prompt injection/leaking knowledge.

A community-collected library of system prompts from real ChatGPT custom GPTs and AI products, shared to help people learn how AI assistants are instructed and how to protect their own prompts from being leaked.

HTMLsetup: easycomplexity 1/5

This repository is a collection of system prompts used by ChatGPT custom GPTs and other AI products. A system prompt is the hidden set of instructions that shapes how an AI assistant behaves in a particular context, for example telling it to act as a customer support agent or a coding helper. The collection here is shared for educational purposes, specifically to help people understand how these prompts are written and to illustrate security considerations around keeping them private.

The main content is a table of contents file listing the available prompts organized by the name of the custom GPT they came from. You can search that file for a specific GPT name to find its prompt. There is also a command-line tool in the scripts folder called idxtool for searching if you have cloned the repository locally. Separate guides cover how to retrieve system prompts, how to protect your own GPT instructions from being leaked, how to contribute new prompts, and where to find additional learning resources.

The project also documents prompt injection, which is a technique where someone tries to override or reveal a system prompt by crafting specific inputs. The README states that many GPT authors have responded to this project by improving how they protect their prompts, which the project treats as a positive outcome aligned with its educational purpose.

The repository is primarily useful to people who want to study how effective system prompts are structured, anyone building their own custom GPTs who wants examples to learn from, or developers thinking about how to keep their own instructions secure. No installation is needed to browse the content, and the table of contents file is the main entry point for exploring what is available.

Where it fits