imagegen
O que ela faz
Permite que o assistente gere imagens originais, visuais de produto ou diagramas, e faça edições em fotos que você compartilhou. É para quem precisa de imagens raster novas.
Quando usar
- ✓Quando você pede uma imagem, uma ilustração ou um visual de produto novo.
- ✓Quando você quer alterações em uma imagem que já anexou à conversa.
- ✓Quando você quer várias variações de uma mesma ideia de imagem para escolher.
Link da skill
https://github.com/NanmiCoder/cc-haha/blob/main/src/skills/bundled/imagegen/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Gere uma foto de produto limpa de uma caneca de cerâmica verde sobre um fundo branco.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O assistente chama uma ferramenta de geração de imagens para visuais novos, ou uma ferramenta de edição para os existentes. Cada ideia distinta recebe sua própria requisição, e o app de desktop cuida do provedor e do armazenamento.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Image generation
Use the built-in ImageGen and ImageEdit tools. Provider authentication, model routing, output storage, and secrets are managed by the desktop host; never ask the user to put an API key in this skill or in the prompt.
Decide the request shape
- Treat a brand-new visual as generation and call
ImageGen. Its schema intentionally has no image-path argument. - Treat a request that preserves, combines, or changes an existing visual as an edit and call
ImageEdit. - One distinct prompt equals one tool call.
- Use
countonly for multiple variations of the same prompt. For different concepts, make separate calls. ImageEditrequiresreferenced_image_paths: populate it with ordered, exact paths to images the user supplied in this conversation — a path surfaced by[Image source: ...], a file the user attached with@, or a path returned by an earlierImageGencall. Never invent, search for, or substitute another filesystem path, and never read an image off disk yourself to use it as an input; if the user means an image you have no path for, ask them to attach it. The first image is the primary canvas unless the user says otherwise.- For multi-turn editing, use the latest selected output as the next turn's
edit_target. Repeat all identity, layout, text, and unchanged-region constraints on every turn so edits do not drift. - To edit several images independently, make one call per image. Put multiple images in one call only when the user wants them combined or used together as references. A single call accepts at most three source images.
- Prefer a useful default composition when the user leaves details open. Do not invent branding, logos, or people they did not request.
- Provider and image model selection come from the current desktop session; do not add either to the tool arguments.
- If the provider returns an error, do not retry the image tool automatically. Explain the failure and let the user decide whether to retry or change providers.
Build the prompt
Turn the request into a complete art-direction brief. Preserve all relevant user-specified detail.
- use case and image type
- subject, action, and important attributes
- environment and context
- composition, framing, and camera angle
- lighting and mood
- visual style or medium
- color palette
- exact text, only when text must appear in the image
- constraints and elements to avoid
For edits, start the prompt with each input's numbered role, then say change only X; keep Y unchanged. For a composite, specify which subject or visual property comes from each numbered image and preserve the requested identities. Do not rely on conversational pronouns such as "it" or "the previous one" inside the tool prompt.
Preserve the user's intent and wording for names or required on-image text. For diagrams, specify hierarchy, reading order, labels, and connections. For photorealistic work, describe lens, depth of field, lighting direction, and material detail when they matter.
Output options
- Use
aspect_ratiowhen the user describes a layout such as square, portrait, landscape, banner, or phone wallpaper. - Use
resolution: "2k"only when higher resolution is useful and supported. - Use transparent background only when requested or clearly needed for a reusable asset.
- The host displays one placeholder per requested image and replaces each slot as the saved image becomes available.
After a successful call, briefly summarize what was created or changed. The host card already displays and opens the saved images, so do not repeat, link, or embed the returned local paths in the final answer. Do not include base64 data in the conversation.
Perguntas frequentes
Preciso fornecer uma chave de API ao assistente?
Não. O host do desktop gerencia o provedor de imagens, então você nunca precisa colocar uma chave no prompt.
Ele consegue editar qualquer imagem do meu computador?
Não. Ele só edita imagens que você forneceu na conversa, e pede que você anexe as que não encontrar.
Quantas versões ele consegue fazer?
Ele pode fazer várias variações de um mesmo prompt, mas ideias diferentes precisam de requisições separadas.
Detalhes
Descrição original do autor
Generate original images, artwork, product visuals, diagrams, or other raster assets with the desktop's configured image provider. Use whenever the user asks to create or generate an image.
repo: NanmiCoder/cc-haha
Popularidade
- Estrelas no GitHub
- 15 mil
- Posição no ranking
- #10919
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
agent-desktop-ffi
15 milAjuda desenvolvedores a chamar a biblioteca de automação de desktop agent-desktop diretamente de Python, Swift, Node, Go ou C++, sem iniciar a ferramenta de linha de comando para cada ação.
agent-desktop-linux
15 milEnsina seu agente a controlar apps de desktop Linux com o agent-desktop, incluindo o que funciona no X11 e no Wayland e correções comuns da primeira execução.
agent-desktop-macos
15 milMostra ao seu agente como automatizar apps do Mac, incluindo conceder as permissões necessárias e trabalhar com menus, caixas de diálogo e apps Chromium ou Electron.
agent-desktop-windows
15 milMostra ao seu agente como automatizar apps do Windows, cobrindo o que funciona, a formatação de aspas no PowerShell, janelas minimizadas e os limites de apps elevados.
Skills parecidas
gifgrep
394 milPermite que seu agente pesquise bibliotecas de GIFs, visualize resultados, baixe um GIF e extraia um quadro fixo ou uma folha de quadros.
meme-maker
394 milPermite que seu agente escolha um modelo de meme, adicione suas próprias legendas e crie o meme como imagem SVG ou PNG.
ios-icon-gen
280 milFaz seu agente gerar ícones para aplicativos iOS. Ele usa símbolos da Apple ou ícones de outras fontes para criar os arquivos corretos.