# william-yeh/system_prompts_leaks architecture

> Architecture diagram of the GitHub repository william-yeh/system_prompts_leaks, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/william-yeh/system_prompts_leaks
- Repository: https://github.com/william-yeh/system_prompts_leaks

## Overview

##### Project Type and Purpose
- This is not a typical full-stack application. Based on the file names (e.g., “chatgpt-4o-image-safety-policies.md”, “claude-3.7-sonnet-full-system-message-humanreadable.md”), this repository is a **documentation/knowledge-base** of AI system messages, policy guidelines, prompt injections, and persona definitions.
- The README confirms it’s a personal collection of proofs and methods, with no runnable code or services.

##### File Structure
- All files live at the top level; there is no “src/”, “frontend/”, or “backend/” directory.
- File name patterns cluster around specific AI models or topics (ChatGPT-4, Claude-3.7, Grok, Gemini).
- There are Markdown (.md) and text (.txt or .xml) files—no build scripts, no configuration.

##### README for Additional Insights
- The README is a short note asking for proof-technique ideas and provides contact channels.
- There is no mention of architecture, dependencies, or runtime environment.

a. Main Components
- File Storage (the Git repository holding all .md/.txt/.xml)
- Category Index (how documents are grouped by model & topic)
- Version Control (Git)
- Authoring/Editing Tool (e.g., VS Code, text editor)
b. Relationships & Interactions
- Users (authors/reviewers) → edit documents in File Storage via Editor
- Git ↔ File Storage for commits, branching, change history
c. Architectural Patterns & Principles
- Single source of truth: the Git repo contains all documents
- Separation of concerns: storage layer (files) vs. presentation layer (editor or future web UI)
- Classification/Taxonomy: grouping docs by model and topic for maintainability
d. Key Technologies & Libraries
- Markdown as the content format
- Git for version control
- Editor or IDE of choice for authoring
- (Optional) Static-site generator (e.g., MkDocs, Docusaurus) or search index (e.g., Elasticsearch)

##### Elements
- **Clear Labels**: “Git Repo”, “Markdown Files”, “Editor”, “Search Service (optional)”, “Users”
– User → Editor → Git Repo (commit)
– Search Service ↔ Git Repo (indexing & querying)

