image-generation
하는 일
이 스킬은 이미지 도구로 그림을 만들고, 여러 차례에 걸쳐 수정하도록 에이전트를 가르칩니다. 원하는 모습을 설명해서 그림을 만들거나 바꾸고 싶은 사람에게 맞습니다.
사용하는 경우
- ✓설명에 따라 그림, 일러스트, 디자인을 그려 달라고 요청할 때.
- ✓저장된 이미지의 배경이나 조명처럼 일부를 바꾸고 싶을 때.
- ✓마지막으로 생성한 이미지의 다른 버전을 원할 때.
스킬 링크
https://github.com/HKUDS/nanobot/blob/main/nanobot/skills/image-generation/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“따뜻한 색감의 아늑한 카페 일러스트를 그려 주고, 배경을 더 밝게 바꿔 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 요청을 바탕으로 자세한 프롬프트를 쓰고 이미지 도구를 호출합니다. 생성된 이미지는 파일로 저장되며, 에이전트가 그 이미지를 다시 보내 줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Image Generation
Use the generate_image tool when the user asks you to create, render, draw, design, generate, or edit an image.
If the generate_image tool is not available in the current tool list, tell the user that image generation is not enabled for this nanobot instance.
When To Use
- Text-to-image: call
generate_imagewith a concreteprompt. - Image editing: pass the saved artifact path or user image path in
reference_images. - Iterative edits in the same conversation: prefer the most recent generated image artifact if the user says things like "make it brighter", "change the background", or "try another version".
- Ambiguous edits: ask a short clarifying question if multiple recent images could be the target.
- After generating images, call the
messagetool with the artifact paths in themediaparameter to deliver them to the user.
Prompt Rules
Write prompts with enough detail for image models:
- Subject and scene.
- Composition and camera or layout.
- Style, mood, lighting, and color palette.
- Text that must appear in the image, quoted exactly.
- Constraints such as "keep the same character", "preserve the logo", or "do not change the background".
Artifact Rules
The tool stores generated images as persistent artifacts under nanobot's media directory and returns structured metadata:
id: generated image id, such asimg_ab12cd34ef56.path: local file path for internal follow-up edits.mime: image MIME type.prompt,model, andsource_images: provenance for follow-up edits.
In normal user-facing replies, do not expose local filesystem paths. Keep the reply natural, for example "Done, I generated it." You may include the short image id when it helps the user refer to a specific image, but keep raw path internal unless the user explicitly asks for debug details or a local artifact reference. Never paste base64.
For follow-up edits, pass the prior artifact path to reference_images. If the user provides a new uploaded image, use that path as the reference instead.
Do not include internal replay markers such as [Message Time: ...], [image: /local/path], generate_image(...), or message(...) in user-facing replies.
Examples
Generate a new image:
generate_image(
prompt="A minimal app icon for nanobot: friendly robot head, rounded square, soft blue and white palette, clean vector style, no text",
aspect_ratio="1:1",
image_size="1K"
)
Edit the latest generated artifact:
generate_image(
prompt="Use the reference image. Keep the same robot and composition, but change the palette to warm orange and add a subtle sunrise background.",
reference_images=["/home/user/.nanobot/media/generated/2026-05-08/img_ab12cd34ef56.png"],
aspect_ratio="1:1",
image_size="1K"
)
자주 묻는 질문
이미지 생성 기능이 항상 켜져 있나요?
아닙니다. 이 인스턴스에서 이미지 도구가 켜져 있지 않으면, 에이전트가 그 사실을 알려야 한다고 스킬이 말합니다.
업로드한 사진을 편집할 수 있나요?
네. 저장된 이미지나 직접 올린 이미지를 편집을 위한 참고 자료로 전달할 수 있습니다.
좋은 이미지 프롬프트란 무엇인가요?
스킬은 주제, 구도, 스타일, 조명, 색감, 그리고 들어가야 할 정확한 텍스트를 명시하라고 제안합니다.
상세 정보
인기도
- GitHub 스타
- 50k
- 순위
- #3598
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
clawhub
50k공개 레지스트리에서 AI 스킬을 검색하고, 이미 가진 스킬을 설치, 업데이트, 목록으로 보도록 에이전트를 돕습니다.
github
50k에이전트가 gh 도구로 GitHub 풀 리퀘스트와 CI 실행을 확인하고, 실패한 빌드 로그를 읽고, 저장소 데이터를 조회하도록 돕습니다.
memory
50k에이전트가 저장된 과거 대화 기록에서 주제나 날짜로 이전 내용을 찾도록 돕습니다.
my
50k에이전트가 자신의 실행 상태를 확인하고, 설정을 신중하게 조정하며, 세션 간 짧은 메모를 남기도록 돕습니다.