image-generation
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.
- In the current chat, do not call
messagejust to announce or resend generated images. The runtime attaches images fromgenerate_imageto the final assistant reply automatically.
Prompt Rules
Write prompts with enough detail for image models:
- Subject and scene.
More from hkuds/nanobot
tmux
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
75summarize
Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
52memory
Two-layer memory system with Dream-managed knowledge files.
49cron
Schedule reminders and recurring tasks.
23clawhub
Search and install agent skills from ClawHub, the public skill registry.
23skill-creator
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
21