# asgeirtj/system_prompts_leaks architecture

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

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

## Overview

This is a static, community-maintained archive of captured AI system prompts and related agent/skill artifacts, not a running application. The principal workflow is initiated by an external repository reader/researcher (null repository path) opening the catalog, selecting a vendor/product, and reading a captured prompt or embedded tool artifact.

#### Discovery and prompt collections

- **Repository catalog** — `README.md`: Documents the archive’s purpose, recent additions, and link-based navigation to model, product, and tool captures.
- **Anthropic collection** — `Anthropic`: Organizes Claude, Claude Code, Claude Design, Cowork, official historical, raw, and reminder captures.
- **Claude prompt record** — `Anthropic/claude-fable-5.1.md`: A concrete captured Claude model system-prompt artifact linked as a current Claude.ai entry.
- **Claude Code artifact collection** — `Anthropic/claude-code`: Groups Claude Code model prompts with captured agents, slash commands, skills, and supporting artifacts.
- **OpenAI collection** — `OpenAI`: Holds documented ChatGPT, Codex, API-injected, personality, memory, and older prompt captures.
- **Google collection** — `Google`: Holds documented Gemini, AI Studio, CLI, Workspace, NotebookLM, Search, and related captures.
- **xAI collection** — `xAI`: Holds Grok product and model prompt captures listed in the catalog.
- **Microsoft collection** — `Microsoft`: Holds Copilot product prompt captures.
- **Independent-assistant collection** — `Misc`: Holds captured prompts for unaffiliated tools such as developer agents, browsers, search assistants, and voice products.

#### Captured Claude Code skill/tool artifacts

These are repository content artifacts that can be inspected or copied; the sampled files do not establish that this repository executes them as a service.

- **Design-system package exporter** — `Anthropic/claude-code/skills/design-sync/package-build.mjs`: Builds a React package or Storybook source into a Claude Design-compatible bundle, styles, component HTML, types, prompts, and metadata.
- **Storybook preview-wrapper generator** — `Anthropic/claude-code/skills/design-sync/lib/preview-gen-storybook.mjs`: Generates per-component TypeScript preview wrappers that import story modules and emulate essential Storybook composition/decorator behavior.
- **Preview ownership and compiler** — `Anthropic/claude-code/skills/design-sync/lib/previews.mjs`: Maintains the two-tier user-owned versus generated preview source policy and compiles previews into browser-loadable IIFEs.
- **Incremental preview rebuilder** — `Anthropic/claude-code/skills/design-sync/lib/preview-rebuild.mjs`: Rebuilds selected preview files and HTML variants without replacing the complete design-system bundle.
- **Storybook fidelity-capture harness** — `Anthropic/claude-code/skills/design-sync/storybook/compare.mjs`: Captures Storybook and generated-preview screenshots, pairs them per story, and stores factual pairing/render state for later human grading.
- **Deep-research workflow** — `Anthropic/claude-code/skills/deep-research/scripts/workflow-script.js`: Defines an agent workflow that scopes a question, fans out searches, deduplicates/fetches sources, performs three-vote claim verification, and synthesizes cited results.
- **Design-canvas seeder** — `Anthropic/claude-code/skills/design/seed-canvas.mjs`: Seeds, extracts, and validates HTML design-canvas state, including safe filenames, artboards, embedded images, and editor size limits.
- **Palette validator** — `Anthropic/claude-code/skills/dataviz/scripts/validate_palette.js`: Computes chart-palette checks for OKLCH lightness/chroma, simulated color-vision separation, normal-vision separation, and surface contrast.
- **Writing-style stylometry tool** — `Anthropic/claude-cowork/setup-writing-style/scripts/setup-writing-style-stylometry.py`: Filters writing samples by register, computes style statistics, and selects representative diverse exemplars for writing-style setup.
- **Evaluation report builder** — `Anthropic/claude-code/skills/claude-api/shared/evals/report/build-report-lite.mjs`: Safely reads an evaluation/hillclimb directory and emits a static metrics report plus trajectory bookkeeping.
- **Android device-frame scaffold** — `Anthropic/claude-design/starter-components/android-frame.jsx`: Provides exported React components for an Android/Material-style device frame, status bar, app bar, list items, navigation, and keyboard.
- **Continuous-composition animation scaffold** — `Anthropic/claude-design/starter-components/animations-v3.jsx`: Provides a React timeline context and scene/cue model for a persistent animated element tree.

