Agent skill

Main Image Editor

by LeoYeAI in LeoYeAI/openclaw-master-skills

Orchestrate screenshot + Chinese instruction into PSD batch edits with transaction rollback by reusing psd-automator.

MITAuto-check passedDevOps & Cloud

Install Main Image Editor

skills CLI
$ npx skills add LeoYeAI/openclaw-master-skills --skill main-image-editor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LeoYeAI/openclaw-master-skills main-image-editor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/main-image-editor .claude/skills/main-image-editor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
main-image-editor
GitHub stars
2.2k
Token cost
~497 tokens
SKILL.md length
140 words
Files
11 (incl. scripts)
Skills in repo
1,235
Repo updated
First seen
Licence
MIT

At a glance

Orchestrate screenshot + Chinese instruction into PSD batch edits with transaction rollback by reusing psd-automator.

  • Works in 4 steps: Parse screenshot + Chinese instruction… → Convert tasks into psd-automator task… → Execute serially with transaction… → …
  • DevOps & Cloud work in your project
  • SKILL.md covers Usage, Request payload and Failure policy
  • Runs JavaScript and TypeScript scripts from its folder; calls node

What it does

Main Image Editor is an agent skill from LeoYeAI/openclaw-master-skills. Orchestrate screenshot + Chinese instruction into PSD batch edits with transaction rollback by reusing psd-automator.

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts (for example `.clawhub/origin.json`, `_meta.json` and `command-tool.ts`).

It sits in DevOps & Cloud. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.

When your agent uses it

  • DevOps & Cloud work in your project

Example prompts

  • “/main-image-editor”

Requirements

  • Node.js

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Parse screenshot + Chinese instruction into structured edit tasks.
  2. Convert tasks into psd-automator task JSON.
  3. Execute serially with transaction rollback (rollback all on any failure).
  4. Reuse psd-automator export + bundle output.

What it can do on your machine

Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript and TypeScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Main Image Editor loads about 497 tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 140 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~497

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 140 words, ~497 tokens.

Download SKILL.mdSave it as .claude/skills/main-image-editor/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
main-image-editor
description
Orchestrate screenshot + Chinese instruction into PSD batch edits with transaction rollback by reusing psd-automator.
command-dispatch
tool
command-tool
main_image_editor
command-arg-mode
raw

main-image-editor

Orchestration layer for "main image modification" workflows:

  1. Parse screenshot + Chinese instruction into structured edit tasks.
  2. Convert tasks into psd-automator task JSON.
  3. Execute serially with transaction rollback (rollback all on any failure).
  4. Reuse psd-automator export + bundle output.

Usage

bash
node skills/main-image-editor/scripts/run-main-image-editor.js \
  --request skills/main-image-editor/examples/request.sample.json \
  --index ~/.openclaw/psd-index.json

Dry-run or force execute:

bash
node skills/main-image-editor/scripts/run-main-image-editor.js \
  --request skills/main-image-editor/examples/request.sample.json \
  --dry-run
bash
node skills/main-image-editor/scripts/run-main-image-editor.js \
  --request skills/main-image-editor/examples/request.sample.json \
  --force

Request payload

request JSON supports:

  • text: Chinese requirement text
  • screenshotPath: screenshot path (used for match + audit)
  • confidenceThreshold: optional (default 0.8)
  • tasks: optional pre-parsed tasks (skip regex parsing when provided)
  • execution: optional runtime controls (indexPath, dryRun, force)

When fileHint is missing, parser will try to extract .psd/.psb filename from:

  1. request text
  2. OCR text from screenshotPath (local tesseract command or macOS Vision OCR fallback)

Failure policy

  • Default policy is rollback_all.
  • Any single PSD failure restores all touched PSD files from transaction backups.
  • Temporary outputs generated in the failed run are cleaned up before returning.

© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 10 other files (scripts) in skills/main-image-editor of LeoYeAI/openclaw-master-skills.

  • SKILL.md
  • .clawhub/origin.json
  • _meta.json
  • command-tool.ts
  • examples/request.low-confidence.json
  • examples/request.multi.json
  • examples/request.sample.json
  • examples/request.screenshot3.test.json
  • lib/intent-parser.js
  • lib/task-orchestrator.js
  • scripts/run-main-image-editor.js

Open the folder on GitHubat commit e5199b5

Compare with similar skills

Main Image Editor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Main Image Editor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Main Image Editor this skillLeoYeAI/openclaw-master-skills2.2k—~497Automated safety check: PassMIT
Monitor CInrwl/nx29k6 repos~4.7kAutomated safety check: PassMIT
Terraform and OpenTofu Guideagentscope-ai/QwenPaw36k6 repos~4.2kAutomated safety check: PassApache-2.0
Vercel Optimize Auditvercel-labs/agent-skills32k8 repos~4.3kAutomated safety check: PassNone
Analyze GitHub Action Logswithastro/astro63k1 repos~1.3kAutomated safety check: PassCustom licence
Openclaw Live Updateropenclaw/openclaw392k—~3.7kAutomated safety check: PassMIT

