Infinite Image Browsing is an application and library for managing, browsing, organizing, and semantically searching image and video collections with AI assistance. It is intended for people working with generated-media tools such as Stable Diffusion web UI, ComfyUI, Fooocus, NovelAI, StableSwarmUI, Invoke.AI, and Pixiv, and can run as a standalone app or extension.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/zanllp/infinite-image-browsing/iibnpx skills add zanllp/infinite-image-browsing --skill iibgit clone --depth 1 https://github.com/zanllp/infinite-image-browsingWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/zanllp/infinite-image-browsing/iib)<a href="https://agentmods.dev/skills/zanllp/infinite-image-browsing/iib"><img src="https://agentmods.dev/badge/skills/zanllp/infinite-image-browsing/iib.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.04011 |
| Opus 5 | $0.00030 | $0.02005 |
| Sonnet 5 | $0.00012 | $0.00802 |
| Haiku 4.5 | $0.00006 | $0.00401 |
Grade A, and why
iib scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl --noproxy "*" -s http://127.0.0.1:<PORT>/infinite_image_browsing/hello How it starts
The opening of the file, as written. The whole thing — 402 lines — stays where its author put it; the contents beside it link to each section on GitHub.
IIB (Infinite Image Browsing)
IIB is an image/video browsing and management tool that parses metadata from AI generation tools (Stable Diffusion, ComfyUI, etc.).
Quick Links to Detailed Guides
| Topic | Description |
|---|---|
| API Reference | Complete API endpoint documentation |
| Search Strategies | Multi-word, regex, tag combination searches |
| Agent Patterns | Common workflows and decision trees |
Before You Start
IMPORTANT: Always do these two things first:
- Ask the user for the port if they started the service themselves (common ports:
<port>standalone,7860SD WebUI extension) - Test connectivity with a hello request before any other operation
curl --noproxy "*" -s http://127.0.0.1:<PORT>/infinite_image_browsing/hello
# Returns: "hello" if service is running
Note: Use --noproxy "*" to bypass proxy for localhost connections.
If service is not running, start it:
cd /path/to/sd-webui-infinite-image-browsing
python app.py --port <port>
To run as a background daemon:
nohup python app.py --port <port> > iib.log 2>&1 &
Quick Reference
| Task | Method | Endpoint |
|---|---|---|
| Search images | POST | /db/search_by_substr |
| Search by tags | POST | /db/match_images_by_tags |
| Random images | GET | /db/random_images |
| List folder | GET | /files?folder_path=... |
| Move files | POST | /move_files |
| Copy files | POST | /copy_files |
| Tag images | POST | /db/batch_update_image_tag |
| Get image metadata | GET | /image_geninfo?path=... |
| Add library path | POST | /db/extra_paths |
| Remove library path | DELETE | /db/extra_paths |
Base URL: http://127.0.0.1:<port>/infinite_image_browsing
Core Operations
Search Images
Basic Keyword Search
Search by keyword in file path or generation parameters:
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 402 lines · 61 tokens per session scan A 0a954f55ade1
iib is a skill published in the GitHub repository zanllp/infinite-image-browsing (1,343 stars, last pushed 14d ago), licensed MIT. It adds 61 tokens to every session and 4,011 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
mcp-scripting
Write mcpScript JavaScript for discovering, inspecting, and calling MCP tools.
skill-creator
Create or update Agent Skills (SKILL.md plus optional scripts, references, or assets). Use when someone asks to design a new Agent Skill, refine an existing one, or structure skills for Pi discovery, packaging, or other Agent Skills-compatible clients.
pi-ralph-wiggum
Long-running iterative development loops with pacing control and verifiable progress. Use when tasks require multiple iterations, many discrete steps, or periodic reflection with clear checkpoints; avoid for simple one-shot tasks or quick fixes.
pi
Use when needing a minimal, extensible terminal AI coding agent harness in TypeScript with plugin architecture. Pi: minimalist terminal AI coding agent emphasizing simplicity and composability.
tautulli
Monitor and analyze Plex Media Server usage via Tautulli analytics API. Use when the user asks to "check Tautulli", "Plex analytics", "watch statistics", "current streams", "who's watching", "Plex history", "most watched", "user activity", "library stats", or mentions Tautulli/Plex monitoring.
notebooklm
Programmatic access to Google NotebookLM for creating notebooks, adding sources (URLs, YouTube, PDFs, audio, video, images), chatting with content, generating artifacts (podcasts, videos, reports, quizzes, mind maps, flashcards, infographics), and downloading results. Includes capabilities beyond the web UI.