跳到正文
cccskills
免费在 GitHub 公开

image-generation

Generate images from written instructions and edit saved or uploaded images using them as references. Continue refining the latest image in a conversation, adjusting details such as brightness, background, or colors while specifying what to preserve.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Generate images and iteratively edit saved image artifacts.

查看安装方法

适用场景

  • Creating an image from a written description
  • Editing an uploaded image
  • Refining the latest generated image
  • Changing colors while preserving a character or composition

包含的文件(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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_image with a concrete prompt.
  • 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 message tool with the artifact paths in the media parameter 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 as img_ab12cd34ef56.
  • path: local file path for internal follow-up edits.
  • mime: image MIME type.
  • prompt, model, and source_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"
)

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

clawhub

免费

Find agent skills on ClawHub, a public skill registry, using everyday language. Install selected skills into the nanobot workspace, review installed skills, and update them together through command-line tools.

中文简介正在准备中。当前显示英语简介。

  • Find a skill for a specific task
  • Install a skill into the nanobot workspace
  • Review the list of installed skills
HKUDS/nanobot4.9万2026年10月19日 更新

cron

免费

Schedule reminders and recurring agent tasks at specific times or intervals. Use it for meeting alerts, regular reports, or weekday routines, with support for one-time tasks, time zones, and viewing or removing scheduled jobs.

中文简介正在准备中。当前显示英语简介。

  • Schedule a one-time meeting reminder
  • Set recurring reminders to take breaks
  • Receive a report every weekday
HKUDS/nanobot4.9万2026年10月19日 更新

github

免费

Use the GitHub command-line tool to inspect issues, pull requests, and automated workflow runs. Check failed steps and logs, retrieve additional details through the API, and extract selected fields into structured results.

中文简介正在准备中。当前显示英语简介。

  • Check automated test results for a pull request
  • Inspect failed workflow steps and logs
  • List issue numbers and titles
HKUDS/nanobot4.9万2026年10月19日 更新

memory

免费

Search the agent’s conversation history by topic or date to retrieve relevant past entries. Inspect neighboring records when needed to understand the surrounding discussion, using the history log specified for the agent’s workspace.

中文简介正在准备中。当前显示英语简介。

  • Finding an earlier conversation about a topic
  • Looking up conversation records by date
  • Checking context around a matching entry
HKUDS/nanobot4.9万2026年10月19日 更新

my

免费

Inspect an agent’s current model, processing limits, workspace, tools, and message routing details. Diagnose unavailable capabilities, adjust permitted runtime settings, or keep temporary session notes, with advance notice before changes that affect the model or limits.

中文简介正在准备中。当前显示英语简介。

  • Diagnose why a capability is unavailable
  • Check capacity before a large task
  • Adjust allowed model presets or iteration limits
HKUDS/nanobot4.9万2026年10月19日 更新

Get answers about nanobot setup, configuration, and troubleshooting using documentation bundled with the installed version. Find relevant guidance for the WebUI, model providers, integrations, and configuration fields.

中文简介正在准备中。当前显示英语简介。

  • Get help with initial nanobot setup
  • Find settings in the WebUI
  • Check model provider configuration
HKUDS/nanobot4.9万2026年10月19日 更新

查看 HKUDS 的全部技能

报告此技能的问题