用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/JSGforever/skillguard --skill modao-capture命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | modao-capture |
| description | 墨刀原型稿抓取工具。自动从墨刀原型稿链接抓取所有页面、截图和批注,生成 Markdown 文档。使用场景包括:(1) 抓取原型稿页面 (2) 生成页面截图 (3) 提取批注内容 (4) 导出 Markdown 文档 |
本 skill 提供墨刀原型稿抓取的 Node.js 脚本工具,使用 Puppeteer 进行浏览器自动化。
使用前需要安装依赖:
npm install
系统要求:
/Applications/Google Chrome.app)node scripts/modao-capture.js --url "墨刀原型稿链接" --output "项目目录"
| 参数 | 说明 |
|---|---|
-u, --url <url> | 墨刀原型稿分享链接(必填) |
-o, --output <dir> | 项目根目录路径(必填) |
-c, --concurrency <number> | 并发处理数量(默认: 3) |
-s, --scale <number> | 截图缩放因子 1-5(默认: 3) |
# 抓取原型稿并输出到当前目录
node scripts/modao-capture.js \
--url "https://modao.cc/proto/abc123/sharing" \
--output "$(pwd)"
# 高质量截图(缩放因子 5),并发数 2
node scripts/modao-capture.js \
--url "https://modao.cc/proto/abc123/sharing" \
--output "/path/to/project" \
--scale 5 \
--concurrency 2
执行后会在指定目录下创建 modao_画布名称/ 文件夹,包含:
modao_画布名称/
├── README.md # 索引文件
├── 01_首页图1.png # 页面截图
├── 01_首页.md # 页面文档
├── 02_详情页图1.png
├── 02_详情页.md
└── ...
# 墨刀原型稿索引
**项目ID**: abc123
**链接**: https://modao.cc/proto/abc123/sharing
---
## 页面列表
| 序号 | 页面 | 批注数 |
|------|------|--------|
| 1 | [首页](./01_首页.md) | 3 |
| 2 | [详情页](./02_详情页.md) | 0 |
# 首页
## 原型稿

## 批注内容
### 批注 1
**内容**:
这是第一个批注的说明
---
当用户需要抓取墨刀原型稿时:
示例工作流:
用户: "抓取这个原型稿 https://modao.cc/proto/xxx/sharing"
Claude:
1. node scripts/modao-capture.js --url "https://modao.cc/proto/xxx/sharing" --output "$(pwd)"
2. 检查输出目录中的 README.md 索引
3. 读取生成的页面文档
modao-capture/
├── .gitignore
├── SKILL.md
├── package.json
└── scripts/
└── modao-capture.js # 主脚本