Similar skills

  • Monitor CI

    nrwl/nx

    Monitor Nx Cloud CI pipeline and handle self-healing fixes. An agent skill from nrwl/nx.

    29k GitHub starsUsed in 6 repos~4.7k tokens
    DevOps & CloudAuto-check passed
  • Terraform and OpenTofu Guide

    agentscope-ai/QwenPaw

    Guidance for writing and testing Terraform and OpenTofu code: module structure, naming, test approaches, CI/CD workflows, state handling and security scanning.

    36k GitHub starsUsed in 6 repos~4.2k tokens
    DevOps & CloudAuto-check passed
  • Vercel Optimize Audit

    vercel-labs/agent-skills

    Official

    Runs a metrics-first audit of a deployed Vercel project, gating investigations on real signals to produce ranked, citation-backed cost and performance recommendations.

    32k GitHub starsUsed in 8 repos~4.3k tokens
    DevOps & CloudAuto-check passed
  • Official

    Analyze recent GitHub Actions workflow runs to identify patterns, mistakes, and improvements.

    63k GitHub starsUsed in 1 repo~1.3k tokens
    DevOps & CloudAuto-check passed
  • Openclaw Live Updater

    openclaw/openclaw

    Maintain the canonical live OpenClaw main checkout, macOS LaunchAgent-managed Gateway, local macOS app, exact-head main CI, and recurring full release validation.

    392k GitHub stars~3.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Docs Learn PR Preview

    netdata/netdata

    Use only when the user explicitly asks to build, run, preview, inspect, or validate learn.netdata.cloud locally using the contents of a PR or documentation branch before merge.

    81k GitHub stars~2k tokensUpdated today
    DevOps & CloudAuto-check passed

More from LeoYeAI/openclaw-master-skills

All 1,235 skills in this repo
  • DevOps Pipeline Management

    LeoYeAI/openclaw-master-skills

    Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.

    2.2k GitHub stars~4.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Feishu Document Collaboration

    LeoYeAI/openclaw-master-skills

    Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.

    2.2k GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check passed
  • Files Memory System

    LeoYeAI/openclaw-master-skills

    Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.

    2.2k GitHub stars~3.8k tokensUpdated 2 mo ago
    Auto-check passed
  • GEO-Claw AI Visibility Agent

    LeoYeAI/openclaw-master-skills

    Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.

    2.2k GitHub stars~4.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Google Workspace CLI

    LeoYeAI/openclaw-master-skills

    Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.

    2.2k GitHub stars~2.6k tokensUpdated 2 mo ago
    Auto-check: notes
  • HealthFit Health Advisors

    LeoYeAI/openclaw-master-skills

    Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.

    2.2k GitHub stars~4.4k tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Main Image Editor

What does Main Image Editor do?

Orchestrate screenshot + Chinese instruction into PSD batch edits with transaction rollback by reusing psd-automator. Main Image Editor is an agent skill from LeoYeAI/openclaw-master-skills. Orchestrate screenshot + Chinese instruction into PSD batch edits with transaction rollback by reusing psd-automator.

When should I use Main Image Editor?

Main Image Editor fits situations like: devOps & Cloud work in your project.

How do I install Main Image Editor in Claude Code?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill main-image-editor -a claude-code`. Or copy the skill folder (skills/main-image-editor in LeoYeAI/openclaw-master-skills) into .claude/skills/main-image-editor in your project. Claude Code loads it when a task matches its description.

How do I install Main Image Editor in Codex?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill main-image-editor -a codex`. Or copy the skill folder (skills/main-image-editor in LeoYeAI/openclaw-master-skills) into .agents/skills/main-image-editor in your project. Codex loads it when a task matches its description.

Can I use Main Image Editor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill main-image-editor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/main-image-editor, .gemini/skills/main-image-editor, .github/skills/main-image-editor and .opencode/skills/main-image-editor in your project.

What does Main Image Editor need to run?

Going by SKILL.md and its folder, Main Image Editor needs JavaScript and TypeScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node.js.

Does Main Image Editor access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Main Image Editor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Main Image Editor use?

Main Image Editor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Main Image Editor use?

About 497 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Main Image Editor?

Skills that share tags, products or a category with Main Image Editor: Monitor CI (nrwl/nx, 29k stars), Terraform and OpenTofu Guide (agentscope-ai/QwenPaw, 36k stars), Vercel Optimize Audit (vercel-labs/agent-skills, 32k stars) and Analyze GitHub Action Logs (withastro/astro, 63k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Main Image Editor?

LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,160 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.

Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.