recolor SKILL.md skillA

recolor from svgnew/plugin is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add svgnew/plugin/recolor@git:20261016.8dbae0f

Pins git:20261016.8dbae0f in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
svgnew/plugin
Path
skills/recolor/SKILL.md
Versions recorded
5
Latest version
git:20261016.8dbae0f, committed Oct 16, 2026
First version recorded
Mar 26, 2026
Size
1,331 bytes
Repository stars
6
License
MIT

Change colors in an SVG file. Map old colors to new colors. Triggers on: recolor svg, change svg color, replace color in svg, swap colors.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Recolor SVG

Replace colors in an SVG by mapping old colors to new ones.

## 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. Work out which colors to replace. Ask the user if they didn't say.
3. Build a color map such as `{ "#ff0000": "#0000ff" }`.
4. Call `recolor_svg` with `color_map` and the SVG, either as `svg` (the file's text) or as `svg_url` (a public link, such as a download link from an earlier result).
5. Write the result back to the file, or to a new file if the user prefers. If it came back as a download link, save it with `curl -sL -o <file> "<link>"`.

## Notes

- Free: no credits are used.
- Colors match case-insensitively. Hex (#RGB, #RRGGBB), named colors and rgb() values all work.
- Fill colors change; strokes are left alone.

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add svgnew/plugin/recolor@sha256:1ec825c8a1ff5d46

The line at the top of this page pins the label git:20261016.8dbae0f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_fdb7clpp2xfan6dp.svg)](https://markdownregistry.com/a/art_fdb7clpp2xfan6dp)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Mar 26, 2026 and Oct 16, 2026, about one every 51 days.

versioncommittedcommitsizeaudit
git:20261016.8dbae0f latest2026-10-16 8dbae0f 1,331 BA view · diff
git:20261016.f908cbd2026-10-16 f908cbd 1,908 BA view · diff
git:20261016.480a1f02026-10-16 480a1f0 1,833 BA view · diff
git:20261016.802bfc52026-10-16 802bfc5 1,598 BA view · diff
git:20260326.f6ad4392026-03-26 f6ad439 1,134 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1331 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

svgnew/plugin · 6 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fdb7clpp2xfan6dp
GET https://markdownregistry.com/api/v1/resolve?ref=svgnew/plugin/recolor
GET https://markdownregistry.com/api/v1/blob/1ec825c8a1ff5d4693bfa29fab185e4819007904b2ea4a605be9047d9c1abbe8

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from svgnew/plugin

batch SKILL.md skill
svgnew/plugin · skills/batch/SKILL.md · Batch vectorize multiple images to SVG at once. Triggers on: batch vectorize, convert all images, bulk svg, vectorize…
git:20261016.8dbae0f · audit A · 6 stars
remove-background SKILL.md skill
svgnew/plugin · skills/remove-background/SKILL.md · Remove the background from an SVG using the original raster image. Triggers on: remove background, remove bg…
git:20261016.8dbae0f · audit A · 6 stars
simplify SKILL.md skill
svgnew/plugin · skills/simplify/SKILL.md · Reduce the number of colors in an SVG using quantization. Triggers on: simplify svg, reduce svg colors, fewer colors…
git:20261016.8dbae0f · audit A · 6 stars
vectorize SKILL.md skill
svgnew/plugin · skills/vectorize/SKILL.md · Convert a raster image (PNG, JPG, WebP) to a clean, scalable SVG vector with svg.new. Triggers on: vectorize, convert…
git:20261022.c5338fe · audit A · 6 stars

Every file in svgnew/plugin

Browse by kind, by grade A, or by owner.