Install
openclaw skills install nano-img-cliDrives the local nano-img Gemini image CLI for image generation, model selection, saved defaults, reference-image workflows, and output sizing or format conversion. Use when the user wants to generate images with nano-img or nano-image, inspect config or refs, set the default model or save directory, manage ~/.nano-img files, or get command-specific help for this CLI.
openclaw skills install nano-img-cliUse this skill when the task is specifically about the local nano-img or nano-image CLI in this repository or its home-directory defaults under ~/.nano-img.
Package naming note:
nanobananano-img, nano-imageTypical triggers:
Do not use this skill for general Gemini API design discussions that are not tied to this CLI.
Prefer the installed binaries when available:
nano-imgnano-imageIf you are working inside this repo and do not want to depend on a global link, use:
npm run dev -- <command>npm run nano-img -- <command>nano-img help for global help or nano-img <command> --help for command help.nano-img config --json.nano-img model ...nano-img save-dir ...~/.nano-img/INSTRUCTION.md~/.nano-img/STYLE.md~/.nano-image/STYLE.md~/.nano-img/assets and verify with nano-img refs --json.For generation details and command recipes, read references/command-reference.md.
Key rules:
generate explicitly unless the user clearly wants the shorthand prompt form.~/.nano-img/config.json.--save-to or --output, that overrides the saved default output directory.png; jpg, jpeg, and webp are supported through local conversion.For persistent settings and file layout, read references/defaults-and-files.md.
Prefer command-driven config changes:
nano-img model <name>nano-img modelsnano-img save-dir --set "<path>"nano-img save-dir --clear-save-dirAvoid editing ~/.nano-img/config.json directly unless the user explicitly asks for a manual file edit.
Read references/troubleshooting.md when:
After making changes or guiding usage:
--json when you need machine-readable confirmation