#### Relationships

- **Repository reader/researcher -> Repository catalog:** opens the documented archive entry point; evidence: the README presents vendor/model tables and prompt links.
- **Repository catalog -> Anthropic collection:** links readers to Claude, Claude Code, Design, Cowork, and historical captures; evidence: the Anthropic sections and tables.
- **Anthropic collection -> Claude prompt record:** indexes it as a Claude.ai system-prompt capture; evidence: the Claude Fable 5.1 catalog entry.
- **Repository catalog -> Claude Code artifact collection:** links to Claude Code prompts, agents, skills, and commands; evidence: the Claude Code section.
- **Repository catalog -> OpenAI collection:** links ChatGPT, Codex, and API prompt records; evidence: the OpenAI sections.
- **Repository catalog -> Google collection:** links Gemini and Google-product prompt records; evidence: the Google section.
- **Repository catalog -> xAI collection:** links Grok prompt records; evidence: the xAI section.
- **Repository catalog -> Microsoft collection:** links Copilot prompt records; evidence: the Microsoft section.
- **Repository catalog -> Independent-assistant collection:** exposes captured prompts for miscellaneous AI tools; evidence: the repository’s vendor/tool organization.
- **Design-system package exporter -> Preview ownership and compiler:** imports preview build and preview-file-writing functions to produce preview artifacts; evidence: its explicit imports of `buildPreviews` and `writePreviewFiles`.
- **Incremental preview rebuilder -> Preview ownership and compiler:** dynamically loads preview-building behavior so targeted rebuilds use the same preview compilation path; evidence: `loadLib('previews')`.
- **Storybook fidelity-capture harness -> Design-system package exporter:** consumes the generated output manifest as its prerequisite for comparing Storybook against exported previews; evidence: the compare script requires `.stories-map.json`, described as written by the full build.
- **Deep-research workflow -> Agent workflow runtime (external; null repository path):** invokes runtime-provided `agent`, `pipeline`, and `parallel` primitives to execute scope, search, fetch, verification, and synthesis phases.
- **Writing-style stylometry tool -> Local writing-sample directory (external; null repository path):** reads register-organized text samples and writes analysis/exemplar outputs.
- **Evaluation report builder -> Local evaluation-flow directory (external; null repository path):** reads variant results, errors, state, and traces to produce a static report.

#### Coverage limits

The supplied inputs show a large documentation corpus plus selected embedded scripts, but no repository-level application manifest, server, web UI source, database, ingestion service, or CI execution path. The sampled code establishes behavior of particular captured skill artifacts, not that those artifacts are executed by this archive itself. Many provider directories and linked records were not sampled individually, so their internal formats and maintenance workflow cannot be established here.

