Skip to content
Back to skills

Simplify

ASecurity

Reduce the number of colors in an SVG using quantization. Triggers on: simplify svg, reduce svg colors, fewer colors, quantize svg, minimize svg colors.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 23, 2026
ai-agentsapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned October 23, 2026

npx -y skills add svgnew/plugin --skill simplify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Simplify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Simplify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/svgnew-simplify/badge)](https://www.skillsdirectory.com/skills/svgnew-simplify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: simplify
description: "Reduce the number of colors in an SVG using quantization. Triggers on: simplify svg, reduce svg colors, fewer colors, quantize svg, minimize svg colors."
---

# Simplify SVG Colors

Reduce the number of distinct colors in an SVG with median-cut quantization.

## Before you start

Use the svg.new MCP tools from this plugin (named `mcp__plugin_svg-vectorizer_svg-new__*`, or `mcp__svgnew__*` if the user connected the server directly). They sign in with the user's svg.new account, so no API key is involved. If the tools are missing or say sign-in is needed, ask the user to run `/mcp`, pick the svg.new server and choose **Authenticate**.

## Steps

1. Read the SVG named in the request or `$ARGUMENTS`.
2. Decide `max_colors`. Ask the user if they didn't say; 2, 4, 8 and 16 are common.
3. Call `simplify_svg` with `max_colors` and the SVG, as `svg` (the file's text) or `svg_url` (a public link, such as a download link from an earlier result).
4. Report the color count before and after.
5. Write the simplified SVG to the file. If it came back as a download link, save it with `curl -sL -o <file> "<link>"`.

## Notes

- Free: no credits are used.
- `max_colors` can be 1 to 256.
- Similar colors merge; distant colors stay distinct. Gradient stops are reduced too.
- Shapes with `fill="none"` are not affected.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.