/dupe:recolor-iconfrom dupe
Recolour an app icon toward a target colour while keeping its shading, texture and marks, and write it as .png, .ico or .icns. Use when the user wants a blue/green/any-colour version of an app icon, a tinted icon for a second account, a custom icon for an Android launcher or iOS Shortcut, or matching icons for a set of apps. Triggers on "recolour the icon", "make the icon blue", "tint this icon", "icon for the work copy", "extract the icon from the exe".
Ships in dupe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Recolours an icon so a set of copies reads as one family that differs only by hue. Two treatments, picked automatically from the icon itself:
MCP tool, if the dupe server is connected:
{ "name": "recolor_icon", "arguments": { "input": "/path/app.icns", "output": "/path/app-work.icns", "color": "blue" } }
CLI, from this plugin's root (Node 20+):
node <plugin-root>/bin/dupe.js icon "C:\Program Files\App\App.exe" app-work.ico --color blue
node <plugin-root>/bin/dupe.js icon icon.png icon-green.png --color green
node <plugin-root>/bin/dupe.js icon icon.icns icon-work.icns --color "#1b91e3" --treatment ramp-dark
node <plugin-root>/bin/dupe.js colors
Inputs: .png, .ico, .icns (PNG-encoded sizes), or a Windows .exe/.dll (largest icon is read from its resources). Output format follows the extension. The browser version of the same pipeline is at https://hktitan.github.io/dupe/ and works on phones.
.exe is the best source (Store apps ship only tiny PNGs in assets/); on macOS Contents/Resources/*.icns named by CFBundleIconFile; on Linux the largest PNG under /usr/share/icons/hicolor/*/apps/.auto treatment. Override only if the result is wrong: hue when the icon is colourful but was read as gray, ramp-light for a dark mark on a light field, ramp-dark for a light mark on a dark field..icns files with only JPEG2000 or RLE payloads have no PNG sizes; render the icon to PNG first (on macOS: sips -s format png icon.icns --out icon.png)..ico entries at 256 px; the writer already emits DIBs for every smaller size. Don't "optimise" that.What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
Other plugins' skills for the same job
npx claudepluginhub hktitan/dupe --plugin dupe