Main entry points: [`README.md`](https://github.com/asgeirtj/system_prompts_leaks/blob/main/README.md) (Repository Catalog), [`Anthropic`](https://github.com/asgeirtj/system_prompts_leaks/tree/main/Anthropic) (Anthropic Collection), [`Anthropic/claude-code/skills/design-sync/package-build.mjs`](https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code/skills/design-sync/package-build.mjs) (Design-System Exporter), [`Anthropic/claude-code/skills/design-sync/lib/previews.mjs`](https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code/skills/design-sync/lib/previews.mjs) (Preview Compiler)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_external["External Actors"]
  node_reader(("Repository Reader<br/>external researcher"))
  node_agent_runtime(("Agent Workflow Runtime<br/>external runtime"))
  node_writing_samples["Writing Samples<br/>external directory"]
  node_evaluation_flow["Evaluation-Flow Directory<br/>external directory"]
end

subgraph group_catalog["Archive Catalog"]
  node_catalog_readme["Repository Catalog<br/>README"]
  node_anthropic["Anthropic Collection<br/>prompt collection"]
  node_claude_record["Claude Prompt Record<br/>captured prompt"]
  node_claude_code["Claude Code Artifacts<br/>artifact collection"]
  node_openai["OpenAI Collection<br/>prompt collection"]
  node_google["Google Collection<br/>prompt collection"]
  node_xai["xAI Collection<br/>prompt collection"]
  node_microsoft["Microsoft Collection<br/>prompt collection"]
  node_misc["Independent Assistants<br/>prompt collection"]
end

subgraph group_claude_artifacts["Claude Code Artifacts"]
  node_package_exporter["Design-System Exporter<br/>build script"]
  node_preview_compiler["Preview Compiler<br/>build library"]
  node_preview_rebuilder["Incremental Preview Rebuilder<br/>rebuild script"]
  node_storybook_harness["Storybook Capture Harness<br/>comparison script"]
  node_deep_research["Deep-Research Workflow<br/>agent workflow"]
  node_stylometry["Writing-Style Stylometry<br/>analysis script"]
  node_report_builder["Evaluation Report Builder<br/>report script"]
end

subgraph group_local_tools["Local Artifact Inputs"]
end

node_reader -->|"opens catalog"| node_catalog_readme
node_catalog_readme -->|"links collection"| node_anthropic
node_anthropic -->|"indexes record"| node_claude_record
node_catalog_readme -->|"links artifacts"| node_claude_code
node_catalog_readme -->|"links collection"| node_openai
node_catalog_readme -->|"links collection"| node_google
node_catalog_readme -->|"links collection"| node_xai
node_catalog_readme -->|"links collection"| node_microsoft
node_catalog_readme -->|"exposes collection"| node_misc
node_package_exporter -->|"imports preview functions"| node_preview_compiler
node_preview_rebuilder -->|"loads preview behavior"| node_preview_compiler
node_storybook_harness -->|"consumes output manifest"| node_package_exporter
node_deep_research -->|"invokes primitives"| node_agent_runtime
node_stylometry -->|"reads and writes"| node_writing_samples
node_report_builder -->|"reads evaluation flow"| node_evaluation_flow

click node_catalog_readme "https://github.com/asgeirtj/system_prompts_leaks/blob/main/README.md"
click node_anthropic "https://github.com/asgeirtj/system_prompts_leaks/tree/main/Anthropic"
click node_claude_record "https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-fable-5.1.md"
click node_claude_code "https://github.com/asgeirtj/system_prompts_leaks/tree/main/Anthropic/claude-code"
click node_openai "https://github.com/asgeirtj/system_prompts_leaks/tree/main/OpenAI"
click node_google "https://github.com/asgeirtj/system_prompts_leaks/tree/main/Google"
click node_xai "https://github.com/asgeirtj/system_prompts_leaks/tree/main/xAI"
click node_microsoft "https://github.com/asgeirtj/system_prompts_leaks/tree/main/Microsoft"
click node_misc "https://github.com/asgeirtj/system_prompts_leaks/tree/main/Misc"
click node_package_exporter "https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code/skills/design-sync/package-build.mjs"
click node_preview_compiler "https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code/skills/design-sync/lib/previews.mjs"
click node_preview_rebuilder "https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code/skills/design-sync/lib/preview-rebuild.mjs"
click node_storybook_harness "https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code/skills/design-sync/storybook/compare.mjs"
click node_deep_research "https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code/skills/deep-research/scripts/workflow-script.js"
click node_stylometry "https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-cowork/setup-writing-style/scripts/setup-writing-style-stylometry.py"
click node_report_builder "https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code/skills/claude-api/shared/evals/report/build-report-lite.mjs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_reader,node_agent_runtime,node_writing_samples,node_evaluation_flow toneBlue
class node_catalog_readme,node_anthropic,node_claude_record,node_claude_code,node_openai,node_google,node_xai,node_microsoft,node_misc toneAmber
class node_package_exporter,node_preview_compiler,node_preview_rebuilder,node_storybook_harness,node_deep_research,node_stylometry,node_report_builder toneMint
```

## Components

### External Actors

- **Repository Reader**: external researcher
- **Agent Workflow Runtime**: external runtime
- **Writing Samples**: external directory
- **Evaluation-Flow Directory**: external directory

### Archive Catalog

Static repository navigation and captured prompt collections.

- [Repository Catalog](https://github.com/asgeirtj/system_prompts_leaks/blob/main/README.md): README · `README.md`
- [Anthropic Collection](https://github.com/asgeirtj/system_prompts_leaks/tree/main/Anthropic): prompt collection · `Anthropic`
- [Claude Prompt Record](https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-fable-5.1.md): captured prompt · `Anthropic/claude-fable-5.1.md`
- [Claude Code Artifacts](https://github.com/asgeirtj/system_prompts_leaks/tree/main/Anthropic/claude-code): artifact collection · `Anthropic/claude-code`
- [OpenAI Collection](https://github.com/asgeirtj/system_prompts_leaks/tree/main/OpenAI): prompt collection · `OpenAI`
- [Google Collection](https://github.com/asgeirtj/system_prompts_leaks/tree/main/Google): prompt collection · `Google`
- [xAI Collection](https://github.com/asgeirtj/system_prompts_leaks/tree/main/xAI): prompt collection · `xAI`
- [Microsoft Collection](https://github.com/asgeirtj/system_prompts_leaks/tree/main/Microsoft): prompt collection · `Microsoft`
- [Independent Assistants](https://github.com/asgeirtj/system_prompts_leaks/tree/main/Misc): prompt collection · `Misc`

### Claude Code Artifacts

Captured design, research, and evaluation scripts.

- [Design-System Exporter](https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code/skills/design-sync/package-build.mjs): build script · `Anthropic/claude-code/skills/design-sync/package-build.mjs`
- [Preview Compiler](https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code/skills/design-sync/lib/previews.mjs): build library · `Anthropic/claude-code/skills/design-sync/lib/previews.mjs`
- [Incremental Preview Rebuilder](https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code/skills/design-sync/lib/preview-rebuild.mjs): rebuild script · `Anthropic/claude-code/skills/design-sync/lib/preview-rebuild.mjs`
- [Storybook Capture Harness](https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code/skills/design-sync/storybook/compare.mjs): comparison script · `Anthropic/claude-code/skills/design-sync/storybook/compare.mjs`
- [Deep-Research Workflow](https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code/skills/deep-research/scripts/workflow-script.js): agent workflow · `Anthropic/claude-code/skills/deep-research/scripts/workflow-script.js`
- [Writing-Style Stylometry](https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-cowork/setup-writing-style/scripts/setup-writing-style-stylometry.py): analysis script · `Anthropic/claude-cowork/setup-writing-style/scripts/setup-writing-style-stylometry.py`
- [Evaluation Report Builder](https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code/skills/claude-api/shared/evals/report/build-report-lite.mjs): report script · `Anthropic/claude-code/skills/claude-api/shared/evals/report/build-report-lite.mjs`

## Connections

- Repository Reader → Repository Catalog: opens catalog · The README is the documented archive entry point.
- Repository Catalog → Anthropic Collection: links collection
- Anthropic Collection → Claude Prompt Record: indexes record
- Repository Catalog → Claude Code Artifacts: links artifacts
- Repository Catalog → OpenAI Collection: links collection
- Repository Catalog → Google Collection: links collection
- Repository Catalog → xAI Collection: links collection
- Repository Catalog → Microsoft Collection: links collection
- Repository Catalog → Independent Assistants: exposes collection
- Design-System Exporter → Preview Compiler: imports preview functions · Uses buildPreviews and writePreviewFiles.
- Incremental Preview Rebuilder → Preview Compiler: loads preview behavior · Targeted rebuilds use the shared preview compilation path.
- Storybook Capture Harness → Design-System Exporter: consumes output manifest · Requires the .stories-map.json manifest written by the full build.
- Deep-Research Workflow → Agent Workflow Runtime: invokes primitives · Uses runtime-provided agent, pipeline, and parallel primitives.
- Writing-Style Stylometry → Writing Samples: reads and writes · Reads writing samples and writes analysis and exemplar outputs.
- Evaluation Report Builder → Evaluation-Flow Directory: reads evaluation flow · Reads variant results, errors, state, and traces.
