imagegen
Qué hace
Permite que el asistente genere imágenes originales, visuales de producto o diagramas, y haga cambios en las fotos que hayas compartido. Está pensada para personas que necesitan imágenes nuevas.
Cuándo usarla
- ✓Cuando pides una imagen nueva, una ilustración o un visual de producto.
- ✓Cuando quieres cambios en una imagen que ya has adjuntado en la conversación.
- ✓Cuando quieres varias variantes de la misma idea de imagen para elegir.
Link de la skill
https://github.com/NanmiCoder/cc-haha/blob/main/src/skills/bundled/imagegen/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Genera una foto de producto limpia de una taza de cerámica verde sobre fondo blanco.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El asistente llama a una herramienta de generación de imágenes para visuales nuevos, o a una herramienta de edición para los existentes. Cada idea distinta recibe su propia petición, y la app de escritorio gestiona el proveedor y el almacenamiento.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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.
Preguntas frecuentes
¿Tengo que darle al asistente una clave de API?
No. El anfitrión de escritorio gestiona el proveedor de imágenes, así que nunca tienes que poner una clave en el prompt.
¿Puede editar cualquier imagen de mi equipo?
No. Solo edita las imágenes que hayas proporcionado en la conversación, y te pide que adjuntes las que no encuentre.
¿Cuántas versiones puede hacer?
Puede hacer varias variantes de un mismo prompt, pero las ideas distintas necesitan peticiones separadas.
Detalles
Descripción original del 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
Popularidad
- Estrellas en GitHub
- 15 mil
- Posición en el ranking
- #10919
- Licencia
- —
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
agent-desktop-ffi
15 milAyuda a los desarrolladores a llamar a la biblioteca agent-desktop desde Python, Swift, Node, Go o C++, sin iniciar la herramienta de línea de comandos en cada acción.
agent-desktop-linux
15 milEnseña a tu agente a controlar apps de escritorio Linux con agent-desktop, incluido lo que funciona en X11 y Wayland y los arreglos habituales de la primera ejecución.
agent-desktop-macos
15 milMuestra a tu agente cómo automatizar apps de Mac, incluido conceder los permisos necesarios y trabajar con menús, diálogos y apps Chromium o Electron.
agent-desktop-windows
15 milMuestra a tu agente cómo automatizar apps de Windows: qué funciona, comillas en PowerShell, ventanas minimizadas y límites de las apps elevadas.
Skills parecidas
gifgrep
394 milPermite que tu agente busque GIF en bibliotecas, vea una vista previa de los resultados, descargue un GIF y extraiga un fotograma fijo o una hoja de contacto de fotogramas.
meme-maker
394 milPermite que tu agente elija una plantilla de meme, añada tus propios textos y cree el meme como imagen SVG o PNG.
ios-icon-gen
280 milPermite a tu agente generar iconos para apps de iOS. Usa símbolos de Apple u otras fuentes para crear los archivos correctos.