Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

css-graphics

Skill by howdeploy

Creates static graphics from CSS and SVG and renders them to PNG or JPG files with Puppeteer. Useful for social images, banners, badges, and recreating reference pictures in code.

  • Score 61
  • 79 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install css-graphics

Built from the published package, never by AI.

git clone --depth 1 https://github.com/howdeploy/kisa-stack /tmp/kisa-stack && mkdir -p ~/.claude/skills && cp -r /tmp/kisa-stack/skills/css-graphics ~/.claude/skills/css-graphics

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install css-graphics in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

CSS Graphics is a skill that creates images by writing HTML, CSS and SVG and rendering them to PNG or JPG files with Puppeteer. The user can describe a picture in text or give a reference image, and the assistant recreates it in code. The assistant writes a temporary HTML file in the current folder, runs the bundled render.js script, deletes the temp file, and reports the output path and size.

The render.js script takes input, output, width, height, scale, transparent, quality and wait options. The default viewport is 1920 by 1080 with a scale of 2. The skill includes a table of standard sizes such as Instagram Post, Twitter Card, YouTube Thumbnail and OG Image, plus reference notes on CSS and SVG techniques. It is aimed at people who need social images, banners, badges or similar static graphics made from code. A setup.sh script installs Puppeteer on first use.

Written from the project's SKILL.md and checked against it.

What it can do

  • Text to graphicTurns a text description into HTML, CSS or SVG and renders it as an image.
  • Reference image recreationReads a reference image and rebuilds it in CSS or SVG before rendering.
  • PNG and JPG renderingRenders the page to a PNG or JPG file through the render.js script.
  • Standard size presetsOffers common sizes such as OG Image 1200x630 and Instagram Story 1080x1920.
  • Transparent PNG outputRenders a transparent background when the transparent option is set for PNG files.
  • CSS and SVG technique referenceIncludes notes on gradients, clip-path, filters, patterns, markers and masks.

What you need

  • Node.js to run render.js
  • Puppeteer, installed by scripts/setup.sh
  • Network access for Google Fonts loaded in the HTML template

Try asking

  • Make a 1200x630 OG image with a dark gradient and a bold white title
  • Recreate this reference image as a CSS/SVG graphic and render it to PNG
  • Render a transparent PNG icon of an SVG star at 512x512

Good to know

  • Animations are not supported because the output is a static screenshot.
  • The quality option applies only to JPEG and is ignored for PNG.
  • The transparent option works only with PNG output.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/css-graphics/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to css-graphics

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

css-graphics: common questions

What file formats does CSS Graphics output?

It renders PNG, and JPG or JPEG files, using the output file extension given to render.js. The source says a .jpg extension removes the alpha channel.

Can it recreate an existing image?

Yes. When the user gives a reference image, the assistant reads it, analyzes colors, shapes, layout and typography, and rebuilds it in CSS or SVG.

Does it support animated graphics?

No. The source says animations are not needed because the tool renders a static screenshot.

How do I install css-graphics?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is css-graphics free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is css-graphics safe to use?

It scores 61 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to css-graphics?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

css-graphics Install

Add to stack

Loading.