media_library
Skill by asgeirtj
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Install media_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/Meta/muse-agent/skills/media-library ~/.claude/skills/media-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/Meta/muse-agent/skills/media-library ~/.gemini/antigravity-cli/skills/media-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
Media Library lets the assistant find and inspect photos in the user's uploaded library and in connected device galleries. Uploaded photos are searched with the media-library command line tool, which offers stats, search, recent, scan and get subcommands. Search supports full-text queries, date filters and GPS filters, and results can include photo descriptions, locations and EXIF data.
For device photos, the skill finds a reachable device that advertises photos.search, searches its gallery, and uploads a shortlist for viewing. The skill is aimed at personal photo requests and at moments when a photo could ground or personalize an answer. The source describes lookups of uploaded photos as cheap, so the assistant can check them opportunistically and move on if nothing fits.
Written from the project's SKILL.md and checked against it.
What it can do
- device.listLists connected devices so the assistant can pick one that supports photo search.
- photos.searchSearches a connected device gallery using the filters that device advertises.
- media-library searchRuns full-text or structured searches over uploaded photos by date, GPS and path.
- media-library scanReturns richer summaries with full descriptions for candidate photos.
- media-library getReturns full detail for one uploaded photo as JSON.
- map.geocodeConverts a place name into coordinates for GPS proximity searches.
What you need
- A connected device gallery for device photo searches
- The media-library command line tool for uploaded photos
Try asking
- Find the photos I took in Tokyo last spring
- Show me a photo of a woman in a red dress from June
- Look for pictures from my trip to Lisbon on my phone
Good to know
- The media-library command covers uploaded photos only, not device galleries.
- Photos still pending a description may be missed by text search.
- Device photo searches depend on device permissions and a completed upload.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: Meta/muse-agent/skills/media-library/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
skill.yaml399 B
Alternatives to media_library
All alternatives →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
HyperFrames is an agent skill for making, editing, animating and rendering video with HyperFrames, which renders HTML to video. It is for people who want films, explainers, charts, captions and overlays built from editable HTML.
Compare with intelligence-vocabulary, media-use or speak-summary
media_library: common questions
Can it search photos on my phone?
Yes. If a connected device advertises photos.search, the skill can search its gallery and upload a shortlist of matches for viewing.
Does it only search photos already uploaded?
No. Uploaded photos are searched with the media-library tool, and connected device galleries are searched through device commands.
Can it find photos by place?
Yes. Place names in the search index work with search --query, and GPS proximity searches use map.geocode with a chosen radius.
How do I install media_library?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is media_library free?
The code is published under the CC0-1.0 licence. The service it connects to may have its own pricing.
Is media_library safe to use?
It scores 94 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 media_library?
Similar skills: intelligence-vocabulary, media-use, speak-summary, generate-image.