##### Detailed, Essential Architectural Elements
- **classification layers**: top-level per-model grouping of documents
- **authoring workflow**: write → stage → commit → review
- If future extensibility is planned, add placeholders for **deployment** (e.g., Netlify, GitHub Pages) and **search integration**

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Users and Tools
    User(("Users")):::user
    subgraph "Authoring Workflow"
        Editor["Editor (e.g., VS Code)"]:::tool
    end

    %% Content Repository
    subgraph "Content Repository"
        GitRepo(("Git Repo")):::storage

        subgraph "Files (Root Directory)"
            README["README.md"]:::storage
            subgraph "ChatGPT Documentation"
                CG1["ChatGPT-4o-image-safety-policies.md"]:::storage
                CG2["ChatGPT-Advanced-voice-mode.md"]:::storage
                CG3["chatgpt-4.5.txt"]:::storage
                CG4["chatgpt-4o-latest-injection"]:::storage
                CG5["chatgpt-4o-legacy-voice-mode.md"]:::storage
                CG6["chatgpt-4o-mini.txt"]:::storage
                CG7["chatgpt-automation-tool.md"]:::storage
                CG8["chatgpt-reference-chat-history-system-message.md"]:::storage
                CG9["chatgpt.com-o4-mini.md"]:::storage
                CG10["o3-o4-mini-api.md"]:::storage
                CG11["o4-mini-chatgpt.com.md"]:::storage
            end
            subgraph "Claude Documentation"
                CL1["claude-3.7-full-system-message-with-all-tools.md"]:::storage
                CL2["claude-3.7-sonnet-2025-05-11.xml"]:::storage
                CL3["claude-3.7-sonnet-full-system-message-humanreadable.md"]:::storage
                CL4["claude.ai-injections.md"]:::storage
                CL5["claude.txt"]:::storage
            end
            subgraph "Gemini Documentation"
                GM1["gemini-2.0-flash-webapp.txt"]:::storage
                GM2["gemini-2.5-pro-webapp.txt"]:::storage
            end
            subgraph "Grok Documentation"
                GR1["grok-3.md"]:::storage
                GR2["grok-personas.md"]:::storage
            end
            subgraph "Other AI Model Documents"
                OA1["Sesame-AI-Maya.md"]:::storage
                OA2["openai-deep-research.md"]:::storage
                OA3["perplexity-voice-assistant.md"]:::storage
            end
        end
    end

    %% Optional Extensions
    subgraph "Optional Extensions"
        SearchService["Search & Retrieval Service"]:::service
        StaticGen["Static-site Generator"]:::service
        WebHost["Web Host (GitHub Pages / Netlify)"]:::service
    end

    %% Relationships
    User -->|uses| Editor
    Editor -->|commits to| GitRepo
    GitRepo -->|holds| README
    GitRepo -->|holds| CG1
    GitRepo -->|holds| CG2
    GitRepo -->|holds| CG3
    GitRepo -->|holds| CG4
    GitRepo -->|holds| CG5
    GitRepo -->|holds| CG6
    GitRepo -->|holds| CG7
    GitRepo -->|holds| CG8
    GitRepo -->|holds| CG9
    GitRepo -->|holds| CG10
    GitRepo -->|holds| CG11
    GitRepo -->|holds| CL1
    GitRepo -->|holds| CL2
    GitRepo -->|holds| CL3
    GitRepo -->|holds| CL4
    GitRepo -->|holds| CL5
    GitRepo -->|holds| GM1
    GitRepo -->|holds| GM2
    GitRepo -->|holds| GR1
    GitRepo -->|holds| GR2
    GitRepo -->|holds| OA1
    GitRepo -->|holds| OA2
    GitRepo -->|holds| OA3

    GitRepo -->|feeds| StaticGen -->|deploys to| WebHost
    GitRepo -->|indexes| SearchService
    SearchService -->|queries| User

    %% Click Events
    click GitRepo "https://github.com/william-yeh/system_prompts_leaks/tree/main//"
    click README "https://github.com/william-yeh/system_prompts_leaks/blob/main//README.md"
    click CG1 "https://github.com/william-yeh/system_prompts_leaks/blob/main//ChatGPT-4o-image-safety-policies.md"
    click CG2 "https://github.com/william-yeh/system_prompts_leaks/blob/main//ChatGPT-Advanced-voice-mode.md"
    click CG3 "https://github.com/william-yeh/system_prompts_leaks/blob/main//chatgpt-4.5.txt"
    click CG4 "https://github.com/william-yeh/system_prompts_leaks/tree/main//chatgpt-4o-latest-injection"
    click CG5 "https://github.com/william-yeh/system_prompts_leaks/blob/main//chatgpt-4o-legacy-voice-mode.md"
    click CG6 "https://github.com/william-yeh/system_prompts_leaks/blob/main//chatgpt-4o-mini.txt"
    click CG7 "https://github.com/william-yeh/system_prompts_leaks/blob/main//chatgpt-automation-tool.md"
    click CG8 "https://github.com/william-yeh/system_prompts_leaks/blob/main//chatgpt-reference-chat-history-system-message.md"
    click CG9 "https://github.com/william-yeh/system_prompts_leaks/blob/main//chatgpt.com-o4-mini.md"
    click CG10 "https://github.com/william-yeh/system_prompts_leaks/blob/main//o3-o4-mini-api.md"
    click CG11 "https://github.com/william-yeh/system_prompts_leaks/blob/main//o4-mini-chatgpt.com.md"
    click CL1 "https://github.com/william-yeh/system_prompts_leaks/blob/main//claude-3.7-full-system-message-with-all-tools.md"
    click CL2 "https://github.com/william-yeh/system_prompts_leaks/blob/main//claude-3.7-sonnet-2025-05-11.xml"
    click CL3 "https://github.com/william-yeh/system_prompts_leaks/blob/main//claude-3.7-sonnet-full-system-message-humanreadable.md"
    click CL4 "https://github.com/william-yeh/system_prompts_leaks/blob/main//claude.ai-injections.md"
    click CL5 "https://github.com/william-yeh/system_prompts_leaks/blob/main//claude.txt"
    click GM1 "https://github.com/william-yeh/system_prompts_leaks/blob/main//gemini-2.0-flash-webapp.txt"
    click GM2 "https://github.com/william-yeh/system_prompts_leaks/blob/main//gemini-2.5-pro-webapp.txt"
    click GR1 "https://github.com/william-yeh/system_prompts_leaks/blob/main//grok-3.md"
    click GR2 "https://github.com/william-yeh/system_prompts_leaks/blob/main//grok-personas.md"
    click OA1 "https://github.com/william-yeh/system_prompts_leaks/blob/main//Sesame-AI-Maya.md"
    click OA2 "https://github.com/william-yeh/system_prompts_leaks/blob/main//openai-deep-research.md"
    click OA3 "https://github.com/william-yeh/system_prompts_leaks/blob/main//perplexity-voice-assistant.md"

    %% Styles
    classDef storage fill:#AED6F1,stroke:#1B4F72,color:#1B4F72
    classDef tool fill:#A9DFBF,stroke:#196F3D,color:#196F3D
    classDef service fill:#F9E79F,stroke:#B7950B,color:#B7950B
    classDef user fill:#D5D8DC,stroke:#707B7C,color:#707B7C
    classDef storageGroup fill:#EBF5FB,stroke:#AED6F1,color:#1B4F72
```
