Token导航 LogoToken导航

Agent Skill · 研究检索

agent-bridge-for-photoshop(Photoshop Agent 桥)

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

agent-bridge-for-photoshop 是研究检索类 Agent Skill,可用宿主为 Local Agent,通过unknown获取,权限为接触敏感数据;许可证信息还不明确,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 45,481。

总安装 847周安装 36下载 297核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-bridge-for-photoshop(Photoshop Agent 桥)
来源仓库:https://agent-bridge-for-photoshop.jaredverdi.com
仓库路径:agent-bridge-for-photoshop
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流,适合文本转图片和视觉提示词整理场景。适用于 Photoshop 文档控制、图层管理和 UXP API 桥接的视觉处理任务。通过 psagent CLI 和 JSON 操作封包实现 Photoshop 自动化控制。

涉及人物、品牌或公开展示素材时应核对授权、真实性和内容合规边界。agent-bridge-for-photoshop 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:agent-bridge-for-photoshop

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Local Agent;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    没有现成安装命令,按unknown的说明从来源页面获取,仓库路径是 agent-bridge-for-photoshop。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agent-bridge-for-photoshop 怎么安装?

公开资料没有给出可以直接复制的命令,需要按来源页面说明手动安装,仓库内路径为 agent-bridge-for-photoshop。

agent-bridge-for-photoshop 支持哪些 AI 工具?

公开资料标注支持 Local Agent。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agent-bridge-for-photoshop 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

agent-bridge-for-photoshop 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

agent-bridge-for-photoshop 用的人多吗?

公开数据是累计安装 847 次,近一周安装 36 次,下载 297 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agent-bridge-for-photoshop 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 Local Agent 一种宿主,触发方式和使用习惯不用来回切换。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Local Agent,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
agent-bridge-for-photoshop

Photoshop Agent 桥 · 本页

847—接触敏感数据未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Agent Bridge for Photoshop Skill

Product summary

Agent Bridge for Photoshop is a local automation stack for Photoshop that provides a stable command surface, operation payload schema, and runtime bridge between CLI workflows and Photoshop UXP APIs. Agents use the psagent CLI to control Photoshop documents, layers, and operations through JSON operation envelopes. The bridge daemon runs on http://127.0.0.1:43120 and brokers calls between the CLI and a UXP plugin inside Photoshop. Key files: .psagent.json (project config), ~/.config/psagent/config.json (user config), operation envelope JSON payloads. Primary CLI: psagent with subcommands for sessions, documents, layers, operations, rendering, checkpoints, and diagnostics. MCP server available via psagent mcp-serve for agent tool integration.

When to use

Reach for this skill when:

  • Automating Photoshop document and layer operations (create, rename, delete, style, export)
  • Building reproducible creative workflows with deterministic operation sequences
  • Managing document state with checkpoints and rollback capabilities
  • Querying document structure (manifest, layers, properties)
  • Exporting renders (PNG/JPG) from Photoshop programmatically
  • Testing operation payloads before production use (dry-run mode)
  • Integrating Photoshop automation into agent-driven workflows via MCP tools
  • Debugging operation failures and validating bridge connectivity

Quick reference

Essential CLI commands

CommandPurpose
psagent session start [--profile <name>]Start a bridge session
psagent bridge statusCheck daemon and UXP connection
psagent doc open <path>Open a Photoshop document
psagent layer list [--match <regex>]List layers in active document
psagent op apply -f <ops.json> [--checkpoint] [--dry-run] [--op-delay-ms <ms>]Apply operation envelope
psagent op -hList available operations and quick catalog
psagent op <command> -hShow operation arguments, aliases, and example payload
`psagent render --format png\jpg --out <path>`Export active document
psagent checkpoint listList saved checkpoints
psagent checkpoint restore <id>Restore document to checkpoint
psagent doctorDiagnose health and connectivity
psagent mcp-serveStart MCP server for agent tools

Discover operation contracts from CLI help

Use these before writing an ops payload:

  • psagent op -h to see the full operation list/capability catalog.
  • psagent op <command> -h to see required args, supported args, notes, aliases, and a copy/paste JSON example for that operation.

