crop-tool

Gives Claude the ability to crop and enhance specific regions of an image for detailed analysis, improving accuracy on vision tasks involving small text, charts, legends, and fine details.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "crop-tool" with this command: npx skills add jdluther2020/ai-claude-code-talk/jdluther2020-ai-claude-code-talk-crop-tool

Crop Tool

When to Use

  • Reading small text, legends, or axis labels in charts
  • Extracting values from dense tables or diagrams
  • Any region where initial analysis feels uncertain

How to Use

Simply ask naturally about the image. Claude decides which regions to examine and handles the cropping automatically — no coordinates or technical input needed from the user.

"Read the values in the legend."
"What does the small text in the bottom section say?"
"Compare the metrics across all three columns."

Skill Mechanics

See Giving Claude a crop tool for better image analysis for a detailed understanding of the mechanics.

In addition to cropping, this skill enhances the extracted region further:

  • 2x upscale — using LANCZOS resampling for maximum quality
  • 1.4x contrast boost — makes text and edges pop
  • 1.3x sharpness boost — reduces blur introduced by upscaling

How Claude Must Invoke the Tool

IMPORTANT: Always use the skill's crop_tool.py CLI via Bash — do NOT write your own PIL/image-processing code.

python3 /Users/jdl/.claude/skills/crop-tool/crop_tool.py \
  <image_path> <x1> <y1> <x2> <y2> [--output <out_path>]
  • Coordinates are normalized (0–1), where (0,0) is top-left and (1,1) is bottom-right
  • The script prints the output file path; read that file with the Read tool to view the cropped region
  • Iterate across regions as needed until the question is fully answered

Example:

python3 /Users/jdl/.claude/skills/crop-tool/crop_tool.py \
  chart.png 0.5 0.2 1.0 0.65 --output /tmp/legend_crop.png

For full documentation see README.md.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

skill-hunter

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

Mac Control

Control Mac via mouse/keyboard automation using cliclick and AppleScript. Use for clicking UI elements, taking screenshots, getting window bounds, handling c...

Registry SourceRecently Updated
Coding

PineTS - PineScript executor

Run Pine Script indicators from the command line using pinets-cli. Use when asked to execute, test, or analyze Pine Script indicators, calculate technical an...

Registry SourceRecently Updated