← 返回 Skills 市场
215
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install playwright-download-fix
功能描述
自动处理 Playwright 下载文件名问题,监听下载事件并用正确的原始文件名保存文件。解决 Playwright 下载的文件名是 UUID 而不是原始文件名的问题。
安全使用建议
This package appears to do exactly what it says: saving Playwright downloads with their suggested filenames. Before running, inspect the files (download-helper.js, standalone-script.js), ensure you trust the environment and the download directory, install Playwright from the official registry, and be cautious when automating downloads from sites that require login or contain private data—do not use stolen credentials or violate a site's terms. Run it in a controlled environment if you have any doubts.
功能分析
Type: OpenClaw Skill
Name: playwright-download-fix
Version: 1.0.1
The skill provides a utility to handle Playwright downloads by automatically renaming files from UUIDs to their original suggested filenames. The core logic in `download-helper.js` uses standard Playwright APIs to intercept download events and save files to a user-defined directory (defaulting to `~/downloads`). While the documentation in `SKILL.md` suggests adding a shell alias to `~/.zshrc` for convenience, the code itself is transparent, lacks obfuscation, and contains no evidence of data exfiltration or malicious intent.
能力评估
Purpose & Capability
Name, description, SKILL.md, README and included JS files all implement the same functionality (intercept Playwright 'download' events and save with suggestedFilename). No unrelated credentials, binaries, or permissions are requested.
Instruction Scope
Runtime instructions and examples focus on creating a Playwright context and using the DownloadHelper; they reference creating an alias and a local ~/.openclaw-autoclaw path (environment-specific but not malicious). Example scripts navigate to external sites (e.g., rd6.zhaopin.com) and suggest manual login — this is user-driven and could involve downloading sensitive data if the user logs into private accounts, so exercise caution and ensure compliance with site policies.
Install Mechanism
No install spec or network download in the skill; it's distributed as code files. There are no remote URLs, installers, or archive extraction steps in the package.
Credentials
The skill requires no environment variables, tokens, or external credentials. It uses the user's HOME to resolve '~/downloads', which is appropriate for a local downloader.
Persistence & Privilege
always is false and the skill does not request persistent platform-wide privileges or modify other skills. It only registers and removes Playwright page listeners within its own lifecycle.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install playwright-download-fix - 安装完成后,直接呼叫该 Skill 的名称或使用
/playwright-download-fix触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Playwright Download Fix 1.0.1 Changelog
- 增加了多种启动方式说明,包括推荐的 pw-start 命令及相关 alias 配置方法。
- 提供详细启动环境要求和依赖安装步骤,便于首次使用者配置环境。
- 丰富 DownloadHelper API 文档,新增 clearHistory() 和 dispose() 方法介绍。
- 拓展完整使用示例,包括单文件、批量下载及实际招聘网站下载场景代码。
- 增强故障排除内容,覆盖更多常见问题和解决方法,便于定位并解决异常。
- 新增配置文件说明,明确主启动脚本及模块用途,降低集成门槛。
v1.0.0
Playwright Download Fix 1.0.0
- Initial release.
- Automatically saves Playwright downloads using their original filenames instead of UUIDs.
- Provides a DownloadHelper module to monitor download events and store files in a specified directory.
- Supports configuration for download directory and debug mode.
- Tracks and lists downloaded files during a session.
- Includes troubleshooting tips and integration examples for real-world Playwright use.
元数据
常见问题
playwright-download-fix 是什么?
自动处理 Playwright 下载文件名问题,监听下载事件并用正确的原始文件名保存文件。解决 Playwright 下载的文件名是 UUID 而不是原始文件名的问题。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 215 次。
如何安装 playwright-download-fix?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install playwright-download-fix」即可一键安装,无需额外配置。
playwright-download-fix 是免费的吗?
是的,playwright-download-fix 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
playwright-download-fix 支持哪些平台?
playwright-download-fix 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 playwright-download-fix?
由 Umeng+(@squall0925)开发并维护,当前版本 v1.0.1。
推荐 Skills