media-library

media-library is a skill for Claude Code, Codex from azeemkafridi/bulkpublish-api. It costs 35 tokens per session (563 once invoked), scanned A, original, MIT.

A media-library tool for uploading, finding, and viewing images and videos in BulkPublish. The files can then be attached to social posts.

In plain words
What is it for?
Use it to upload media from a URL or local path, search the library, preview files, and prepare media for a post.
Why use it?
It keeps media upload and reuse separate from post creation, so posts can reference files that already exist.

Skill for Claude CodeCodex

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

Good fit Use it to upload media from a URL or local path, search the library, preview files, and prepare media for a post.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/azeemkafridi/bulkpublish-api/media-library
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 azeemkafridi/bulkpublish-api --skill media-library
Clone the repo
git clone --depth 1 https://github.com/azeemkafridi/bulkpublish-api

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/azeemkafridi/bulkpublish-api/media-library/github.svg)](https://agentmods.dev/skills/azeemkafridi/bulkpublish-api/media-library)
Your own site
<a href="https://agentmods.dev/skills/azeemkafridi/bulkpublish-api/media-library"><img src="https://agentmods.dev/badge/skills/azeemkafridi/bulkpublish-api/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/azeemkafridi/bulkpublish-api/media-library"><img src="https://agentmods.dev/badge/skills/azeemkafridi/bulkpublish-api/media-library.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 563 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.00035 $0.00563
Opus 5.5 $0.00014 $0.00225
Sonnet 5.5 $0.00007 $0.00113
Haiku 4.5 $0.00003 $0.00056

Measured 10d ago against content hash b1592616d483, 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 10d 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.

skills/core-profile-skills/media-library/SKILL.md · 48 lines

How it starts

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

BulkPublish — Media

Tools

Tool Use for Key params
upload_media Add a file the user attached, or one at a public URL file (an attached file) OR url, optional filename
list_media Find existing files search, type, page, limit
view_media Browse the library visually limit
create_media_upload Reserve a direct upload (advanced) contentType, sizeBytes
finalize_media_upload Register that upload (advanced) r2Key, fileName, mimeType, sizeBytes

For anything ordinary, use upload_media. The two advanced tools exist for a large direct upload and must be used as a pair — reserve, upload, then register. A reservation that is never registered stores nothing.

Attaching to a post

upload_media returns the stored file. Pass its ID in mediaFileIds on create_post. Upload first, then create the post — a post cannot reference a file that does not exist yet. To send different files to different platforms, add platformMediaFileIds, e.g. {"x": [12]}; a platform not listed gets every attached file.

Before uploading

  • Supported: JPEG, PNG, WebP, GIF, MP4, MOV, WebM, and documents (PDF, Word, PowerPoint), which publish to LinkedIn only. Maximum 100MB.
  • A file the user attached in the chat goes in file; a file on the web goes in url. Use one, never both. filePath only works when the server runs on the user's own computer, so do not use it here.
  • Check the target platforms' requirements first with media-preflight: dimensions, aspect ratio and duration limits differ per platform and per post type, and a file that is fine for one can be rejected by another.

Notes

  • list_media returns URLs and dimensions, so prefer it over re-uploading a file the user already has.
  • Deleting media is not available here; tell the user it is done in BulkPublish.
  • Uploading the same file twice stores two copies.

Read the full file on GitHub · 48 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. 10d ago Changed · +2 lines b1592616d483
  2. 26d ago Changed · +1 lines 755faac660c7
  3. 1mo ago Changed · +3 lines 4a53f37dc88e
  4. 2mo ago First seen · 42 lines · 35 tokens per session scan A fe9364218466

Subscribe to this mod's changes

media-library is a skill published in the GitHub repository azeemkafridi/bulkpublish-api (4 stars, last pushed 2d ago), licensed MIT. It adds 35 tokens to every session and 563 once invoked, about $0.0001 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-09-25.

Related

media-library compared with skills from other repositories

media-library next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
media-libraryazeemkafridi/bulkpublish-apiSkill42d agoMITA35Claude Code, Codex
zerniozernio-dev/zernio-cliSkill337d agoMITA24Claude Code, Codex
schedule-social-postJackVitick/socialync-mcpSkill0yesterdayMITA87Claude Code
film-once-week-of-shortsJackVitick/socialync-mcpSkill0yesterdayMITA96Claude Code
blog-to-a-week-of-postsJackVitick/socialync-mcpSkill0yesterdayMITA100Claude Code
notes-to-carouselJackVitick/socialync-mcpSkill0yesterdayMITA89Claude Code
weekly-what-workedJackVitick/socialync-mcpSkill0yesterdayMITA93Claude Code