Communitygithub.com

cli-anything-krita

CLI-Werkzeugkasten für Krita – Verwalte Projekte, Ebenen, Filter und Exporte über die Kommandozeile. Verwende es zur Automatisierung von Krita-Workflows, zur Stapelverarbeitung von Bildern oder zum Betrieb von Krita ohne grafische Oberfläche.

Was ist cli-anything-krita?

Dieses Skill bietet eine Kommandozeilenschnittstelle (CLI) für Krita, eine professionelle Open-Source-Software für digitale Malerei. Es ermöglicht die vollständige Steuerung von Krita über das Terminal, inklusive Projektverwaltung (Erstellen, Öffnen, Speichern, Abfragen), Ebenenmanipulation (Hinzufügen, Entfernen, Anordnen, Ändern von Deckkraft und Sichtbarkeit), Anwendung von Bildfiltern (Weichzeichnen, Schärfen, Gradationskurven etc.) und Export von Einzelbildern oder Animationen in verschiedenen Formaten (PNG, JPEG, PSD, TIFF, PDF, SVG, WebP, GIF, BMP). Der Skill unterstützt die Ausgabe im JSON-Format für die einfache Weiterverarbeitung durch KI-Agenten und Skripte, sowie Undo/Redo-Funktionen. Er ist ideal für die Automatisierung von Mal-Workflows, Stapelverarbeitung oder den headless Betrieb von Krita – etwa in CI/CD-Pipelines oder Serverumgebungen. Voraussetzung sind eine installierte Krita-Anwendung und Python 3.10+, die CLI wird via pip installiert.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-krita

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht cli-anything-krita?

CLI-Werkzeugkasten für Krita, die professionelle Open-Source-Anwendung für digitale Malerei.

Voraussetzungen

  • Krita muss auf dem System installiert sein
  • Python 3.10+

Installiere die CLI:

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

Befehlsreferenz

Projektverwaltung

cli-anything-krita project new -n "Mein Kunstwerk" -w 2048 -h 2048 -o projekt.json
cli-anything-krita project open projekt.json
cli-anything-krita --project projekt.json project save
cli-anything-krita --project projekt.json project info

Ebenenverwaltung

cli-anything-krita -p projekt.json layer add "Skizze" -t paintlayer
cli-anything-krita -p projekt.json layer add "Farben" --opacity 200
cli-anything-krita -p projekt.json layer add "Gruppe" -t grouplayer
cli-anything-krita -p projekt.json layer remove "Skizze"
cli-anything-krita -p projekt.json layer list
cli-anything-krita -p projekt.json layer set "Farben" opacity 180
cli-anything-krita -p projekt.json layer set "Farben" visible false
cli-anything-krita -p projekt.json layer set "Farben" blending_mode multiply

Ebenentypen: paintlayer, grouplayer, vectorlayer, filterlayer, filllayer, clonelayer, filelayer

Filter

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

Verfügbare Filter: blur, sharpen, desaturate, levels, curves, brightness-contrast, hue-saturation, color-balance, unsharp-mask, posterize, threshold

Leinwandoperationen

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

Export

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

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

Sitzung (Rückgängig/Wiederholen)

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

Status

cli-anything-krita status

Agentennutzung (JSON-Modus)

Alle Befehle unterstützen --json für maschinenlesbare Ausgabe:

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

Beispiel-Workflow

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

# 2. Ebenenstapel einrichten
cli-anything-krita --json -p art.json layer add "Hintergrund" -t paintlayer
cli-anything-krita --json -p art.json layer add "Skizze" -t paintlayer --opacity 180
cli-anything-krita --json -p art.json layer add "Tusche" -t paintlayer
cli-anything-krita --json -p art.json layer add "Farben" -t paintlayer
cli-anything-krita --json -p art.json layer add "Effekte" -t paintlayer --opacity 128

# 3. Effekte anwenden
cli-anything-krita --json -p art.json filter apply blur -l "Hintergrund"

# 4. Exportieren
cli-anything-krita --json -p art.json export render endgueltig.png -p png --overwrite

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

Verwandte Skills