Agent skill
main-image-editor
Orchestrate screenshot + Chinese instruction into PSD batch edits with transaction rollback by reusing psd-automator.
Install this agent skill to your Project
npx add-skill https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/main-image-editor
Metadata
Additional technical details for this skill
- openclaw
-
{ "commandTool": "main_image_editor", "userInvocable": true, "commandArgMode": "raw", "commandDispatch": "tool" }
SKILL.md
main-image-editor
Orchestration layer for "main image modification" workflows:
- Parse screenshot + Chinese instruction into structured edit tasks.
- Convert tasks into
psd-automatortask JSON. - Execute serially with transaction rollback (rollback all on any failure).
- Reuse
psd-automatorexport + bundle output.
Usage
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:
node skills/main-image-editor/scripts/run-main-image-editor.js \
--request skills/main-image-editor/examples/request.sample.json \
--dry-run
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 textscreenshotPath: screenshot path (used for match + audit)confidenceThreshold: optional (default0.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:
- request
text - OCR text from
screenshotPath(localtesseractcommand 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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
audit-website
Audit websites for SEO, performance, security, technical, content, and 15 other issue cateories with 230+ rules using the squirrelscan CLI. Returns LLM-optimized reports with health scores, broken links, meta tag analysis, and actionable recommendations. Use to discover and asses website or webapp issues and health.
firecrawl
Web search and scraping via Firecrawl API. Use when you need to search the web, scrape websites (including JS-heavy pages), crawl entire sites, or extract structured data from web pages. Requires FIRECRAWL_API_KEY environment variable.
computer-use
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag, etc). Unlike OpenClaw's browser tool, operates at the X11 level so websites cannot detect automation. Includes VNC for live viewing.
social-media-analyzer
Social media campaign analysis and performance tracking. Calculates engagement rates, ROI, and benchmarks across platforms. Use for analyzing social media performance, calculating engagement rate, measuring campaign ROI, comparing platform metrics, or benchmarking against industry standards.
business-growth-skills
4 production-ready business and growth skills: customer success manager with health scoring and churn prediction, sales engineer with RFP analysis, revenue operations with pipeline and GTM metrics, and contract & proposal writer. Python tools included (all stdlib-only). Works with Claude Code, Codex CLI, and OpenClaw.
contract-and-proposal-writer
Contract & Proposal Writer
Didn't find tool you were looking for?