library
Skill by asgeirtj
Finds, reads, and saves files in a user's ChatGPT Library. It suits users who want to work with Library-backed files from their assistant.
Install library
Built from the published package, never by AI.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.claude/skills && cp -r /tmp/system_prompts_leaks/OpenAI/dots/skills/library ~/.claude/skills/libraryRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/system_prompts_leaks/OpenAI/dots/skills/library ~/.gemini/antigravity-cli/skills/libraryAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill routes requests that involve the user's ChatGPT Library. It first grounds the target in the Library, then picks one content route: reading Library content, matching text inside known files, or materializing file bytes for local tools. When the user edits a Library file, the skill replaces the same Library item so its identity and version history are kept.
The skill also covers creating new deliverables, organizing folders, restoring earlier versions, and sharing Library items. It calls the first-party Library app and bundles helper scripts for downloads, uploads, and saving local identity. It is written for users who keep files in ChatGPT Library and want their assistant to find, edit, and save them.
Written from the project's SKILL.md and checked against it.
What it can do
- searchFinds Library content by filename, title, description, or content query.
- listLists recent files, folders, or inventory, with cursor-based paging.
- readReads Library content the task needs, for facts, summaries, or comparisons.
- findRuns literal or regex matching inside known Library files.
- prepare_materializeMakes resolved Library files available to local tools as bytes.
- create_library_fileSaves a new local deliverable as a Library file.
- replace_library_fileUpdates an existing Library file under the same library_file_id.
- manage_libraryCreates, moves, renames, deletes, and restores Library nodes and versions.
What you need
- ChatGPT Library access through the connector_openai_library app
- Python 3 for the bundled helper scripts
Try asking
- Find my quarterly revenue file in my Library and summarize it
- Update my Library report with the changes I made locally
- Restore the previous version of my budget sheet in the Library
Good to know
- Sites Library items are handled by Sites and are not materialized, replaced, or restored through this skill.
- Single local file saves use the fast path for files under about 50 MiB.
- Search accepts 1 to 5 search_query objects and top_k from 1 to 100; list limit is at most 200.
- Helper downloads run in batches of at most 20 files.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: OpenAI/dots/skills/library/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md16 KB
Alternatives to library
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
library: common questions
Does this skill work with files outside the ChatGPT Library?
The skill is for Library-backed files. If the user gives a local path or says the file is local, it uses local tools instead.
Does editing a Library file create a copy?
No. The skill replaces the same library_file_id so identity and version history are kept. It creates a new item only when none exists or the user wants a copy.
How does it handle version conflicts?
It passes expected_current_version when a version was retained. It does not invent a version or remove the guard to resolve a conflict.
How do I install library?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is library free?
The code is published under the CC0-1.0 licence. The service it connects to may have its own pricing.
Is library safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to library?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
