image-local-replacer

Apply pixel-level local replacements and color corrections to predefined image regions.

16|Updated May 9, 2026
One-click install
npx skills add https://github.com/hugohe3/hugo-skills --skill image-local-replacer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-local-replacer
Source: https://github.com/hugohe3/hugo-skills/tree/main/skills/image-local-replacer
Command: npx skills add https://github.com/hugohe3/hugo-skills --skill image-local-replacer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses the need for precise local modifications to images without altering the entire image or relying on AI redraw.

Core Features & Use Cases

  • Local Replacements: Perform targeted edits like text replacement, color correction, or pixel-level fixes.
  • Keep Original Dimensions: Preserves the original image size, filename, and unmodified areas.
  • Use Case: For instance, correct a date on a scanned document without affecting the rest of the image.

Quick Start

Run the 'image-local-replacer' skill with the 'replacements.json' configuration to apply local changes to the 'image.png' file.

Frequently Asked Questions about image-local-replacer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform pixel-level image editing on specific regions without AI redrawing?

Pixel-level image editing on specific regions without AI redrawing is achieved by applying targeted local replacements and color corrections to predefined areas, preserving the rest of the image. This handles minor edits to documents, diagrams, and screenshots.

Can I correct text or dates on a scanned document without altering the original dimensions?

Yes, you can correct text or dates on a scanned document without altering the original dimensions. The process preserves the original image size, filename, and unmodified areas during targeted local replacements.

What is the best way to replace text in a screenshot while keeping the background intact?

The best way to replace text in a screenshot while keeping the background intact is using predefined local replacements. This method applies pixel-level fixes to specific regions without relying on AI-driven redrawing.

How do I apply local replacements to an image using a configuration file?

To apply local replacements to an image using a configuration file, run the skill with a replacements.json configuration. This directs the pixel-level modifications to the target image.png file.

Does this local image modification approach work with Pillow for document correction?

Yes, this local image modification approach works with Pillow for document correction. It leverages the Pillow dependency to execute pixel-level edits and color corrections on predefined regions of documents and diagrams.