experience-content-media-image-generate

experience-content-media-image-generate is a skill for Claude Code, Codex from forcedotcom/sf-skills. It costs 132 tokens per session (938 once invoked), scanned A, original, Apache-2.0.

A workflow for generating images, logos, and user-interface mockups through a media-management service. It uses an image-generation tool when available and a placeholder when that tool is unavailable.

In plain words
What is it for?
Use it to create visual assets such as images, logos, hero banners, interface icons, and UI mockups.
Why use it?
It provides a defined path for handling visual-asset requests even when the image service cannot be used. It also sets out how to choose image size, model, and quality settings.

Skill for Claude CodeCodex

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

Good fit Use it to create visual assets such as images, logos, hero banners, interface icons, and UI mockups.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forcedotcom/sf-skills/experience-content-media-image-generate
About the project

forcedotcom/sf-skills is a collection of reusable instructions that help AI coding agents build and work with Salesforce applications and platform features. Developers use it for Agentforce agents, Lightning apps, Flow, Apex, SOQL, Lightning Web Components, and related Salesforce configuration. The catalogue entries are the repository’s skills, plugins, commands, MCP servers, and agents for AI tools that support skills.

forcedotcom/sf-skills · 1,097 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 forcedotcom/sf-skills --skill experience-content-media-image-generate
Clone the repo
git clone --depth 1 https://github.com/forcedotcom/sf-skills

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 experience-content-media-image-generate

README.md
[![agentmods](https://agentmods.dev/badge/skills/forcedotcom/sf-skills/experience-content-media-image-generate/github.svg)](https://agentmods.dev/skills/forcedotcom/sf-skills/experience-content-media-image-generate)
Your own site
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/experience-content-media-image-generate"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/experience-content-media-image-generate/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 experience-content-media-image-generate

Your own site · 80×15
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/experience-content-media-image-generate"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/experience-content-media-image-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 938 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.00132 $0.00938
Opus 5.5 $0.00053 $0.00375
Sonnet 5.5 $0.00026 $0.00188
Haiku 4.5 $0.00013 $0.00094

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

Security

Grade A, and why

experience-content-media-image-generate 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/download-image.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/experience-content-media-image-generate/SKILL.md · 84 lines

How it starts

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

Generating Images

Goal

To programmatically generate, download, and preview visual assets requested by the user, ensuring specific format and quality standards are met while providing a robust fallback mechanism.

Workflow

  1. Check if the media-management MCP server is configured and its create_image tool is available.
  2. If available, use create_image to generate the image.
  3. If not available, use the placeholder fallback below.

MCP: media-management

Tool: create_image

Check your available tools. If create_image is present, use it as the primary image generation method — pass the natural language prompt and applicable parameters from the table below. (media-management here refers to the MCP server name, not this skill.)

If create_image is not in your tool list, the media-management MCP is not configured — use the placeholder fallback below.

Image Generation Parameters

Use these defaults unless the user specifies otherwise:

Parameter Default Options
model Standard Standard, Premium
size auto auto, 1024x1024, 1536x1024, 1024x1536 (pick closest to user-requested size)
quality medium low, medium, high
outputCompression 75 0–100 (webp/jpeg only)
outputFormat webp webp, jpeg, png
background auto auto, transparent, opaque

Format rule: If outputFormat is png, set outputCompression to 100.

After Successful Generation

Run download-image.sh (located in this skill's scripts/ directory) to download and preview the image:

bash scripts/download-image.sh \
  --url "<image_url_from_response>" \
  --id "<responseId>" \
  --format "<outputFormat>" \
  --preview

The script handles credential retrieval, download, and VS Code preview. Pass --output-dir <dir> to override the default generatedimages/ directory.

Never resize or post-process the generated image with external tools. To control display dimensions, use CSS properties (e.g. width, height, object-fit) at the point of use.

Read the full file on GitHub · 84 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. 9d ago First seen · 84 lines · 132 tokens per session scan A ee89175df784

Subscribe to this mod's changes

experience-content-media-image-generate is a skill published in the GitHub repository forcedotcom/sf-skills (1,097 stars, last pushed today), licensed Apache-2.0. It adds 132 tokens to every session and 938 once invoked, about $0.0005 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-10-08.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

glance-canonical-layouts

Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).

android/skills · 56 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens