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.
npx skills add azeemkafridi/bulkpublish-api --skill media-librarygit clone --depth 1 https://github.com/azeemkafridi/bulkpublish-apiWrote 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.
[](https://agentmods.dev/skills/azeemkafridi/bulkpublish-api/media-library)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 inurl. Use one, never both.filePathonly 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_mediareturns 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.
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.
- 10d ago Changed · +2 lines b1592616d483
- 26d ago Changed · +1 lines 755faac660c7
- 1mo ago Changed · +3 lines 4a53f37dc88e
- 2mo ago First seen · 42 lines · 35 tokens per session scan A fe9364218466
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.
media-library compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| media-libraryazeemkafridi/bulkpublish-api | Skill | 4 | 2d ago | MIT | A | 35 | Claude Code, Codex |
| zerniozernio-dev/zernio-cli | Skill | 33 | 7d ago | MIT | A | 24 | Claude Code, Codex |
| schedule-social-postJackVitick/socialync-mcp | Skill | 0 | yesterday | MIT | A | 87 | Claude Code |
| film-once-week-of-shortsJackVitick/socialync-mcp | Skill | 0 | yesterday | MIT | A | 96 | Claude Code |
| blog-to-a-week-of-postsJackVitick/socialync-mcp | Skill | 0 | yesterday | MIT | A | 100 | Claude Code |
| notes-to-carouselJackVitick/socialync-mcp | Skill | 0 | yesterday | MIT | A | 89 | Claude Code |
| weekly-what-workedJackVitick/socialync-mcp | Skill | 0 | yesterday | MIT | A | 93 | Claude Code |