media-library

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

A tool for finding and inspecting photos in an uploaded library or connected device gallery.

In plain words
What is it for?
It helps search galleries, inspect photo details such as dates and locations, upload selected results for viewing, and report when a search is incomplete.
Why use it?
It helps locate relevant personal images when an uploaded photo is not enough or when a request depends on the user's own photos.

Skill for Claude CodeCodex

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

Good fit It helps search galleries, inspect photo details such as dates and locations, upload selected results for viewing, and report when a search is incomplete.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/media-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 · 73,683 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 media-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 media-library

README.md
[![agentmods](https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/media-library/github.svg)](https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/media-library)
Your own site
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/media-library"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/media-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 media-library

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/media-library"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/media-library.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,387 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.00000 $0.01387
Opus 5.5 $0.00000 $0.00555
Sonnet 5.5 $0.00000 $0.00277
Haiku 4.5 $0.00000 $0.00139

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

Security

Grade A, and why

media-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 23d 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.

Meta/muse-agent/skills/media-library/SKILL.md · 54 lines

How it starts

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

Media Library

Purpose

Find the user's photos in Jarvis's uploaded library or a connected device gallery. The media-library CLI covers uploaded photos only.

Device Photos

Search connected galleries for explicit gallery requests, or when uploaded or attached images are insufficient for a personal photo request.

  1. Discover. Call device.list, then device.describe. Choose a reachable device advertising photos.search in commands: user-named first, then is_request_origin, then another phone. Clarify ambiguity.
  2. Search. Invoke photos.search, narrowing with its advertised filters; albums mean folders. Respect permission denial and retry after required setup succeeds. Follow pagination and report incomplete coverage rather than claiming no matches.
  3. Upload. Search returns metadata. For viewing or comparison, upload a shortlist using the advertised commands. Wait for completion and account for partial failures; acceptance is not completion.
  4. Locate. After completion, run /opt/hatch/bin/media-library recent --limit 20 for paths/IDs. Match capture dates, filenames, and GPS against device results; use get for details and date/GPS searches for older or already-uploaded photos. Filenames or recency alone cannot prove identity. Read confidently matched images; report uncertainty rather than guessing paths.

Tooling

Use exec to run /opt/hatch/bin/media-library <subcommand> [options] for uploaded photos.

Subcommands:

  • stats — library overview (total count, date range, description status)
  • search [--query "<terms>"] [--after YYYY-MM-DD] [--before YYYY-MM-DD] [--lat <f64>] [--long <f64>] [--radius <km>] [--has-gps] [--path <prefix>] [--limit N] — when --query is present, FTS ranked by BM25; otherwise structured filtering sorted by taken date
  • recent [--limit N] — latest uploads by upload time (default 20, max 50)
  • scan [--ids <id1,id2,...>] [--query "<terms>"] [--after YYYY-MM-DD] [--before YYYY-MM-DD] [--limit N] — richer summaries with full descriptions; requires at least one narrowing option (any of the flags above, including --limit alone)
  • get <media_id> — full detail for one photo (JSON)

Read the full file on GitHub · 54 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 23d ago Changed · +2 lines · -50 tokens per session 802bb30f673f
  2. 1mo ago First seen · 52 lines · 50 tokens per session scan A 791fc0c1ab3d

Subscribe to this mod's changes

media-library is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (73,683 stars, last pushed yesterday), licensed CC0-1.0. It costs nothing until one of its globs matches a file; then it loads 1,387 tokens. 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-05.

Related

media-library compared with skills from other repositories

media-library next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
media-libraryasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A0Claude Code, Codex
requesting-code-reviewNousResearch/hermes-agentSkill267ktodayMITA20Claude Code, Codex
arxivNousResearch/hermes-agentSkill267ktodayMITC18Claude Code, Codex
brand-voiceopen-octo/octo-agentSkill160yesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code