library

library is a skill for Claude Code, Codex from asgeirtj/system_prompts_leaks. It costs 116 tokens per session (3,515 once invoked), scanned A, original, CC0-1.0.

A router for finding, reading, editing, organizing, restoring, and sharing files in ChatGPT Library. A Library is a persistent collection of user files and folders.

In plain words
What is it for?
Use it to search or list files, open Library-backed material, create or replace files, organize folders, restore versions, and manage sharing.
Why use it?
It keeps work tied to the correct Library file and preserves the file's identity when content is edited or replaced.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to search or list files, open Library-backed material, create or replace files, organize folders, restore versions, and manage sharing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/library
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 69,759 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add asgeirtj/system_prompts_leaks --skill library
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for library

README.md
[![agentmods](https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/library/github.svg)](https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/library)
Your own site
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/library"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/library/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for library

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/library"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/library.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,515 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00116 $0.03515
Opus 5.5 $0.00046 $0.01406
Sonnet 5.5 $0.00023 $0.00703
Haiku 4.5 $0.00012 $0.00351

Measured 11d ago against content hash 519e2ffb78e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

library scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

OpenAI/dots/skills/library/SKILL.md · 270 lines

How it starts

The opening of the file, as written. The whole thing — 270 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ChatGPT Library

Use this as the top-level router for persistent ChatGPT Library files. Ground the target in Library, choose one content-access route, and preserve Library identity through every local edit and writeback.

The Library first-party app, connector_openai_library, owns authenticated Library operations:

  • list, search, read, and find inspect Library content.
  • prepare_materialize makes resolved Library files available to local tools.
  • create_library_file, replace_library_file, and manage_library write or organize Library content.
  • share grants or revokes access; follow its current app-provided description and schema.
  • When surfaced, prepare_uploads and finalize_uploads handle prepared uploads.
  • App-only file @ mention search resolves selected Library items.

The runtime supplies the schemas and decides which tools are available. This skill does not expose tools or a local MCP server.

Workflow

  1. Ground the target.
    • Decode a selected Library @ mention and reuse its identifiers.
    • Use search for a filename, title, description, or content query.
    • Use list for recent files, folders, or inventory.
    • If the user supplied a local path or explicitly said the file is local, stay with local tools.
  2. Choose one access route.
    • Use read when Library can supply the content the task needs.
    • Use find for literal or regex matching inside known files.
    • Materialize when editing, scripts, visual inspection, generation, byte comparison, or another local tool needs file bytes.
  3. Preserve identity when writing.
    • Create only when no Library identity exists or the user wants a copy.
    • Replace the same library_file_id after editing an existing item.
    • Use manage_library for folders, node changes, deletion, and restore.

Use Current Helpers

  1. Before downloading, remove any downloaded copies of helpers from previous runs in the scoped workspace folder
  2. Fetch the helper and all its companion files from the current Library skill source into one new private directory.
  3. Reuse the downloaded helpers for every call and retry within this request or run.

Read the full file on GitHub · 270 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 270 lines · 116 tokens per session scan A 519e2ffb78e4

Subscribe to this mod's changes

library is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (69,759 stars, last pushed yesterday), licensed CC0-1.0. It adds 116 tokens to every session and 3,515 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-06.