← 返回 Skills 市场
92
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wiz-migration
功能描述
为知笔记迁移辅助技能,提供自动检测存储目录、导出操作引导、附件批量迁移等完整迁移流程
安全使用建议
This skill appears to implement the advertised Wiz-note migration features and works only with local files, but there are packaging and safety issues you should consider before installing:
- Packaging inconsistencies: the package references entry points and a batch file that aren't present; an import in __init__.py is malformed (hyphen in module name) and may cause runtime errors. Expect possible failures when invoking start_wizard() or the package entrypoint.
- Batch script execution: the migrator can write and run a temporary .bat file or run a user-supplied batch script. Only run this skill on a machine you control and after inspecting any batch scripts; do not run it on sensitive systems without review.
- Back up data first: the tool manipulates/copies attachments. Make a full backup of the source folder before running.
- Inspect source code: if you can, open scripts/migrator.py and any batch scripts to confirm there are no unexpected commands (network calls, deletion, or uploads). The Python code here does local copy operations; check for any modifications in the packaged version you install.
- Verify provenance: skill.json points to a GitHub repo but top-level metadata says source unknown — if provenance matters, follow the repository link and confirm the upstream project and releases.
If you need help examining the batch script or validating the package before running, provide the batch file content or run the included Python functions in a sandbox/non-production environment.
功能分析
Type: OpenClaw Skill
Name: wiz-migration
Version: 1.0.0
The skill is designed for migrating Wiz Note data but contains a significant shell injection vulnerability in `scripts/migrator.py`. The `_run_batch_script` function performs unsafe string replacement of user-provided directory paths into a batch script template, which is then executed using `subprocess.run(shell=True)`. While the tool's functionality aligns with its stated purpose and no evidence of intentional malice or data exfiltration was found, this implementation allows for arbitrary command execution if directory paths are maliciously crafted.
能力评估
Purpose & Capability
The name/description (Wiz note migration) aligns with the included Python modules for detecting data dirs, generating guides, and copying attachments. However there are packaging inconsistencies: __init__.py attempts to import a module using a hyphenated name (from bin.wiz-migrate) which will fail, README/SKILL.md reference a scripts/copy_attachments.bat and a bin entrypoint that are not present in the manifest, and skill.json contains a homepage/repo while the top-level metadata says 'Source: unknown'/'Homepage: none'. These indicate sloppy packaging or missing files.
Instruction Scope
SKILL.md directs only to local filesystem operations (detecting paths, generating markdown, copying attachment folders, optionally running a batch script). It does not instruct network transfers or reading unrelated config/credentials. The only broader action is executing a batch script (if provided), which will run arbitrary commands on the host — this is expected for a migration tool but expands the blast radius if the batch file is malicious or tampered with.
Install Mechanism
No install spec; code is instruction/package-based and runs from the skill directory. No remote downloads or archive extraction are requested. That is low risk from an install-mechanism perspective.
Credentials
The skill requires no environment variables or external credentials. It uses os.path.expandvars to expand filesystem templates (normal). It writes local logs (migration_log.json) and temporary batch scripts in the working directory — no hidden credential access was requested or observed.
Persistence & Privilege
always is false and the skill does not request permanent platform-wide privileges. It will create temporary files (temp_copy_attachments.bat) and a migration_log.json in the working directory; it does not modify other skills or global agent configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wiz-migration - 安装完成后,直接呼叫该 Skill 的名称或使用
/wiz-migration触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
wiz-migration 1.0.0 初始发布
- 提供为知笔记数据迁移全流程辅助,包括自动检测数据目录、导出操作引导、批量迁移附件
- 交互式迁移向导,支持命令行和 Python 脚本调用
- 自动生成导出指南文档,详细说明必做的导出设置和目录结构说明
- 附件迁移支持批处理脚本,可增量复制,跨平台兼容
- 提供常见错误处理与迁移检查清单,确保迁移安全完整
元数据
常见问题
Wiz Migration 是什么?
为知笔记迁移辅助技能,提供自动检测存储目录、导出操作引导、附件批量迁移等完整迁移流程. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 92 次。
如何安装 Wiz Migration?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wiz-migration」即可一键安装,无需额外配置。
Wiz Migration 是免费的吗?
是的,Wiz Migration 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Wiz Migration 支持哪些平台?
Wiz Migration 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Wiz Migration?
由 awamwang(@awamwang)开发并维护,当前版本 v1.0.0。
推荐 Skills