保存所有资源
name: save-all-resource
by cnoder-wgh · published 2026-03-22
$ claw add gh:cnoder-wgh/cnoder-wgh-save-all-resource---
name: save-all-resource
description: 打开一个可见浏览器,让用户手动浏览目标网站,并在浏览过程中持续监听同域原始响应内容,实时落盘到本地桌面目录。
---
# 保存所有资源
当用户希望输入一个网址,打开浏览器后手动浏览页面,并把同域的原始响应内容持续保存到本地目录时,使用本技能。
输入
用户应提供一个入口 URL,例如:
输出
脚本会在用户桌面创建一个以域名命名的文件夹,例如:
然后持续保存:
执行流程
1. 接收用户提供的入口 URL。
2. 运行:
`node scripts/main.js <url>`
3. 脚本会打开一个可见浏览器页签。
4. 用户在这个页签中手动点击和切换页面。
5. 脚本持续监听同域的原始响应内容,并实时写入桌面目录。
6. 当用户关闭该页签后,脚本自动退出。
规则
依赖
此技能脚本依赖 `puppeteer`。首次使用前需要在技能目录中安装依赖:
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...