Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 91
  • 74k stars
  • CC0-1.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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/library

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install library in Claude Code

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

A

No 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 →

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.

library Install

Add to stack

Loading.