Og Image Design
Helps with image processing, design as part of agent workflows workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add inference-sh-og-image-design npx -- -y @trustedskills/inference-sh-og-image-design
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"inference-sh-og-image-design": {
"command": "npx",
"args": [
"-y",
"@trustedskills/inference-sh-og-image-design"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to generate Open Graph (OG) images for social sharing using the inference.sh CLI tool (infsh). It takes HTML input and converts it into a visually appealing image suitable for platforms like Facebook, Twitter/X, LinkedIn, Discord, Slack, and iMessage. The skill allows you to specify dimensions, aspect ratios, file sizes, and formats (JPG, PNG, WEBP, GIF) based on the target platform's requirements.
When to use it
- Creating images for blog posts or articles to be shared on social media.
- Generating promotional visuals for marketing campaigns.
- Producing eye-catching graphics for announcements and updates.
- Automating the creation of consistent branding across different social platforms.
- Quickly generating images with specific text content, such as performance metrics ("How We Reduced Build Times by 80%").
Key capabilities
- Generates Open Graph (OG) images from HTML input.
- Supports various image dimensions and aspect ratios for different platforms.
- Allows specifying file size limits and supported formats (JPG, PNG, WEBP, GIF).
- Provides design rules including font sizes, character limits, line height, contrast requirements, and safe zones to ensure compatibility across social media platforms.
- Supports background types like solid colors, gradients, and photos with overlays.
Example prompts
- "Create an OG image for our blog post about build time reductions using this HTML: [HTML content]"
- "Generate a Twitter summary image with the title 'New Feature Launch' and subtitle 'Check out our latest update!'."
- "Design an Open Graph image optimized for LinkedIn, featuring the text 'Company X Achieves Record Growth'."
Tips & gotchas
- Requires the inference.sh CLI (
infsh) to be installed and configured with a valid login. - Pay attention to character limits for titles (60 characters) and subtitles (100 characters) to prevent truncation on some platforms.
- Adhere to the design rules regarding font sizes, contrast ratios, and safe zones to ensure optimal visual appeal and compatibility across different social media platforms.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.