본문으로 건너뛰기
Skillpedia
이미지 및 아이콘58k · #3207

cli-anything-gimp

하는 일

이 스킬은 GIMP의 작업 방식을 바탕으로 한 명령줄 도구로 에이전트가 이미지를 편집하고 만들게 합니다. 텍스트 명령으로 이미지 편집을 하려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓텍스트 명령으로 사진을 크기 조정, 자르기, 조정하고 싶을 때.
  • ✓레이어로 이미지를 만들고 싶을 때.
  • ✓스크립트에서 이미지 편집을 자동화하고 싶을 때.

스킬 링크

https://github.com/HKUDS/CLI-Anything/blob/main/gimp/agent-harness/cli_anything/gimp/skills/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/CLI-Anything/blob/main/gimp/agent-harness/cli_anything/gimp/skills/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“1200 x 630 이미지를 만들고, 왼쪽에 제 로고를 놓고, 파란색 배경 레이어를 추가해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 이미지 작업을 레이어와 설정이 있는 프로젝트 파일로 보관합니다. GIMP가 설치되어 있으면 GIMP로, 없으면 Pillow 라이브러리로 결과를 렌더링합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

cli-anything-gimp

A stateful command-line interface for image editing, built on Pillow. Designed for AI agents and power users who need to create and manipulate images without a GUI.

Installation

This CLI is installed as part of the cli-anything-gimp package:

pip install cli-anything-gimp

Prerequisites:

  • Python 3.10+
  • gimp is recommended for native batch rendering, but layered compositions can still render through the built-in Pillow path when GIMP is unavailable or when deferred draw operations are present

Usage

Basic Commands

# Show help
cli-anything-gimp --help

# Start interactive REPL mode
cli-anything-gimp

# Create a new project
cli-anything-gimp project new -o project.json

# Run with JSON output (for agent consumption)
cli-anything-gimp --json project info -p project.json

REPL Mode

When invoked without a subcommand, the CLI enters an interactive REPL session:

cli-anything-gimp
# Enter commands interactively with tab-completion and history

Command Groups

Project

Project management commands.

Command Description
new Create a new project
open Open an existing project
save Save the current project
info Show project information
profiles List available canvas profiles
json Print raw project JSON

Layer

Layer management commands.

Command Description
new Create a new blank layer
add-from-file Add a layer from an image file
list List all layers
remove Remove a layer by index
duplicate Duplicate a layer
move Move a layer to a new position
set Set a layer property (name, opacity, visible, mode, offset_x, offset_y); negative offsets are accepted naturally
flatten Flatten all visible layers
merge-down Merge a layer with the one below it

Canvas

Canvas operations.

Command Description
info Show canvas information
resize Resize the canvas (without scaling content)
scale Scale the canvas and all content proportionally
crop Crop the canvas to a rectangle
mode Set the canvas color mode
dpi Set the canvas DPI

Filter Group

Filter management commands.

Command Description
list-available List all available filters
info Show details about a filter
add Add a filter to a layer
remove Remove a filter by index
set Set a filter parameter
list List filters on a layer

Media

Media file operations.

Command Description
probe Analyze an image file
list List media files referenced in the project
check Check that all referenced media files exist
histogram Show histogram analysis of an image

Export Group

Export/render commands.

Command Description
presets List export presets
preset-info Show preset details
render Render the project to an image file; deferred draw ops are applied at render time

Session

Session management commands.

Command Description
status Show session status
undo Undo the last operation
redo Redo the last undone operation
history Show undo history

Draw

Drawing operations (applied at render time).

Command Description
text Draw text on a layer (by converting it to a text layer)
rect Draw a rectangle (stored as drawing operation)

Examples

Create a New Project

Create a new gimp project file.

cli-anything-gimp project new -o myproject.json
# Or with JSON output for programmatic use
cli-anything-gimp --json project new -o myproject.json

Interactive REPL Session

Start an interactive session with undo/redo support.

cli-anything-gimp
# Enter commands interactively
# Use 'help' to see available commands
# Use 'undo' and 'redo' for history navigation

Export Project

Export the project to a final output format.

cli-anything-gimp --project myproject.json export render output.png --overwrite

Layered Composition Workflow

For overlay-heavy compositions:

cli-anything-gimp --project poster.gimp-cli.json layer set 0 offset_x -48
cli-anything-gimp --project poster.
자주 묻는 질문

GIMP가 설치되어 있어야 하나요?

아닙니다. Pillow로 렌더링할 수 있습니다. 다만 네이티브 일괄 렌더링에는 GIMP를 권장합니다.

레이어를 지원하나요?

네. 레이어와 함께 작동하며, 레이어가 있는 이미지를 합성할 수 있습니다.

대화형 모드가 있나요?

네. 하위 명령 없이 실행하면 대화형 세션이 시작됩니다.

상세 정보

작성자의 원본 설명

Command-line interface for Gimp - A stateful command-line interface for image editing, built on Pillow. Designed for AI agents and pow...

repo: HKUDS/CLI-Anything

인기도

GitHub 스타
58k
순위
#3207
라이선스
Apache-2.0
업데이트
2026. 9. 21.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