imagegen
Что он делает
Позволяет ассистенту создавать оригинальные изображения, визуалы товаров и схемы, а также вносить правки в картинки, которыми вы поделились. Он нужен людям, которым нужны новые растровые изображения.
Когда использовать
- ✓Когда вы просите новую картинку, иллюстрацию или визуал товара.
- ✓Когда вы хотите внести изменения в изображение, которое уже прикреплено к разговору.
- ✓Когда вы хотите несколько вариантов одной идеи изображения, чтобы выбрать.
Ссылка на скилл
https://github.com/NanmiCoder/cc-haha/blob/main/src/skills/bundled/imagegen/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Создай аккуратное фото зелёной керамической кружки на белом фоне для каталога товаров.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Ассистент вызывает инструмент генерации изображений для новых визуалов или инструмент редактирования для существующих. Каждая отдельная идея получает свой запрос, а провайдером и хранением занимается приложение рабочего стола.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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.
Частые вопросы
Нужно ли давать ассистенту API-ключ?
Нет. Хост рабочего стола управляет провайдером изображений, поэтому ключ никогда не нужно указывать в промпте.
Может ли он редактировать любое изображение на моём компьютере?
Нет. Он редактирует только изображения, которыми вы поделились в разговоре, и просит прикрепить те, которые не может найти.
Сколько вариантов он может сделать?
Он может создать несколько вариантов одного промпта, но разные идеи требуют отдельных запросов.
Подробности
Оригинальное описание автора
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
Популярность
- Звёзды на GitHub
- 15k
- Место в рейтинге
- #10919
- Лицензия
- —
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
agent-desktop-ffi
15kПомогает разработчикам вызывать библиотеку agent-desktop напрямую из Python, Swift, Node, Go или C++, без запуска утилиты для каждого действия.
agent-desktop-linux
15kУчит агента управлять приложениями Linux через agent-desktop: что работает в X11 и Wayland и как исправить типичные проблемы первого запуска.
agent-desktop-macos
15kПоказывает агенту, как автоматизировать приложения на Mac: выдать нужные разрешения, работать с меню и диалогами, а также с приложениями Chromium и Electron.
agent-desktop-windows
15kПоказывает агенту, как автоматизировать приложения Windows: что работает, кавычки в PowerShell, свёрнутые окна и ограничения повышенных прав.
Похожие скиллы
gifgrep
394kПозволяет агенту искать GIF-анимации, просматривать результаты, скачивать GIF и вытаскивать отдельный кадр или таблицу кадров.
meme-maker
394kПозволяет агенту выбрать шаблон мема, добавить свои подписи и создать мем в виде изображения SVG или PNG.
ios-icon-gen
280kАгент генерирует иконки для приложений iOS из символов Apple или других источников и создаёт нужные файлы.