Working patterns (quality-first)

  • Centered headline pattern: create or style text with position.x = 0, set maxWidth to the canvas/section width, and set alignment: "center" instead of hand-tuning x values.
  • Baseline positioning pattern: createTextLayer.position.y is the text baseline (not visual top). For large text, set a lower baseline and iterate with quick renders.
  • Readable text pattern: set explicit text color via textColor/color and add setLayerEffects drop shadow or stroke for contrast on busy photos.
  • Shape polish pattern: use createShapeLayer with cornerRadius and fillType: "gradient" for modern buttons/badges.
  • Photo frame pattern: place photo layer above a frame shape and apply createClippingMask to constrain photo bounds.
  • Single-transaction pattern: keep all dependent operations for one document in the same op apply call to avoid active-document drift between CLI invocations.
  • Iterative composition pattern: render after each logical group (background, photo, text, accents, CTA) and adjust before adding the next group.
  • Pacing pattern for stability: when Photoshop is unstable under heavy automation, set safety.opDelayMs (or CLI --op-delay-ms) to add a short delay between ops (for example 80-200ms).

BatchPlay recipes (high-friction cases)

  • Preserve text style while changing color: if using textStyleRange, include the full style payload (fontPostScriptName, fontName, fontStyleName, size with unitDouble/pointsUnit, and color) because Photoshop replaces style objects rather than merging.
  • Prefer first-class text ops when possible: use createTextLayer/setTextStyle for normal font/size/color/alignment workflows. Reserve batchPlay for gaps not covered by first-class ops.
  • Descriptor units are explicit: numeric descriptor values often require {"_obj": "unitDouble", "_unit": "pointsUnit", "_value": <number>} (or other unit enums) instead of raw numbers.

Global flags

FlagPurpose
--jsonOutput JSON format
--dry-run / -nPreview without mutation
--checkpointCreate checkpoint before operation
--timeout <ms>Override request timeout
--profile <name>Use named configuration profile
--config <path>Specify config file path
-v, --verboseVerbose logging
-q, --quietSuppress output

Configuration precedence

Flags override environment variables, which override session config, which override project config (.psagent.json), which override user config (~/.config/psagent/config.json), which override defaults.

Environment variables

