A structured AI agent skill for generating and editing raster images using the NextAI Code image API.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install nextai-image-forge
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install nextai-image-forge using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
ImageForge is a technical utility designed for AI agents to generate and edit raster images through the fixed NextAI Code image API. By integrating with Openclaw Skills, it enforces a structured execution gate that guarantees configuration and design requirements are met before making paid provider calls. The skill acts as an intelligent intermediary, handling image briefs, setup diagnostics, and API interaction securely.
The framework prevents common issues like vague generation requests and incomplete API setups by introducing a strict verification gate. By using a helper script, agents can reliably manage preflight checks, configure credentials locally, and write standardized output images directly to the workspace.
ensure-ready command to verify the configuration and local environment.To use ImageForge with Openclaw Skills, run the configuration setup through the helper script to initialize environment variables and local configs.
First, resolve the script path and run the readiness check:
WORKSPACE_ROOT="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
IMAGE_FORGE_SCRIPT=""
for candidate in "$WORKSPACE_ROOT/.agents/skills/image-forge/scripts/image_forge.py" "$PWD/.agents/skills/image-forge/scripts/image_forge.py" "$HOME/.agents/skills/image-forge/scripts/image_forge.py"; do
if [ -f "$candidate" ]; then IMAGE_FORGE_SCRIPT="$candidate"; break; fi
done
python3 "$IMAGE_FORGE_SCRIPT" ensure-ready
If credentials are missing, the command automatically hosts a local setup page at 127.0.0.1. Enter your API key and default model (such as gpt-image-2) to authorize NextAI Code API requests.
The skill organizes its configuration, assets, and workflows using specific directory paths and local JSON schemas.
| Path | Type | Purpose |
|---|---|---|
.image-forge/config.json |
Project Config | Defines defaultModel and outputDir |
~/.config/image-forge/secrets.json |
User Secret | Securely stores the apiKey locally |
references/image-brief.md |
Documentation | Contains the structured brief template |
[project_root]/*.png |
Output | Generated and edited image files |
Configuration variables are resolved in the following priority order:
https://www.nextai-code.com/v1IMAGE_FORGE_API_KEY, IMAGE_FORGE_MODEL127.0.0.1 to collect credentials without exposing keys in shell histories.--direct flag during invocation.doctor and check-version commands) to troubleshoot network connectivity and manage skill updates.Loading
A unified dispatch skill for coordinating multiple AI coding agents and IDEs while safely managing project structures, Git diffs, and EF Core migrations.

A unified CLI skill that discovers and lists resources across AWS, Azure, GCP, and Aliyun in one fast, exportable view.

An automated maintenance skill designed to compile, validate, and update high-level overview wiki pages in a Gitea-backed team knowledge base.

Convert SVG content, geographic maps, and Chinese character stroke orders into fully editable PowerPoint presentations.

An AI-driven assistant designed to guide developers through the entire Chinese Software Copyright (Ruanzhu) registration process.

An AI-powered utility that converts natural language, code comments, and configuration files into structured Mermaid diagrams.








































