- 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 就會安裝它。