prepare-post-media

prepare-post-media is a skill for Claude Code from target1m/ravenpost-mcp. It costs 110 tokens per session (1,113 once invoked), scanned A, original, MIT.

A tool for adding images and videos to Ravenpost and preparing them for different social-network layouts. It can accept files from a URL or local path, store them in a workspace media library, and create feed, square, landscape, story, or reel versions.

In plain words
What is it for?
It helps upload, store, reuse, and resize images or videos for social posts. It does not create new images or videos.
Why use it?
It removes repetitive file uploads and manual resizing when the same media must fit several networks.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ravenpost plugin — 4 skills, 1 MCP server shipped together

Good fit It helps upload, store, reuse, and resize images or videos for social posts. It does not create new images or videos.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/target1m/ravenpost-mcp/prepare-post-media
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 target1m/ravenpost-mcp --skill prepare-post-media
Clone the repo
git clone --depth 1 https://github.com/target1m/ravenpost-mcp

Made for: Claude Code.

Or install ravenpost, the plugin that ships this one along with the rest of its 4 skills, 1 MCP server.

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 prepare-post-media

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/target1m/ravenpost-mcp/prepare-post-media"><img src="https://agentmods.dev/badge/skills/target1m/ravenpost-mcp/prepare-post-media.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,113 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.00110 $0.01113
Opus 5.5 $0.00044 $0.00445
Sonnet 5.5 $0.00022 $0.00223
Haiku 4.5 $0.00011 $0.00111

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

Security

Grade A, and why

prepare-post-media 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 6d 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/prepare-post-media/SKILL.md · 83 lines

How it starts

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

Prepare media for a post

Media lives in a per-workspace library and is referenced by id: upload once, reuse the id in as many posts as you like. Settle the workspace first (list_workspaces) — a media id from one workspace is refused in another, and a storage key is refused outright.

Full argument list: ../publish-a-social-post/references/tools.md. Per-platform media rules: ../publish-a-social-post/references/platforms.md.

You cannot make the picture

These tools ingest files; nothing here generates an image or a video. If a post needs media and the user has not provided any, ask for it. Do not describe an image you intend to produce, and do not fetch a stock photo from the open web on the user's behalf — that is someone else's licence, and they did not ask for it.

Getting a file in

Situation Tool Notes
The file is already online upload_media with url The usual case, and the cheapest
A large file, or anything in production create_media_upload → HTTP PUT the bytes → attach_media Bytes go straight to storage, never through this conversation
A small image you already hold as bytes upload_media with base64 Images only; avoid for video
A local path upload_media with path A development server only — it reads its own disk. The hosted server does not offer the argument at all
It is already in the library list_media Reuse the id instead of uploading twice

The presigned route is three calls on purpose: create_media_upload returns an uploadUrl and a storageKey, you PUT the raw bytes to that URL with the matching Content-Type, then attach_media records it with the same workspaceId you presigned in.

Shaping it

Images are reformatted on the way in, to the canvas the format argument names:

  • feed_square (1:1), feed_portrait (4:5 — the largest an Instagram feed shows), landscape (1.91:1), story (9:16, also what a reel or a TikTok photo wants), original (untouched).
  • fit: cover crops to fill (default), contain pads so nothing is cut off.
  • crop: smart finds the subject (default), centre is predictable — better for posters, screenshots and flat graphics composed around their middle.

Read the full file on GitHub · 83 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. 6d ago Changed · +4 lines c182a7204459
  2. 14d ago Changed 31f97902fa30
  3. 1mo ago First seen · 79 lines · 110 tokens per session scan A ee0a5be04f0d

Subscribe to this mod's changes

prepare-post-media is a skill published in the GitHub repository target1m/ravenpost-mcp (1 stars, last pushed 2d ago), licensed MIT. It adds 110 tokens to every session and 1,113 once invoked, about $0.0004 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-13.

Related

Other skills, from other repositories

posts-sociais

Cria posts otimizados para Instagram, LinkedIn, Twitter/X e TikTok com contexto do mercado brasileiro. Adapta tom, formato, comprimento e hashtags para cada plataforma, maximizando engajamento e alcance orgânico no Brasil.

ricneves-ai/flowgrammers-skills · 58 tokens

zernio

Schedule posts, manage inbox, broadcasts, sequences, and automations across 14 platforms from the CLI.

zernio-dev/zernio-cli · 24 tokens

restaurant-social

30-day social media content calendar — daily content ideas across Instagram, TikTok, and Facebook with platform-specific formatting.

zubair-trabzada/ai-restaurant-claude · 25 tokens

xpoz-best-practices

Reference guide for using Xpoz effectively via MCP. Covers query syntax (boolean operators, date filtering), response modes (fast/paging/CSV), field selection, tracking setup, and all platform tool references (Twitter, Instagram, Reddit, TikTok). Load for ANY Xpoz interaction, not just explicit best-practices…

XPOZpublic/xpoz-clawhub-skills · 73 tokens

xpoz-social-tracking

Set up and manage continuous social media tracking across Twitter, Instagram, Reddit, and TikTok. Add, remove, and view tracked keywords, users, subreddits, and hashtags. Use when asked to track mentions, monitor brands, set up tracking, view tracked items, or stop tracking.

XPOZpublic/xpoz-clawhub-skills · 65 tokens

lead-gen-scan

One-shot buying-intent lead scan across Reddit, Twitter, Instagram, and TikTok. Finds fresh posts from people actively asking for what your product does or frustrated with competitors, qualifies them, and reports prioritized leads for human engagement. Powered by billions of indexed posts via Xpoz MCP.

XPOZpublic/xpoz-clawhub-skills · 62 tokens