Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
hkuds avatar

Cli Anything Krita

  • 370 installs
  • 46.6k repo stars
  • Updated August 3, 2026
  • hkuds/cli-anything

cli-anything-krita is a Python CLI harness that lets coding agents open Krita projects, manage layers, run brush and filter actions, and export assets from the terminal for developers automating digital painting pipeline

About

cli-anything-krita is a command-line harness for Krita, the open-source digital painting application, packaged in the hkuds/cli-anything repository. It requires Krita installed locally and Python 3.10+, installed with pip install -e . from the krita/agent-harness directory. The CLI exposes project management commands such as project new, project open, and export workflows so coding agents can create canvases, manipulate layers, apply filters, and batch-process images without clicking through the GUI. Developers reach for cli-anything-krita when automating Krita workflows, scripting creative asset pipelines, or operating Krita headlessly from agent-driven build steps. It fits agent-tooling stacks where design automation must stay reproducible in shell scripts and CI-like batch jobs rather than manual art direction sessions.

  • Wraps Krita with structured CLI commands
  • Automates layers, brushes, and export flows
  • Standard hkuds/cli-anything wrapper pattern
  • Enables scripted illustration and asset generation
  • Keeps agents out of fragile GUI automation

Cli Anything Krita by the numbers

  • 370 all-time installs (skills.sh)
  • +16 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #150 of 550 CLI & Terminal skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/hkuds/cli-anything --skill cli-anything-krita

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs370
repo stars46.6k
Last updatedAugust 3, 2026
Repositoryhkuds/cli-anything

How do you automate Krita from the command line?

Let coding agents drive Krita for digital painting: open canvases, manage layers, run brush/export actions, and script creative asset pipelines without manual GUI steps.

Who is it for?

Developers automating Krita digital painting, batch image processing, or agent-driven creative asset pipelines on Linux or desktop workstations.

Skip if: Developers who only need manual GUI painting in Krita without scripted or agent-controlled automation.

When should I use this skill?

A developer asks to automate Krita workflows, batch export images, or control layers and filters from a coding agent or shell script.

What you get

Krita project JSON files, layered canvases, filtered images, and exported PNG or asset outputs

  • krita project.json
  • exported image assets
  • automated layer stacks

By the numbers

  • Requires Python 3.10 or newer per SKILL.md prerequisites
  • Supports explicit canvas dimensions via project new width and height flags

Files

SKILL.mdMarkdownGitHub ↗

cli-anything-krita

CLI harness for Krita, the professional open-source digital painting application.

Prerequisites

  • Krita installed on the system
  • Python 3.10+

Install the CLI:

cd krita/agent-harness && pip install -e .

Command Reference

Project Management

cli-anything-krita project new -n "My Art" -w 2048 -h 2048 -o project.json
cli-anything-krita project open project.json
cli-anything-krita --project project.json project save
cli-anything-krita --project project.json project info

Layer Management

cli-anything-krita -p project.json layer add "Sketch" -t paintlayer
cli-anything-krita -p project.json layer add "Colors" --opacity 200
cli-anything-krita -p project.json layer add "Group" -t grouplayer
cli-anything-krita -p project.json layer remove "Sketch"
cli-anything-krita -p project.json layer list
cli-anything-krita -p project.json layer set "Colors" opacity 180
cli-anything-krita -p project.json layer set "Colors" visible false
cli-anything-krita -p project.json layer set "Colors" blending_mode multiply

Layer types: paintlayer, grouplayer, vectorlayer, filterlayer, filllayer, clonelayer, filelayer

Filters

cli-anything-krita -p project.json filter apply blur -l "Background"
cli-anything-krita -p project.json filter apply sharpen
cli-anything-krita -p project.json filter apply levels -c '{"shadows": 10, "highlights": 240}'
cli-anything-krita filter list

Available: blur, sharpen, desaturate, levels, curves, brightness-contrast, hue-saturation, color-balance, unsharp-mask, posterize, threshold

Canvas Operations

cli-anything-krita -p project.json canvas resize -w 4096 -h 4096
cli-anything-krita -p project.json canvas resize --resolution 600
cli-anything-krita -p project.json canvas info

Export

cli-anything-krita -p project.json export render output.png -p png --overwrite
cli-anything-krita -p project.json export render output.jpg -p jpeg
cli-anything-krita -p project.json export render output.psd -p psd
cli-anything-krita -p project.json export animation ./frames/ -p png
cli-anything-krita export presets
cli-anything-krita export formats

Presets: png, png-web, jpeg, jpeg-web, jpeg-low, tiff, tiff-lzw, psd, pdf, svg, webp, gif, bmp

Session (Undo/Redo)

cli-anything-krita session undo
cli-anything-krita session redo
cli-anything-krita session history

Status

cli-anything-krita status

Agent Usage (JSON Mode)

All commands support --json for machine-readable output:

cli-anything-krita --json -p project.json project info
cli-anything-krita --json -p project.json layer list
cli-anything-krita --json status

Example Workflow

# 1. Create project
cli-anything-krita --json project new -n "Illustration" -w 3000 -h 4000 -o art.json

# 2. Set up layer stack
cli-anything-krita --json -p art.json layer add "Background" -t paintlayer
cli-anything-krita --json -p art.json layer add "Sketch" -t paintlayer --opacity 180
cli-anything-krita --json -p art.json layer add "Inking" -t paintlayer
cli-anything-krita --json -p art.json layer add "Colors" -t paintlayer
cli-anything-krita --json -p art.json layer add "Effects" -t paintlayer --opacity 128

# 3. Apply effects
cli-anything-krita --json -p art.json filter apply blur -l "Background"

# 4. Export
cli-anything-krita --json -p art.json export render final.png -p png --overwrite

Related skills

FAQ

What do you need to run cli-anything-krita?

cli-anything-krita requires Krita installed on the system and Python 3.10 or newer. Install the CLI with pip install -e . from the krita/agent-harness directory in the hkuds/cli-anything repository.

What can cli-anything-krita automate?

cli-anything-krita automates Krita project creation, layer management, filter application, and image export through terminal commands. Coding agents use it for batch processing and creative pipelines without manual GUI steps.

CLI & Terminalagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.