Skip to content
Back to skills

Photocraft

ASecurity

Use when editing a PhotoCraft image, layers or selection, or saving/exporting its document. Not for video editing, a photo library, or installing an unrelated app.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 9, 2026
ai-agentsshell

Works with

  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add Whq02/MercuryCLI --skill photocraft --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Photocraft?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Photocraft
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/whq02-photocraft/badge)](https://www.skillsdirectory.com/skills/whq02-photocraft)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: "Use when editing a PhotoCraft image, layers or selection, or saving/exporting its document. Not for video editing, a photo library, or installing an unrelated app."
argument-hint: "[image-editing task]"
---

# PhotoCraft

Use PhotoCraft's MCP tools, never shell image tools or guessed GUI coordinates (“Crop the open PhotoCraft image and export a PNG” belongs here; “Trim the video timeline” does not). Live `tools/list` and `command_list` own the catalog; on conflict, discovery wins.

- Desktop and bridge share one active document (`session_list` and `doc_inspect` name it; recheck when the user changes tabs).
- Target layers by `id` from `doc_inspect`; names repeat. Inspect selection, layers and history after material edits.
- `command_list {filter}` rows give `params` (prose, not a schema), `enabled`, `disabledReason` and `needsDocument`. Never invent ids or parameter keys. Before experimenting, run `command_run {id: "image.duplicate", params: {}}` and edit the copy.
- `command_batch` is not atomic: steps before a failure remain applied. Read `completed` and per-step `results`, then undo one history entry at a time. Undo never unwrites a file.
- `render_preview` is document pixels; `ui_screenshot` is the attached window (if hidden or display off, report the screenshot failure rather than substituting a preview).
- While the app's own update card stands (`ui_inspect` reads `updatesOpen: true`), tools still act and `ui_screenshot` shows the card over the canvas: `control_call {method: "ui.key", params: {key: "Escape"}}` answers the card.
- `doc_save` writes a new root-relative path under the write root (PNG, PSD or `.pcraft`; only image or document files are ever replaced, and never overwrite the source unasked). Check warnings, verify the file decodes, and reopen layered saves to confirm the layer tree; a queued export is not a file. Since 0.20.2 `doc_save` and `doc_export` take `tiffCompression` (none, lzw, zip), `tiffTransparency` and `tiffPyramid`, `.pcraft` saves take `pcraftFullComposite`, and PSD/PSB files refused by `doc_open` or `doc_place` for memory open with `approve_high_memory: true` up to the hard byte limit in the refusal (above that, free memory first).

Boundaries: pass the shared control token file's path: use its path only, never its contents. File I/O runs only via scoped `doc_open` and `doc_save` (`file.open`, `file.saveAs` and ambient-path commands are disabled; the answer to a refusal is never a wider root or a shell workaround). Embedded Smart Objects edit in memory (`layer.smartObjects.editContents`; `saveContents` updates the parent, while `doc_save` exports the contents document); linked external sources and path-bearing filter parameters refuse.

On timeout/disconnect: “request was not sent” means nothing ran; “no reply” or “may have completed” means inspect the document and history first and never replay automatically.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.