- name
SKILL.md
Tệp skill vẫn nằm trong kho mã của nhà phát hành.
Dán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add zhtyyx/codex-seo --skill seo-image-gen -a cursor -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add zhtyyx/codex-seo --skill seo-image-gen -a claude-code -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add zhtyyx/codex-seo --skill seo-image-gen -a codex -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add zhtyyx/codex-seo --skill seo-image-gen -a grok -yGửi tin nhắn đã sao chép trong cuộc trò chuyện Grok Bot. Bot sẽ lấy tệp SKILL.md này từ GitHub và thêm vào bộ skill mà mọi Bot của bạn dùng chung.
Install this skill: https://github.com/zhtyyx/codex-seo/tree/HEAD/extensions/banana/skills/seo-image-genTừ nhà phát hành
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.mdTổng quan
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.
Câu hỏi thường gặp
Tải extensions/banana/skills/seo-image-gen/SKILL.md từ nhà phát hành, hoặc sao chép đường dẫn và mở kho mã. PlugMCP chỉ liệt kê skill và không lưu trữ tệp này.
Nhà phát hành duy trì nó tại https://github.com/zhtyyx/codex-seo.
Claude, Cursor, Codex và Grok Build có thể đọc tệp SKILL.md mà bạn thêm từ kho mã của nhà phát hành. Grok Bot cài đặt skill khi bạn gửi liên kết thư mục GitHub của skill trong cuộc trò chuyện.