# Auto-crop images around the most important subject before generating thumbnails

> Use smartcrop when an agent needs to choose a sensible crop automatically instead of center-cropping every image. The workflow scores visual saliency, returns crop coordinates for a target aspect ratio, and hands those coordinates to an image pipeline that renders the final thumbnail or social card.

- Skill: `agentskillexchange/auto-crop-images-around-the-most-important-subject-before-ge` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/auto-crop-images-around-the-most-important-subject-before-ge`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/auto-crop-images-around-the-most-important-subject-before-ge/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/auto-crop-images-around-the-most-important-subject-before-ge

---


# Auto-crop images around the most important subject before generating thumbnails

Use smartcrop when an agent needs to choose a sensible crop automatically instead of center-cropping every image. The workflow scores visual saliency, returns crop coordinates for a target aspect ratio, and hands those coordinates to an image pipeline that renders the final thumbnail or social card.

## Prerequisites

Node.js and npm

## Installation

No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.

- Source: https://www.npmjs.com/package/smartcrop

## Documentation

- https://github.com/jwagner/smartcrop.js

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/auto-crop-images-around-the-most-important-subject-before-generating-thumbnails/)

