npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

image-nano

v1.0.2

Published

Universal image generation skill for AI coding assistants (CLIProxy). Auto-installs to project, supports batch generation and ID consistency.

Readme

image-nano

Universal image generation skill for AI coding assistants

npm License: MIT

Overview

A plug-and-play skill for AI coding assistants (Claude Code, Antigravity, OpenCode, Cursor) that enables high-quality image generation via CLIProxy.

Features

  • Gemini-optimized - Nano Banana prompting techniques built-in

  • Easy Init - Simple command to copy skill to project or user home

  • Preflight auth check - Verify CLIProxy before generating

  • Batch generation - Multiple images from prompt file

  • ID consistency - Reference images for character preservation

  • Skill collaboration - Works seamlessly with ai-artist for prompt enhancement

Quick Start

1. Install CLIProxy

# macOS
brew install cliproxyapi

# Linux
curl -fsSL https://raw.githubusercontent.com/brokechubb/cliproxyapi-installer/master/cliproxyapi-installer | bash

# Windows - Download from GitHub releases

2. Authenticate

Open http://localhost:8713 and login with Google.

3. Install Skill

Option A: Global (all projects)

npm install -g image-nano
image-nano init -g
# Skill installed to ~/.claude/skills/image-nano/

Option B: Project-level

cd my-project
npm install image-nano
npx image-nano init
# Skill installed to .agent/skills/image-nano/

4. Verify

python ~/.claude/skills/image-nano/scripts/gen_image.py --check
# ✅ Ready! Model: gemini-3-pro-image-preview

Usage

With AI Assistant

Simply ask natural language requests. Claude will automatically apply Gemini-specific techniques:

> "Create a photorealistic portrait of a cyberpunk hacker with neon lighting"

Claude enhances your prompt and generates via CLIProxy.

Automatic Skill Collaboration (Decision Tree)

Claude follows this workflow:

1. Check for ai-artist skill
   IF available: Search curated prompts via ai-artist
   ELSE: Use built-in Nano Banana techniques from references/
2. Enhance prompt with matched/narrative style
3. Generate via CLIProxy

No manual configuration needed! Claude detects and composes skills intelligently.

CLI

# Single image
python .../gen_image.py --prompt "Enhanced prompt here" --output ./out

# With reference (ID lock)
python .../gen_image.py --prompt "Same person, new outfit" --ref anchor.jpg

# Batch generation
python .../gen_image.py --prompts prompts.txt --concurrent 4

Release Highlights (v1.0.2)

  • Improved Clarity - SKILL.md now has explicit decision tree workflow.
  • ai-artist Integration - Clear IF/ELSE logic for prompt enhancement.
  • Reduced Tokens - SKILL.md reduced from 99 to 68 lines.
  • Zero-Dependency - Pure Python urllib implementation.
# Global
image-nano uninstall -g

# Project
npx image-nano uninstall

Supported Frameworks

| Framework | Global Path | Project Path | |:---|:---|:---| | Claude Code | ~/.claude/skills/ | .agent/skills/ | | Antigravity | ~/.gemini/antigravity/global_skills/ | .agent/skills/ | | OpenCode | ~/.config/opencode/skills/ | .opencode/skills/ | | Cursor | ~/.cursor/skills/ | .cursor/skills/ |

Documentation

License

MIT