VariablePurpose
PSAGENT_PROFILEDefault profile name
PSAGENT_TIMEOUT_MSRequest timeout in milliseconds
PSAGENT_PLUGIN_ENDPOINTUXP plugin endpoint (default: http://127.0.0.1:43120)
PSAGENT_DRY_RUNEnable dry-run mode by default

Operation envelope structure

{
  "transactionId": "tx-001",
  "doc": { "ref": "active" },
  "refs": {
    "hero": "layer_123"
  },
  "ops": [
    { "op": "createLayer", "name": "Draft", "ref": "draftLayer" },
    { "op": "renameLayer", "target": "$draftLayer", "name": "Draft v2" }
  ],
  "safety": {
    "dryRun": false,
    "checkpoint": false,
    "rollbackOnError": false,
    "onError": "abort"
  }
}

MCP tools (for agent use)

ToolPurpose
photoshop_capabilitiesReturn adapter mode and capability map
photoshop_open_documentOpen document by local path or URL
photoshop_get_manifestReturn document structure and metadata
photoshop_query_layersList layers with optional regex filter
photoshop_apply_opsApply operation envelope payload
photoshop_renderExport active document to PNG/JPG
photoshop_checkpoint_restoreRestore document to checkpoint by ID
photoshop_events_tailFetch recent adapter events

Decision guidance

When to use dry-run vs. checkpoint vs. rollback

ScenarioUseWhy
Testing operation syntax before production--dry-runValidates schema without mutating document
Want to undo if operation failsrollbackOnError: trueRestores document to pre-operation state on error
Need to save state before risky operations--checkpointCreates named snapshot for manual restore
Batch operations with per-op error handlingonError: "continue"Skips failed ops, continues with rest
Single operation must not failonError: "abort"Stops entire transaction on first error

When to use abort vs. continue error policy

ScenarioUseWhy
All operations depend on previous successonError: "abort"Prevents cascading failures
Some operations are optional/independentonError: "continue"Maximizes output even if some ops fail
Cleanup operations must run regardlessPer-op onError: "continue"Ensures deleteLayer runs even if earlier ops fail

When to use CLI vs. MCP server

ScenarioUseWhy
Direct command-line automationpsagent CLISimple, synchronous, full control
Agent-driven workflowspsagent mcp-serveExposes tools to agent clients via JSON-RPC
Integration testingpsagent CLI with --jsonStructured output for assertions
Real-time monitoringpsagent events tailStream recent operations and errors

Workflow

Typical task: Apply operations to a Photoshop document

  1. Start the bridge stack (one-time setup):

- Terminal A: psagent bridge daemon (runs on 127.0.0.1:43120) - Terminal B: Reload UXP plugin in Photoshop (or use npm run bridge:reload) - Terminal C (optional): psagent mcp-serve if using agent tools

  1. Verify connectivity:

- Run psagent bridge status — confirm "Connected" and queue is empty - Run psagent doctor — check health, exit code 0 = OK

  1. Open a document:

- psagent doc open./path/to/file.psd - Verify with psagent layer list to see current structure

  1. Create operation envelope:

- Write JSON file with ops array, safety settings, and refs for layer targeting - Use $refName syntax to reference layers created earlier in same transaction - Keep all dependent ops in one envelope for the same document

  1. Test with dry-run:

- psagent op apply -f ops.json --dry-run - Verify schema is valid and operation names are recognized - Check result for applied: 0 (no mutations)

  1. Apply with checkpoint:

- psagent op apply -f ops.json --checkpoint - Inspect result for applied, failed, aborted counts - If errors, check failures[] array for details

  1. Validate output iteratively:

- After each logical block, render and inspect: - psagent render --format png --out./preview-step-<n>.png - Confirm structure and refs: - psagent layer list - Inspect document properties as needed: - psagent doc manifest

  1. Rollback if needed:

- psagent checkpoint list to see available snapshots - psagent checkpoint restore <id> to revert to checkpoint

Typical task: Use MCP tools from an agent

  1. Start psagent mcp-serve in a terminal
  2. Agent client connects via JSON-RPC over stdio
  3. Call tools in order:

- photoshop_capabilities — confirm adapter is ready - photoshop_open_document — open target file - photoshop_get_manifest — inspect structure - photoshop_query_layers — find specific layers - photoshop_apply_ops — execute operation envelope - photoshop_render — export result - photoshop_checkpoint_restore — undo if needed

Common gotchas

  • Daemon not running: psagent op apply will timeout if psagent bridge daemon is not running on 127.0.0.1:43120. Always start daemon first.
  • UXP plugin disconnected: psagent bridge status shows "Disconnected" if Photoshop UXP panel is not loaded. Reload plugin with npm run bridge:reload or manually in Photoshop.
  • Text style confusion: createTextLayer already supports styling/fitting args like font, fontName, fontSize, textColor, alignment, maxWidth, and overlap controls. Use setTextStyle for post-create edits or re-styling existing text layers.
  • Text baseline mismatch: createTextLayer.position.y is baseline-aligned. If text appears clipped or too high, move the baseline down and re-render.
  • BatchPlay textStyleRange resets styles: textStyleRange[*].textStyle replaces style values; it does not patch them. Include full style fields (font + size + color) in the descriptor.
  • Active document drift across commands: Photoshop can switch active documents between separate CLI calls. Put dependent operations in one op apply payload and set doc.ref.
  • saveDocumentAs key confusion: saveDocumentAs uses output for destination path. path is not a valid key.
  • Layer references fail silently: Use $refName syntax to reference layers created in the same transaction. If reference is wrong, operation may target wrong layer or fail. Validate with --dry-run first.
  • Rollback doesn't work as expected: rollbackOnError: true uses best-effort history snapshot strategy. Some Photoshop actions may not be fully reversible. Test rollback behavior in dry-run before relying on it.
  • Checkpoint restore is slow: Restoring large documents from checkpoint can take seconds. Don't call checkpoint restore in tight loops.
  • Schema validation errors are silent in JSON output: Check result.failures[] array for validation errors. Exit code will be non-zero if schema validation fails.
  • Operation names are case-sensitive: Use exact canonical names like createLayer, not CreateLayer or create_layer. Alias forms (e.g., layer.rename) map to canonical names.
  • Timeout on slow operations: Large document operations may exceed default timeout. Use --timeout <ms> to increase limit for batch operations.
  • Dry-run still requires valid document: --dry-run validates schema but still needs an open document. Session must be active.

Verification checklist

Before submitting work with Agent Bridge for Photoshop:

  • Bridge daemon is running on 127.0.0.1:43120 (verify with psagent bridge status)
  • UXP plugin is connected (status shows "Connected", not "Disconnected")
  • Document is open (psagent doc open succeeded, psagent layer list returns layers)
  • Operation envelope JSON is valid (test with --dry-run first)
  • All layer references use correct $refName syntax
  • Text operations account for baseline positioning (position.y)
  • If using batchPlay textStyleRange, descriptors include full style fields to preserve font/size/color
  • Error policy is set correctly (onError: "abort" or "continue" as needed)
  • Checkpoint is created before risky operations (--checkpoint flag)
  • Result payload shows expected applied count (not failed or aborted)
  • Cleanup operations (e.g., deleteLayer) are included to remove temporary layers
  • Output is validated (render exported, manifest checked, layers verified)
  • Exit code is 0 for success, non-zero for errors

Resources

For additional documentation and navigation, see: https://agent-bridge-for-photoshop.jaredverdi.com/llms.txt

平台分布

Local Agent

83.52%
按下载量换算248

安全审计

暂无安全审计结果可展示。

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills