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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@teamflojo/floimg-claude

v0.2.0

Published

Claude Code plugin for floimg - Universal image generation and workflows

Readme

@teamflojo/floimg-claude

Claude Code plugin for floimg - Universal image generation and workflows.

Generate charts, diagrams, QR codes, screenshots, and AI images directly from Claude Code.

Full Documentation →

Quick Start

Install the plugin and simple commands work immediately:

npm install -g @teamflojo/floimg-claude

Then try:

/floimg:qr https://floimg.com
/floimg:chart bar chart with Q1: 100, Q2: 150, Q3: 200

That's it! Simple commands use npx under the hood - no additional setup required.

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

Simple Tasks (Work Immediately)

/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

Complex Workflows (After MCP Enabled)

For multi-step workflows with iteration:

/floimg:workflow Create a hero image, resize to 1200x630, add caption, save to S3

Or iterate naturally:

User: "Create a hero image for my tech blog"
Claude: [generates image]

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

User: "Add our tagline at the bottom"
Claude: [adds caption]

Session state enables referencing previous images without file paths.

MCP Setup (For Complex Workflows)

MCP unlocks:

  • Multi-step transforms: generate → resize → caption → save
  • Iterative refinement: "make it bluer", "add more contrast"
  • Session state: reference images by ID, not file paths

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

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, transform images:

  • resize - Scale to specific dimensions
  • blur - Apply Gaussian blur
  • sharpen - Sharpen edges
  • grayscale - Remove color
  • roundCorners - Add border radius
  • addText - Overlay text
  • addCaption - Add caption bar
  • preset - Apply filters (vintage, vibrant, dramatic, soft)

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