← Back to Skills Marketplace
331
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install crop-image
Description
Use this skill when an AI agent needs to crop images through the deployed Crop Image service. Trigger this for URL-based cropping (`POST /crop`) and file-upl...
README (SKILL.md)
Crop Image Skill
Service Endpoints
- API Base URL:
https://api.imageclaw.net - Health:
https://api.imageclaw.net/health - Crop by URL:
https://api.imageclaw.net/crop - Crop by Upload:
https://api.imageclaw.net/crop/upload - Docs:
https://api.imageclaw.net/docs
Execute Crop by URL
- Validate input fields:
urlmust be a reachable image URL.widthandheightmust be integers in[1, 4096].
- Call endpoint:
curl -sS -X POST "https://api.imageclaw.net/crop" \
-H "content-type: application/json" \
-d '{
"url": "https://picsum.photos/800/600",
"width": 256,
"height": 256
}'
- Return response fields:
cropped_urloriginal_sizeface_detected
Execute Crop by Upload
-
Prefer upload mode for user-provided local files.
-
Call endpoint:
curl -sS -X POST "https://api.imageclaw.net/crop/upload" \
-F "file=@/absolute/path/to/photo.jpg" \
-F "width=256" \
-F "height=256"
- Return response fields:
cropped_urloriginal_sizeface_detected
Error Handling
- HTTP
400: invalid image source or decode failure - HTTP
422: validation failure (invalid URL, invalid width/height) - HTTP
500: service or configuration failure
When failure occurs:
- Return the original status code and
detail. - Ask caller to change input for
400/422. - Retry only for transient
500or network timeout.
Success Example
{
"cropped_url": "https://crop.imagebee.net/crops/1772761350_b8050bd6ec26.jpg",
"original_size": [800, 600],
"face_detected": false
}
Failure Example
{
"detail": "Not an image: content-type is application/json"
}
Usage Guidance
This skill appears to do what it says (call a remote crop API) but take these precautions before installing or allowing autonomous use: 1) Confirm the real service domains and why the success example uses crop.imagebee.net while metadata references imageclaw — ask the maintainer or check the public docs for CDN/storage behavior. 2) Understand privacy: any local file uploaded (file=@/path/...) will be sent to an external server; do not allow this for sensitive images. 3) Confirm whether the remote API requires authentication (API key) — the skill does not declare one. 4) Test with non-sensitive sample images first. 5) If you will allow autonomous agent invocation, restrict or require explicit user confirmation before the agent uploads files to the internet. If you can get the service's official docs or an explanation for the domain mismatch and auth requirements, that will raise confidence.
Capability Analysis
Type: OpenClaw Skill
Name: crop-image
Version: 0.1.0
The skill provides instructions for an AI agent to upload local files to an external API (api.imageclaw.net) using curl. While the stated purpose is image cropping, the 'Execute Crop by Upload' instruction in SKILL.md allows for the exfiltration of any local file the agent can access, posing a significant security risk if the agent is misdirected to upload sensitive data like credentials or configuration files.
Capability Assessment
Purpose & Capability
The name/description match the instructions: the SKILL.md shows how to call a remote cropping API by URL or file upload. However there are minor inconsistencies: the metadata/docs domains reference api.imageclaw.net/imageclaw, while the success example returns a cropped_url hosted at crop.imagebee.net — this domain mismatch could be benign (CDN/third-party storage) but is unexplained. Also the skill does not declare any authentication (API key) although many hosted APIs require one; omission is not fatal but should be clarified.
Instruction Scope
The instructions tell the agent to upload local files using curl -F file=@/absolute/path/to/photo.jpg which necessarily causes a local file to be sent to a third-party endpoint. That is expected for upload cropping but is a privacy/exfiltration risk if the agent is given broad file access or runs autonomously. The SKILL.md does not warn about sending sensitive images, nor does it constrain allowed paths or require user confirmation before uploading. Otherwise the steps (validate URL, width/height, handle HTTP errors) are scoped to the stated purpose.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing is written to disk and there is no external installer to review.
Credentials
The skill declares no required environment variables, credentials, or config paths, and the instructions do not reference any secrets. That aligns with the presented curl examples (no Authorization header). If the real service requires an API key, the skill is incomplete rather than over-privileged.
Persistence & Privilege
always is false and there is no install-time code that would persist or modify agent/system configuration. The skill does not request elevated or permanent presence.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install crop-image - After installation, invoke the skill by name or use
/crop-image - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
crop-image 0.1.0 – Initial Release
- Provides image cropping via API for both URL and file uploads.
- Supports API endpoints: POST /crop (by URL), POST /crop/upload (by file).
- Returns production-ready cropped image URLs and metadata.
- Handles API-level errors with clear status codes and feedback.
Metadata
Frequently Asked Questions
What is Crop Image?
Use this skill when an AI agent needs to crop images through the deployed Crop Image service. Trigger this for URL-based cropping (`POST /crop`) and file-upl... It is an AI Agent Skill for Claude Code / OpenClaw, with 331 downloads so far.
How do I install Crop Image?
Run "/install crop-image" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Crop Image free?
Yes, Crop Image is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Crop Image support?
Crop Image is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Crop Image?
It is built and maintained by EricDoe (@effimail); the current version is v0.1.0.
More Skills