/ Diretório / Playground / banana-claude
● Comunidade AgriciDaniel ⚡ Instantâneo

banana-claude

por AgriciDaniel · AgriciDaniel/banana-claude

AI image generation skill for Claude Code — a creative director powered by Gemini that prompts the model so you don't have to.

Banana Claude turns Claude Code into a creative director for AI images. You describe the shot at a high level; the skill expands it into a Gemini-ready prompt with composition, lighting, and style directives, then calls Gemini to render. Good for hero images, social cards, and brand-consistent stills.

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

banana-claude-skill.replay ▶ pronto
0/0

Instalar

Escolha seu cliente

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "banana-claude-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AgriciDaniel/banana-claude",
        "~/.claude/skills/banana-claude"
      ],
      "_inferred": true
    }
  }
}

Abra Claude Desktop → Settings → Developer → Edit Config. Reinicie após salvar.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "banana-claude-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AgriciDaniel/banana-claude",
        "~/.claude/skills/banana-claude"
      ],
      "_inferred": true
    }
  }
}

Cursor usa o mesmo esquema mcpServers que o Claude Desktop. Config de projeto vence a global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "banana-claude-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AgriciDaniel/banana-claude",
        "~/.claude/skills/banana-claude"
      ],
      "_inferred": true
    }
  }
}

Clique no ícone MCP Servers na barra lateral do Cline, depois "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "banana-claude-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AgriciDaniel/banana-claude",
        "~/.claude/skills/banana-claude"
      ],
      "_inferred": true
    }
  }
}

Mesmo formato do Claude Desktop. Reinicie o Windsurf para aplicar.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "banana-claude-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AgriciDaniel/banana-claude",
        "~/.claude/skills/banana-claude"
      ]
    }
  ]
}

O Continue usa um array de objetos de servidor em vez de um map.

~/.config/zed/settings.json
{
  "context_servers": {
    "banana-claude-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/AgriciDaniel/banana-claude",
          "~/.claude/skills/banana-claude"
        ]
      }
    }
  }
}

Adicione em context_servers. Zed recarrega automaticamente ao salvar.

claude mcp add banana-claude-skill -- git clone https://github.com/AgriciDaniel/banana-claude ~/.claude/skills/banana-claude

Uma linha só. Verifique com claude mcp list. Remova com claude mcp remove.

Casos de uso

Usos do mundo real: banana-claude

How to generate a hero image for a blog post

👤 Writers and marketers who want one-shot polished hero images ⏱ ~5 min beginner

Quando usar: You have a post title and a vibe in mind — you need one hero image in the next 2 minutes.

Pré-requisitos
  • Gemini API key — Set GEMINI_API_KEY in env
  • Skill installed — git clone https://github.com/AgriciDaniel/banana-claude ~/.claude/skills/banana-claude
Fluxo
  1. Describe the shot
    Banana Claude: hero image for 'The 2AM Bug That Cost Us $40k' — moody, cinematic, developer at a laptop lit by monitor glow.✓ Copiado
    → Expanded prompt with lens/lighting details echoed back
  2. Review and generate
    Generate 2 variants and save to assets/hero-2am-bug.png✓ Copiado
    → Two PNGs with different takes on the brief

Resultado: A hero image that looks commissioned, not generated.

Armadilhas
  • All outputs share a 'Gemini look' — Add a style anchor — 'in the style of Annie Leibovitz portraits' — to break the default

Generate a brand-consistent social image pack

👤 Solo marketers maintaining a consistent feed look ⏱ ~15 min beginner

Quando usar: You need 6-10 images that feel like they belong together.

Pré-requisitos
  • Brand style notes (palette, mood) — Write 3-5 lines; skill uses as style guardrail
Fluxo
  1. Lock a style anchor
    My brand style: muted pastels, isometric, soft shadows. Lock that as the anchor for the session.✓ Copiado
    → Skill confirms and echoes the anchor
  2. Iterate per post
    Now generate images for these 6 post titles using the anchor.✓ Copiado
    → 6 on-brand images

Resultado: A cohesive image set ready for a week of posts.

Armadilhas
  • Drift after image 3 — Re-state the anchor every 2-3 generations; Gemini's context on image specifics is fuzzy

Combinações

Combine com outros MCPs para 10× de alavancagem

banana-claude-skill + smart-illustrator-skill

Banana for hero/brand images, Smart Illustrator for in-article diagrams

For posts/launch.md: banana-claude for the hero, smart-illustrator for the architecture diagrams inside.✓ Copiado
banana-claude-skill + ai-marketing-claude-code-skill

Marketing skill plans the campaign; Banana renders the creative

Draft a 7-post launch campaign with the marketing skill, then generate hero images for each with banana-claude.✓ Copiado

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
expand_brief brief: str, style_anchor?: str Before generating, to build a rich prompt ~1k Claude tokens
generate_image prompt: str, variants?: int, out_path?: str After brief expansion approved 1 Gemini call per variant
save_template name, prompt When a prompt pattern produces consistent wins 0

Custo e limites

O que custa rodar

Cota de API
Gemini free tier: 15 req/min, 1500/day
Tokens por chamada
1-3k Claude tokens for prompt expansion
Monetário
Free on Gemini free tier; ~$0.04/image on paid tier
Dica
Save winning prompts as templates to avoid re-paying for expansion calls.

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: GEMINI_API_KEY in env
Saída de dados: All briefs and outputs go to Google Gemini

Solução de problemas

Erros comuns e correções

Gemini returns blurry/low-quality image

Include a resolution and aspect-ratio hint in the brief; ask for 'photographic, high detail, 4K'

Safety filter blocks the generation

Simplify the brief; remove ambiguous references to people or brands

Skill not triggering

Explicit invocation works best: 'Use banana-claude to ...'

Verificar: ls ~/.claude/skills/banana-claude/SKILL.md

Alternativas

banana-claude vs. outros

AlternativaQuando usarTroca
smart-illustrator-skillYou need diagrams and covers with position detection, not just stillsLess hand-holding on the creative brief
Midjourney / SoraYou need higher-end fidelitySeparate UI, no Claude integration

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills