- name
SKILL.md
技能文件保留在发布者的仓库中。
在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add zhtyyx/codex-seo --skill seo-image-gen -a cursor -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add zhtyyx/codex-seo --skill seo-image-gen -a claude-code -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add zhtyyx/codex-seo --skill seo-image-gen -a codex -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add zhtyyx/codex-seo --skill seo-image-gen -a grok -y在 Grok Bot 聊天中发送复制的消息。Bot 会从 GitHub 获取这个 SKILL.md,并添加到你所有 Bot 共享的技能中。
Install this skill: https://github.com/zhtyyx/codex-seo/tree/HEAD/extensions/banana/skills/seo-image-gen来自发布者
Generate production-ready images for SEO use cases using Gemini's image generation via the banana Creative Director pipeline. Maps SEO needs to optimized domain modes, aspect ratios, and resolution defaults.
This extension is built on Claude Banana, the standalone AI image generation skill for Codex CLI.
This skill has two components with distinct roles:
$seo image-gen commands for generating imagesagents/seo-image-gen.md): Audit-only analyst spawned during $seo audit to assess existing OG/social images and produce a generation plan (never auto-generates)This skill requires the banana extension to be installed:
./extensions/banana/install.sh
Check availability: Before using any image generation tool, verify the MCP server
is connected by checking if gemini_generate_image or set_aspect_ratio tools are
available. If tools are not available, inform the user the extension is not installed
and provide install instructions.
Each use case maps to pre-configured banana parameters:
For every generation request:
set_aspect_ratio MCP tool${CODEX_SKILL_DIR} as the installed skill root${CODEX_SKILL_DIR}/references/prompt-engineering.md for the 6-component systemgemini_generate_image MCP toolIf the user mentions a brand or has SEO presets configured:
"${CODEX_SEO_ROOT}/scripts/codex-seo" run --extension banana presets.py list
Load matching preset and apply as defaults. Also check ${CODEX_SKILL_DIR}/references/seo-image-presets.md
for SEO-specific preset templates.
After every successful generation, guide the user on:
keyword-description-widthxheight.webpmagick output.png -quality 85 output.webp
ImageObject schema for the generated image:
{
"@type": "ImageObject",
"url": "https://example.com/images/keyword-description.webp",
"width": 1200,
"height": 630,
"caption": "Descriptive caption with target keyword"
}
<meta property="og:image" content="https://example.com/images/og-image.webp" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Descriptive alt text" />
Image generation costs money. Be transparent:
"${CODEX_SEO_ROOT}/scripts/codex-seo" run --extension banana cost_tracker.py log --model MODEL --resolution RES --prompt "brief"cost_tracker.py summary if user asks about usagePricing is not hard-coded. Check current Google pricing at
https://ai.google.dev/gemini-api/docs/pricing, store dated values in
~/.banana/pricing.json, and treat estimates as approximate.
$seo images identify missing or low-quality images; use those findings to drive $seo image-gen commandsImageObject schema markup pointing to the new assetsLoad on-demand. Do NOT load all at startup:
${CODEX_SKILL_DIR}/references/prompt-engineering.md: 6-component system, domain modes, advanced techniques${CODEX_SKILL_DIR}/references/prompt-templates.md: ready-to-use templates by use case${CODEX_SKILL_DIR}/references/prompt-adaptation-safety.md: model adaptation rules, common mistakes, safety-filter rephrasing${CODEX_SKILL_DIR}/references/gemini-models.md:Model specs, rate limits, capabilities${CODEX_SKILL_DIR}/references/mcp-tools.md:MCP tool parameters and responses${CODEX_SKILL_DIR}/references/post-processing.md:ImageMagick/FFmpeg pipeline recipes${CODEX_SKILL_DIR}/references/cost-tracking.md:Pricing, usage tracking${CODEX_SKILL_DIR}/references/presets.md:Brand preset management${CODEX_SKILL_DIR}/references/seo-image-presets.md:SEO-specific preset templatesAfter generating, always provide:
AI image generation for SEO assets: OG/social preview images, blog hero images, schema images, product photography, infographics. Powered by Gemini via nanobanana-mcp. Requires banana extension instal
---name: seo-image-gendescription: AI image generation for SEO assets: OG/social preview images, blog hero images, schema images, product…---# extensions/banana/skills/seo-image-gen/SKILL.md概览
AI image generation for SEO assets: OG/social preview images, blog hero images, schema images, product photography, infographics. Powered by Gemini via nanobanana-mcp. Requires banana extension installed. Use when the user wants an SEO asset and says \"OG image\", \"social preview\", \"hero image\", \"blog image\", \"product photo\", \"infographic\", \"seo image\", \"image-gen\", \"favicon\", \"schema image\", or \"pinterest pin\". Not for general artwork, banners, or thumbnails unrelated to SEO.
常见问题
从发布者处下载 extensions/banana/skills/seo-image-gen/SKILL.md,或复制路径后打开仓库。PlugMCP 只收录该技能,不托管文件。
发布者将它存放在 https://github.com/zhtyyx/codex-seo。
Claude、Cursor、Codex 和 Grok Build 可以读取你从发布者仓库添加的 SKILL.md。在聊天中发送技能的 GitHub 文件夹链接,Grok Bot 就会安装它。