ai-agent

pxpipe: Cut Token Usage

Render text as images with pxpipe, for founders optimizing AI costs, backed by 4.9k+ GitHub stars

From the repo · “cut Fable 5 token usage by rendering text context as images”

8,036 stars+42★ this week696 forksTypeScriptGuide quality 9/10 · reviewed Jul 9Updated 11/29/2026100% free · open source
What it does

pxpipe renders text as images, allowing founders to optimize AI costs by generating visual content programmatically

When to use it
  • •Creating social media posts with dynamic text overlays
  • •Generating product images with customizable text and branding
  • •Automating the creation of visual content for marketing campaigns
Ready-to-paste prompt
await pipe.render('This is a sample text', { font: 'Arial', fontSize: 48, color: 'blue' });
Heads up: pxpipe requires Node.js 16 or higher to run, and you need to install the `@teamchong/pxpipe` package before using it
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

⚡ Runs out of the box

A prompt/skill package — nothing to install beyond adding it to your AI tool.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/pxpipe && curl -fsSL https://workflowstacks.com/api/skills/pxpipe/claude-skill -o ~/.claude/skills/pxpipe/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How pxpipe: Cut Token Usage works
Codeflow
Free to inspect

Pxpipe: Cut Token Usage is mostly documents (747 doc files, 235 small scripts) — something you read, not something you run. There is nothing to install. Last commit this month, MIT license.

Size
Mostly documents
747 documents · 235 small scripts · days to read — use, don't read
Setup
Nothing to install
A guide / curated list. Just read it and follow the links.
Runs on
Nowhere — you read it
A reading resource, not a program.
TypeScript 90%JavaScript 5%Dockerfile 3%Python 1%Shell 1%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    src/core/index.ts
    Inside src/ — the main logic begins here
  3. 3
    demo/README.md
    A worked example — copy this to get going
What's in each folder
src/Core code — the actual logic53 files
eval/lib/Core code — the actual logic6 files
bin/Command-line entry points1 files
demo/Examples you can copy21 files
docs/Documentation14 files
eval/deepswe/Folder4765 files
eval/grok-density/Folder96 files
eval/swe-bench/Folder89 files
READMEHas testsDocumentedCI checksDocker readyExamples includedMIT licenseUpdated this month
Quick Actions
Details
Creator
teamchong
Language
TypeScript
Category
ai-agent
Published
5/20/2026

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/pxpipe.svg)](https://workflowstacks.com/skills/pxpipe?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.