Media Tools
therichardngai-code/gpt-image-2-pro-max
Two CLI tools for image generation + vision analysis using goclaw's provider-chain pattern.
Use the local aigen CLI to generate images through configured providers such as OpenRouter or OpenAI.
$ npx skills add Peiiii/nextclaw --skill aigen-image-generation -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Peiiii/nextclaw aigen-image-generation --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Peiiii/nextclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/aigen-image-generation .claude/skills/aigen-image-generation && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "aigen-image-generation" agent skill from https://github.com/Peiiii/nextclaw/tree/master/skills/aigen-image-generation into .claude/skills/aigen-image-generation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aigen-image-generation", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Peiiii/nextclaw/tree/master/skills/aigen-image-generationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Peiiii/nextclaw --skill aigen-image-generation -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Peiiii/nextclaw aigen-image-generation --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Peiiii/nextclaw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/aigen-image-generation .agents/skills/aigen-image-generation && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "aigen-image-generation" agent skill from https://github.com/Peiiii/nextclaw/tree/master/skills/aigen-image-generation into .agents/skills/aigen-image-generation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aigen-image-generation", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Peiiii/nextclaw --skill aigen-image-generation -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Peiiii/nextclaw aigen-image-generation --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Peiiii/nextclaw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/aigen-image-generation .cursor/skills/aigen-image-generation && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "aigen-image-generation" agent skill from https://github.com/Peiiii/nextclaw/tree/master/skills/aigen-image-generation into .cursor/skills/aigen-image-generation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aigen-image-generation", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Peiiii/nextclaw.git --path skills/aigen-image-generation--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Peiiii/nextclaw --skill aigen-image-generation -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Peiiii/nextclaw aigen-image-generation --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Peiiii/nextclaw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/aigen-image-generation .gemini/skills/aigen-image-generation && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "aigen-image-generation" agent skill from https://github.com/Peiiii/nextclaw/tree/master/skills/aigen-image-generation into .gemini/skills/aigen-image-generation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aigen-image-generation", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Peiiii/nextclaw aigen-image-generationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Peiiii/nextclaw --skill aigen-image-generation -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Peiiii/nextclaw.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/aigen-image-generation .github/skills/aigen-image-generation && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "aigen-image-generation" agent skill from https://github.com/Peiiii/nextclaw/tree/master/skills/aigen-image-generation into .github/skills/aigen-image-generation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aigen-image-generation", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Peiiii/nextclaw --skill aigen-image-generation -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Peiiii/nextclaw aigen-image-generation --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Peiiii/nextclaw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/aigen-image-generation .opencode/skills/aigen-image-generation && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "aigen-image-generation" agent skill from https://github.com/Peiiii/nextclaw/tree/master/skills/aigen-image-generation into .opencode/skills/aigen-image-generation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aigen-image-generation", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
aigen-image-generationUse the local aigen CLI to generate images through configured providers such as OpenRouter or OpenAI.
Aigen Image Generation is an agent skill from Peiiii/nextclaw. Use the local aigen CLI to generate images through configured providers such as OpenRouter or OpenAI. Use when the user asks to create, generate, or render images and wants files produced locally through an external CLI.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `marketplace.json`).
It sits in Media & Creative, covering Image generation and Model routing and gateways. It works with OpenRouter and OpenAI. The repository describes itself as: A human-centered long-term AI partner—not a task-centered assistant. The licence is MIT.
Read from SKILL.md and the folder at commit 297cf0e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npxnpmopensslFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npx and npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
OPENROUTER_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Aigen Image Generation loads about 1.3k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 529 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Peiiii/nextclaw at commit 297cf0e, republished under its MIT licence (© Peiiii). 529 words, ~1,271 tokens.
.claude/skills/aigen-image-generation/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Use this skill when the user wants AI-generated images and local file output through the aigen CLI.
This is a wrapped external tool skill:
aigen owns provider configuration, API calls, response normalization, and writing image files.openrouter/x-ai/grok-imagine-image-quality.aigen.aigen secrets.First check whether aigen is available:
command -v aigen
aigen --versionIf aigen is not installed, use the published package:
npm install -g @nextclaw/aigenIf global install is not appropriate, use npx for the current task:
npx -y @nextclaw/aigen@latest --versionPrefer a stable aigen binary for multi-step workflows because provider and secret commands need consistent local state.
aigen stores its own config under ${AIGEN_HOME:-~/.aigen}:
config.json contains providers and models.secrets.json contains masked provider API key records.Do not edit these files manually unless the user explicitly asks. Prefer the dedicated commands.
For OpenRouter:
aigen providers add openrouter --api-format openrouter --jsonSet the API key through stdin. Never put the key directly in shell history:
printf '%s' "$OPENROUTER_API_KEY" | aigen secrets set openrouter --stdin --jsonAdd a model under the provider:
aigen models add openrouter/x-ai/grok-imagine-image-quality --kind image --generate --max-count 1 --jsonIf the user has not provided an API key and no safe environment variable is available, stop and ask the user for the key or for permission to use another configured provider. Do not invent, log, or echo API keys.
Create an output directory outside the repo unless the user explicitly asks for a project path:
output_dir="$(mktemp -d)"Choose a collision-resistant output name:
output_name="image-$(date +%Y%m%d-%H%M%S)-$(openssl rand -hex 3)"Generate:
aigen image \
--model openrouter/x-ai/grok-imagine-image-quality \
--prompt "<prompt>" \
--output-dir "$output_dir" \
--output-name "$output_name" \
--jsonParse the JSON result. A successful result contains:
ok: trueassets[]assets[].pathassets[].mimeTypeassets[].sizeBytesReturn the generated file path to the user. In environments that can render local images, show the image using its absolute path.
AIGEN_HOME pointing to a temporary directory for tests and smoke checks.Check provider and model setup:
aigen providers list --json
aigen models list --json
aigen secrets list --json
aigen doctor --model openrouter/x-ai/grok-imagine-image-quality --jsonRemote model discovery, when supported by the provider:
aigen models list --remote --provider openrouter --kind image --jsonaigen not foundInstall @nextclaw/aigen globally or use npx -y @nextclaw/aigen@latest.
Run provider/model setup commands first, or set AIGEN_HOME to the expected config directory.
Use aigen secrets set <provider-id> --stdin --json. Do not pass the key as a command-line argument.
Check:
apiFormatapiBaseUse aigen models list --remote --provider <provider-id> --kind image --json when supported.
The skill succeeds when:
aigen --version runs,aigen image returns ok: true,© Peiiii, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/aigen-image-generation of Peiiii/nextclaw.
Open the folder on GitHubat commit 297cf0e
Aigen Image Generation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Aigen Image Generation this skillPeiiii/nextclaw | 260 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Media Toolstherichardngai-code/gpt-image-2-pro-max | 101 | — | ~1.5k | Automated safety check: Notes | MIT | |
| AI Image Creatorevolution-foundation/evo-nexus | 545 | — | ~5.1k | Automated safety check: Notes | Custom licence | |
| Generate ImageK-Dense-AI/claude-scientific-writer | 2.4k | 1 repos | ~3.8k | Automated safety check: Notes | MIT | |
| Baoyu ImagineLeoYeAI/openclaw-master-skills | 2.2k | — | ~5.1k | Automated safety check: Notes | MIT | |
| Openrouter Text2imageQinghongLin/data2story-skill | 156 | — | ~357 | Automated safety check: Pass | MIT |
therichardngai-code/gpt-image-2-pro-max
Two CLI tools for image generation + vision analysis using goclaw's provider-chain pattern.
evolution-foundation/evo-nexus
Generates PNG images through OpenRouter models, with transparent backgrounds and reference-image edits, and describes existing images with multimodal vision.
K-Dense-AI/claude-scientific-writer
Generate or edit images with AI models through the OpenRouter Image API (Gemini, Seedream, Recraft, GPT-Image, Riverflow).
LeoYeAI/openclaw-master-skills
AI image generation with OpenAI, Azure OpenAI, Google, OpenRouter, DashScope, MiniMax, Jimeng, Seedream and Replicate APIs.
QinghongLin/data2story-skill
Generate images via OpenRouter. An agent skill from QinghongLin/data2story-skill.
centminmod/my-claude-code-setup
Generate, edit-from-reference, or analyze images with AI via OpenRouter (Gemini, GPT Image, Seedream, Qwen, MAI, Grok, FLUX.2, Recraft, Muse, Riverflow; Cloudflare AI Gateway BYOK).
Peiiii/nextclaw
A skill your agent uses when a user wants to browse, apply, inspect, create, refine, switch, or remove a NextClaw skin; wants a personal skin with arbitrary CSS, JavaScript, images, SVG, DOM…
Peiiii/nextclaw
A skill your agent uses when a development task needs visible phase tracing, task-level or phase-level Token measurement, model/effort comparison, or a deterministic usage report or local dashboard…
Peiiii/nextclaw
当 NextClaw 产品更新后需要生成、替换、挑毛病或检查官网、GitHub README、用户文档或社交传播中的真实截图、AI 宣传视觉、整页 HTML 宣传预览、社区二维码等对外视觉资产时使用;也用于“更新截图”“重新截一批图”“做宣传页”“生成 campaign 页面”“视觉审稿”“五星挑刺法”或发布前检查视觉资产。普通站点布局开发或只写文章不触发。
Peiiii/nextclaw
A skill your agent uses when the user wants professional UI/UX design guidance, design-system generation, UX review, or stack-specific frontend guidance through a bundled local UI/UX Pro Max dataset…
Peiiii/nextclaw
A skill your agent uses when the user wants distinctive, production-grade frontend design, anti-generic AI aesthetics, UX critique, technical UI audits, or final polish through bundled Impeccable…
Peiiii/nextclaw
Curate NextClaw skill resources, including OpenClaw and community sources.
Works with
Categories
Use the local aigen CLI to generate images through configured providers such as OpenRouter or OpenAI. Aigen Image Generation is an agent skill from Peiiii/nextclaw. Use the local aigen CLI to generate images through configured providers such as OpenRouter or OpenAI.
Aigen Image Generation fits situations like: the user asks to create; render images and wants files produced locally through an external CLI.
Run `npx skills add Peiiii/nextclaw --skill aigen-image-generation -a claude-code`. Or copy the skill folder (skills/aigen-image-generation in Peiiii/nextclaw) into .claude/skills/aigen-image-generation in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Peiiii/nextclaw --skill aigen-image-generation -a codex`. Or copy the skill folder (skills/aigen-image-generation in Peiiii/nextclaw) into .agents/skills/aigen-image-generation in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Peiiii/nextclaw --skill aigen-image-generation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/aigen-image-generation, .gemini/skills/aigen-image-generation, .github/skills/aigen-image-generation and .opencode/skills/aigen-image-generation in your project.
Going by SKILL.md and its folder, Aigen Image Generation needs the command-line tools its instructions call (npx, npm and openssl) and credentials named OPENROUTER_API_KEY. Our summary lists: Node.js; A credential in OPENROUTER_API_KEY.
SKILL.md contains no URLs. Its commands use npx and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Aigen Image Generation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Aigen Image Generation: Media Tools (therichardngai-code/gpt-image-2-pro-max, 101 stars), AI Image Creator (evolution-foundation/evo-nexus, 545 stars), Generate Image (K-Dense-AI/claude-scientific-writer, 2.4k stars) and Baoyu Imagine (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Peiiii (a GitHub user) maintains it in Peiiii/nextclaw, which has 260 GitHub stars. The repository holds 70 skills in this directory. The repository was last updated on October 8, 2026.
Source: Peiiii/nextclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.