imagegen
Fungsinya
Memungkinkan asisten menghasilkan gambar orisinal, visual produk, atau diagram, serta mengedit gambar yang sudah Anda bagikan. Cocok untuk orang yang memerlukan gambar raster baru.
Kapan dipakai
- βSaat Anda meminta gambar, ilustrasi, atau visual produk baru.
- βSaat Anda ingin perubahan dibuat pada gambar yang sudah Anda lampirkan dalam percakapan.
- βSaat Anda ingin beberapa variasi dari ide gambar yang sama untuk dipilih.
Link skill
https://github.com/NanmiCoder/cc-haha/blob/main/src/skills/bundled/imagegen/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBuat foto produk yang bersih tentang cangkir keramik hijau di latar belakang putih.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Asisten memanggil alat pembuatan gambar untuk visual baru, atau alat edit untuk visual yang sudah ada. Setiap ide berbeda mendapatkan permintaannya sendiri, dan aplikasi desktop mengurus penyedia serta penyimpanannya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum
Apakah saya perlu memberikan kunci API kepada asisten?
Tidak. Host desktop mengelola penyedia gambar, sehingga Anda tidak perlu memasukkan kunci ke dalam prompt.
Bisakah ia mengedit gambar apa pun di komputer saya?
Tidak. Ia hanya mengedit gambar yang Anda berikan dalam percakapan, dan meminta Anda melampirkan gambar yang tidak bisa ia temukan.
Berapa banyak versi yang bisa dibuatnya?
Ia bisa membuat beberapa variasi dari satu prompt, tetapi ide yang berbeda memerlukan permintaan terpisah.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 15k
- Peringkat
- #10919
- Lisensi
- β
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
agent-desktop-ffi
15kMembantu pengembang memanggil pustaka otomasi desktop agent-desktop langsung dari Python, Swift, Node, Go, atau C++, tanpa memulai alat baris perintah untuk setiap tindakan.
agent-desktop-linux
15kMengajarkan agent Anda cara mengendalikan aplikasi desktop Linux dengan agent-desktop, termasuk apa yang berfungsi di X11 dan Wayland serta perbaikan umum saat pertama kali dijalankan.
agent-desktop-macos
15kMenunjukkan kepada agent Anda cara mengotomatisasi aplikasi Mac, termasuk memberikan izin yang diperlukan dan bekerja dengan menu, dialog, serta aplikasi Chromium atau Electron.
agent-desktop-windows
15kMenunjukkan kepada agent Anda cara mengotomatisasi aplikasi Windows, mencakup apa yang berfungsi, tanda kutip PowerShell, jendela yang diminimalkan, dan batasan aplikasi yang ditinggikan.
Skill serupa
gifgrep
394kMemungkinkan agent Anda mencari GIF, melihat pratinjau hasil, mengunduh GIF, dan mengambil satu bingkai diam atau lembar kontak darinya.
meme-maker
394kMemungkinkan agent Anda memilih templat meme, menambahkan teks sendiri, dan membuat meme sebagai gambar SVG atau PNG.
ios-icon-gen
280kMemungkinkan agent Anda membuat ikon untuk aplikasi iOS. Menggunakan simbol Apple atau ikon dari sumber lain untuk membuat file yang tepat.