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

@teamflojo/floimg-claude

v0.2.1

Published

Claude Code plugin for floimg - Universal image generation and workflows

Readme

@teamflojo/floimg-claude

Claude Code plugin for floimg — composable image workflows.

Why?

Deterministic Transforms: When you ask ChatGPT to modify an image, DALL-E generates a new image—it doesn't edit pixels. Even AI "editing" like inpainting is probabilistic. FloImg applies deterministic transforms: adjust hue mathematically, resize to exact dimensions, add caption at precise position. The image stays intact except for exactly what you requested.

A Unified API: FloImg models image manipulation as a series of composable steps. This functional approach consolidates the patchwork of tools and SDKs into one abstraction layer—portable across SDK, CLI, visual builder, and MCP.

Generate AI images, resize for social media, add captions, upload to S3—all through natural conversation.

Full Documentation →

When FloImg Matters

| Task | Raw LLM + DALL-E | With FloImg | | ------------------------- | ---------------------------------------- | ----------------------------- | | "Create a hero image" | Generates image | Generates + stores in session | | "Now make it 1200x630" | Re-generates entirely (different image!) | Resizes exact pixels | | "Add our tagline" | Re-generates entirely | Adds text at exact position | | "Upload to S3" | Manual download/upload | Automatic in same pipeline | | "Actually, make it bluer" | Start over | Adjusts hue on existing image |

The gap: AI generates creative content. FloImg makes it production-ready with deterministic transforms.

Quick Start

Install the plugin and start using it:

npm install -g @teamflojo/floimg-claude

Then describe what you need:

"Create a hero image for my blog, resize to 1200x630, add a caption"
"Generate a product mockup with a subtle watermark"
/floimg:workflow AI hero → resize → caption → save to S3

Simple generators (/floimg:qr, /floimg:chart) work immediately via CLI. Complex workflows use MCP for session state and iteration.

Architecture

| Command Type | Method | Works Immediately? | | ------------------------------------------------------------------------------- | ----------- | ------------------ | | Simple (/floimg:qr, /floimg:chart, /floimg:diagram, /floimg:screenshot) | CLI via npx | Yes | | Complex (/floimg:image, /floimg:workflow) | MCP | After restart |

Simple commands work out of the box via CLI.

Complex workflows (multi-step transforms, iteration) use MCP for session state. Restart Claude Code once to enable MCP.

Slash Commands

| Command | Description | Method | | -------------------- | ---------------------------------------- | ------ | | /floimg:qr | Create QR codes | CLI | | /floimg:chart | Data visualizations with QuickChart | CLI | | /floimg:diagram | Mermaid diagrams (flowcharts, sequences) | CLI | | /floimg:screenshot | Capture webpages | CLI | | /floimg:image | Generate any image with transforms | MCP | | /floimg:workflow | Multi-step pipelines | MCP |

Usage Examples

AI Image Workflows (Primary Use Case)

Generate AI images and transform them in one conversation:

User: "Create a hero image for my tech blog"
Claude: [generates with DALL-E]

User: "Make it more vibrant"
Claude: [transforms the same image]

User: "Resize to 1200x630 and add our tagline"
Claude: [resizes, adds caption]

User: "Save to S3"
Claude: [uploads to s3://bucket/hero.png]

Session state is the key: FloImg remembers your images. When you say "make it more vibrant," it adjusts the existing image—it doesn't re-generate a new one. Each refinement builds on the last.

Multi-Step Workflows

Describe the full pipeline in one request:

/floimg:workflow Generate product mockup, add watermark, create 3 size variants, upload to CDN

Simple Generators

Quick one-shot operations work immediately via CLI:

/floimg:qr https://floimg.com
/floimg:chart pie chart: Desktop 60%, Mobile 30%, Tablet 10%
/floimg:diagram user login flow: user -> form -> auth -> dashboard
/floimg:screenshot https://github.com

MCP Setup (For Complex Workflows)

MCP unlocks the full value of FloImg:

  • Session state: FloImg remembers your images. "Make it bluer" adjusts the existing image, not a re-generation
  • Deterministic transforms: Resize, caption, adjust colors—mathematically precise, not probabilistic
  • Pipeline composition: generate → resize → caption → save as one atomic workflow

After installing the plugin, restart Claude Code once. The MCP server auto-configures.

Or manually add to your MCP config:

{
  "mcpServers": {
    "floimg": {
      "command": "npx",
      "args": ["-y", "@teamflojo/floimg", "mcp"]
    }
  }
}

Configuration

Set environment variables for optional features:

# For AI image generation (DALL-E)
export OPENAI_API_KEY=sk-...

# For cloud storage
export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...
export S3_BUCKET=my-bucket

Security

Your API keys are used locally by the FloImg MCP server. They are not transmitted to Anthropic—only the results of operations (file paths, success messages) are returned to Claude.

Best practices:

  • Use environment variables for API keys (not CLI arguments or prompts)
  • Never paste API keys directly in conversation
  • See the Security Guide for detailed information

Image Architect Agent

A specialized agent for complex image tasks:

  • Choosing the right generator for each task
  • Planning multi-step image workflows
  • Optimizing image pipelines

Auto-Discovery Skill

Claude automatically detects image-related tasks when you mention:

  • Charts, graphs, visualizations
  • Diagrams, flowcharts, sequences
  • QR codes, screenshots
  • Images, photos, illustrations

Just describe what you need in natural language.

Supported Generators

| Generator | Triggered By | Requires | | ------------- | ---------------------------- | ---------------- | | OpenAI/DALL-E | photo, illustration, scene | OPENAI_API_KEY | | QuickChart | chart, graph, bar, pie | (included) | | Mermaid | flowchart, diagram, sequence | (included) | | QR | qr code, barcode | (included) | | Screenshot | screenshot, capture | (included) |

Transform Operations

With MCP enabled, apply deterministic transforms—these modify exactly what you specify, leaving everything else intact:

  • resize - Scale to specific dimensions (exact pixels, not AI upscaling)
  • blur - Apply Gaussian blur
  • sharpen - Sharpen edges
  • grayscale - Remove color
  • modulate - Adjust brightness, saturation, hue (mathematical precision)
  • roundCorners - Add border radius
  • addText - Overlay text at exact position
  • addCaption - Add caption bar
  • preset - Apply filters (vintage, vibrant, dramatic, soft)

AI Transforms (Requires API Keys)

For creative modifications, AI-powered transforms are also available:

  • removeBackground - Isolate subjects (Stability AI)
  • upscale - AI-enhanced resolution (Stability AI)
  • faceRestore - Fix faces in generated images (Replicate)
  • inpaint - Replace specific regions (OpenAI)

Use deterministic when you need precision. Use AI transforms when you need creative enhancement.

Save Destinations

  • Local: ./output/image.png
  • S3: s3://bucket/path/image.png
  • R2: r2://bucket/path/image.png
  • Tigris: tigris://bucket/path/image.png

Requirements

  • Node.js >= 18.0.0
  • Claude Code >= 1.0.0

Documentation

Links

License

MIT