← 返回 Skills 市场
dhrxy

Psd Automator

作者 dhrxy · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
481
总下载
0
收藏
2
当前安装
3
版本数
在 OpenClaw 中安装
/install psd-automator
功能描述
Automate PSD text replacement on Mac and Windows with Photoshop, dry-run safety, style-lock checks, rollback, and local PSD index cache. Use when requests in...
安全使用建议
This skill appears to implement PSD automation, but I found multiple red flags you should address before installing or running it: 1) Missing dependency and wrapper files: The code imports 'sharp' and 'jszip' but the package metadata doesn't declare or install them; 'sharp' requires native build/runtime dependencies. Also run-task.js expects platform-specific wrapper scripts (e.g., psd-modify-mac.applescript, psd-modify-win.ps1, psd-export-png-win.ps1) but the package only includes .jsx ExtendScript files — the glue scripts appear to be missing. Verify these files and dependency installation steps with the author, and test in an isolated environment. 2) Filesystem indexing and privacy: build-index.js recursively scans roots (Desktop, Documents or whatever you pass) and writes ~/.openclaw/psd-index.json containing absolute paths and optional sidecar text metadata. Consider whether you want an index of all PSDs on the machine and any embedded sidecar text. If you run build-index, limit --root to trusted folders and inspect the generated index before using it. 3) DingTalk marker leaks absolute paths: The SKILL.md requires emitting a [DINGTALK_IMAGE] marker containing an absolute path (e.g., /Users/name/Desktop/xxx.png). That will publish local absolute paths and filenames to an external chat service. If that is unacceptable, do not enable automatic replies that publish the marker; instead require human review before posting. 4) Test and sandbox: Run the tool in a controlled VM or test account first. Ensure Node, required native modules, and system automation (osascript / PowerShell + Photoshop automation) are correctly installed. Review and, if necessary, implement or supply the missing wrapper scripts so you know exactly what commands will run. If you cannot verify the missing wrappers and dependency installation, treat the package as incomplete/untrusted and do not run it on production machines holding sensitive data.
功能分析
Type: OpenClaw Skill Name: psd-automator Version: 1.0.2 The skill bundle provides extensive automation for Adobe Photoshop on macOS and Windows, utilizing high-risk capabilities such as system-level execution (osascript, powershell) and broad filesystem access. While the logic aligns with the stated purpose of PSD text replacement, the implementation in 'run-task.js' and the associated ExtendScript files (.jsx) creates a significant attack surface for command or script injection if user-provided layer names or text are not strictly sanitized. Additionally, the 'DingTalk' integration requires the agent to output absolute file paths in a specific format, which could be leveraged for data exfiltration if the agent is prompted to process sensitive files outside the intended design directories.
能力评估
Purpose & Capability
The files (index builder, PSD modify/export ExtendScript, visual-matching, run-task orchestration) are consistent with a PSD automation tool. However the package metadata/manifest does not declare required Node native/third-party modules (sharp, JSZip) nor does the registry note system prerequisites (node, osascript, powershell). That omission is disproportionate to the described purpose and will cause failures or unexpected installation steps.
Instruction Scope
Runtime instructions and scripts read and write local files broadly (Desktop/Documents, arbitrary roots passed to build-index), create backups under ~/.openclaw, copy files into temporary bridge directories, and can export PNGs. Critically, the SKILL.md mandates emitting a DingTalk marker that contains an absolute file path when replying — this explicitly requires the agent to disclose local absolute paths to an external chat, which may leak sensitive filenames and directory structure. The build-index script scans given roots recursively and writes a JSON index (~/.openclaw/psd-index.json) containing file paths and optional sidecar metadata (textContents, layers) — intended but privacy-sensitive.
Install Mechanism
There is no install spec but the code imports non-built-in modules (sharp, JSZip). package-lock.json contains no packages. That means the skill as published is missing dependency declarations and will fail unless the operator manually installs dependencies (sharp is a native module with a nontrivial build/installation footprint). Also, run-task invokes system binaries (osascript, powershell.exe) and expects auxiliary wrapper scripts (see below) that are not present in the manifest, indicating an incomplete deployment package.
Credentials
The skill requests no environment variables or external credentials (good). It does access user-owned filesystem locations (home, Desktop, Documents, tmp) and creates ~/.openclaw audit/index files; this is proportionate to its function but sensitive because it indexes file paths and may read sidecar metadata (textContents). No cloud or unrelated credentials are requested.
Persistence & Privilege
always is false and the skill does not request system-wide privileges beyond reading/writing user files under home and temp. It writes its own audit log and index under ~/.openclaw which is expected. There is no evidence it attempts to modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install psd-automator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /psd-automator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
maintenance update
v1.0.1
Complete the standalone package metadata, add a local package manifest, and clarify runtime setup plus path-sensitivity guidance.
v1.0.0
Initial release of psd-automator: Cross-platform PSD text automation for Mac and Windows. - Automates text replacement in PSD files via AppleScript (macOS) and Photoshop COM (Windows) - Supports dry-run safety, style-lock checks, rollback with .bak backups, and error codes - Uses a local PSD index cache for fast file lookup and ambiguous file detection - Exports edited text layers or whole PSDs to PNG (single/layer_sets mode), with DingTalk-ready handoff markers - Provides CLI tools for building index, running tasks, and supports natural-language command dispatch via OpenClaw - Designed for team workflows on both chat (including DingTalk) and cross-platform environments
元数据
Slug psd-automator
版本 1.0.2
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 3
常见问题

Psd Automator 是什么?

Automate PSD text replacement on Mac and Windows with Photoshop, dry-run safety, style-lock checks, rollback, and local PSD index cache. Use when requests in... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 481 次。

如何安装 Psd Automator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install psd-automator」即可一键安装,无需额外配置。

Psd Automator 是免费的吗?

是的,Psd Automator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Psd Automator 支持哪些平台?

Psd Automator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Psd Automator?

由 dhrxy(@dhrxy)开发并维护,当前版本 v1.0.2。

💬 留言讨论