← Back to Skills Marketplace
charmingzuo

circle-png-image

by charming.zuo · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
55
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install circle-png-image
Description
Convert PNG images into circular PNG avatars with transparent corners. Use when the user asks to crop, mask, cut out, or convert a PNG image into a circle.
README (SKILL.md)

\r \r

Circle PNG Image\r

\r

What This Skill Does\r

\r Use this skill to turn any PNG image into a circular PNG with transparency outside the circle. It is intended for avatars, profile photos, icons, and other round image assets.\r \r The default behavior is:\r \r

  1. Open the input PNG.\r
  2. Convert it to RGBA so transparency is preserved.\r
  3. Center-crop the image to a square using the shorter side.\r
  4. Apply a circular alpha mask.\r
  5. Save the result as a PNG.\r \r

Quick Start\r

\r Run the helper script:\r \r

python scripts/circle_png.py input.png output.png\r
```\r
\r
If the system uses `python3`:\r
\r
```bash\r
python3 scripts/circle_png.py input.png output.png\r
```\r
\r
## Options\r
\r
Set an exact output size:\r
\r
```bash\r
python scripts/circle_png.py input.png output.png --size 512\r
```\r
\r
Preserve the entire image by padding it to a square before applying the circular mask:\r
\r
```bash\r
python scripts/circle_png.py input.png output.png --fit contain\r
```\r
\r
Overwrite an existing output file:\r
\r
```bash\r
python scripts/circle_png.py input.png output.png --force\r
```\r
\r
## Dependency\r
\r
The script requires Pillow. If it is missing, install it in the active Python environment:\r
\r
```bash\r
python -m pip install pillow\r
```\r
\r
Prefer a virtual environment when modifying a project:\r
\r
```bash\r
python -m venv .venv\r
.venv/Scripts/python -m pip install pillow\r
.venv/Scripts/python scripts/circle_png.py input.png output.png\r
```\r
\r
On macOS or Linux, use `.venv/bin/python` instead of `.venv/Scripts/python`.\r
\r
## Agent Instructions\r
\r
When the user asks to make a PNG circular:\r
\r
1. Confirm the input image path and desired output path. If no output is specified, use the input name with `-circle.png` appended before the extension.\r
2. Use `scripts/circle_png.py` to generate the output.\r
3. Use `--fit cover` by default for avatar-style results.\r
4. Use `--fit contain` when the user says to preserve the full image.\r
5. Use `--size` only when the user asks for a specific output dimension.\r
6. Never overwrite an existing output unless the user explicitly asks or `--force` is appropriate.\r
\r
## Notes\r
\r
- Output is always PNG with an alpha channel.\r
- Non-square inputs are centered automatically.\r
- The circle touches the output square's edges.\r
Usage Guidance
This skill is safe to use for local PNG conversion. Before installing, note that it depends on Pillow and will write an output image where you specify; use a virtual environment and avoid --force unless you mean to overwrite an existing file.
Capability Analysis
Type: OpenClaw Skill Name: circle-png-image Version: 1.0.1 The skill is a straightforward utility for converting PNG images into circular avatars using the Pillow library. The Python script (scripts/circle_png.py) and the instructions (SKILL.md) are well-structured, lack any high-risk behaviors such as network access or shell execution, and align perfectly with the stated purpose.
Capability Assessment
Purpose & Capability
The stated purpose, documentation, and source code all align around local PNG image cropping/masking with Pillow.
Instruction Scope
The agent instructions require confirming input and output paths and say not to overwrite existing files unless the user explicitly asks.
Install Mechanism
The skill installs the Pillow package, which is expected for image processing, but the dependency is not pinned to a specific version in the provided artifacts.
Credentials
No credentials, environment variables, network calls, broad filesystem scanning, or account access are declared or shown.
Persistence & Privilege
The script writes a persistent output image and can create the output directory; this is expected for the skill and scoped to the user-provided output path.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install circle-png-image
  3. After installation, invoke the skill by name or use /circle-png-image
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
No changes detected in this version. - No updates or modifications were made to the files. - The skill remains at version 1.0.0 with the same features and behavior.
v1.0.0
- Initial release of the skill for converting PNG images into circular PNG avatars with transparent corners. - Provides a command-line script (`scripts/circle_png.py`) for processing images. - Supports options for output size, fit mode (cover or contain), and forced overwrite. - Requires Pillow library for image processing. - Includes detailed instructions and agent guidance for usage.
Metadata
Slug circle-png-image
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is circle-png-image?

Convert PNG images into circular PNG avatars with transparent corners. Use when the user asks to crop, mask, cut out, or convert a PNG image into a circle. It is an AI Agent Skill for Claude Code / OpenClaw, with 55 downloads so far.

How do I install circle-png-image?

Run "/install circle-png-image" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is circle-png-image free?

Yes, circle-png-image is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does circle-png-image support?

circle-png-image is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created circle-png-image?

It is built and maintained by charming.zuo (@charmingzuo); the current version is v1.0.1.

💬 Comments