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

infographic-agent

v3.2.2

Published

Generate professional infographic PNGs from text with Gemini — a research agent (gemini-3.5-flash) prepares and validates the prompt, then gemini-3.1-flash-lite-image renders it. No browser/Playwright deps.

Readme

Infographic Agent Skill

A standalone, agent-agnostic skill package for generating professional infographics, visual summaries, and data visualizations directly from text or topic descriptions with Gemini.

This skill is designed to run in both local terminal environments and within AI coding agents (such as Claude Code, Cursor, Copilot, etc.) that support the Vercel agent skills ecosystem.

🚀 Installation & Setup

You can install this skill directly into your AI coding agent environment:

npx skills add ryanbaumann/infographic-agent

Alternatively, you can run the CLI tool directly without installation:

# First run: installs the small Python dependencies (google-genai and pillow)
npx infographic-agent --install

# Generate an infographic
npx infographic-agent "Top 5 programming languages in 2026"

📋 Prerequisites

  • Python 3.9+
  • Gemini API Key: Get a free key at Google AI Studio. Set it as:
    export GEMINI_API_KEY="your-key"
    (If no key is configured in the environment, the CLI onboarding will guide you through getting one and saving it locally).
  • Vertex AI (Optional): If you prefer enterprise Vertex AI, configure Google Cloud Project details:
    export GOOGLE_CLOUD_PROJECT="your-project-id"

⚙️ How It Works

The skill runs a fast, browser-less two-agent pipeline powered by Gemini:

  1. Research & Plan (gemini-3.5-flash): Grounds the topic with Google Search and returns the same Prepare contract as the web app: analysis metadata, exact text strings, and a precise renderer prompt.
  2. Eval: Runs deterministic checks for schema, explicit image prompt prefix, quoted text strings, source attribution, accessibility guidance, and prompt length before rendering.
  3. Render (gemini-3.1-flash-lite-image by default): Renders the validated prompt directly into a high-quality, text-accurate infographic PNG. The portable skill can opt into gemini-3.1-flash-image via --image-model for quality-focused runs.

🛠️ CLI Flags & Options

All flags are fully compatible between the Python script and the npx execution:

| Flag / Option | Short | Description | Default / Choices | | :--- | :--- | :--- | :--- | | topic | None | The topic, prompt, or content you want to visualize. | None | | --output | -o | File path where the output PNG will be saved. | infographic.png | | --mode | -m | Preset layout and style theme. | data-storyChoices: classroom, custom, data-story, executive-summary, quick-slide, technical-deep-dive | | --aspect | -a | Aspect ratio of the generated infographic image. | 9:16Choices: 1:1, 1:4, 3:4, 4:3, 9:16, 16:9 | | --instructions | -i | Custom layout, design, or brand color rules. | "" | | --image-model | None | Image model for the portable skill. | gemini-3.1-flash-lite-imageChoices: gemini-3.1-flash-lite-image, gemini-3.1-flash-image | | --no-research | None | Skip the research agent and generate directly (faster, no web search). | Flag | | --yes | -y | Non-interactive execution (no refine loop, best for CI/agents). | Flag | | --setup | None | Launch the interactive key onboarding walkthrough, then exit. | Flag |

For full documentation and examples, visit the main repository at github.com/ryanbaumann/infographic-agent.