iBook Widget Packer

v0.1.0

将 H5 游戏项目打包成 Apple iBook 支持的 .wdgt(Widget)格式。适用于:已有 H5 游戏项目(包含 index.html、CSS、JS 等文件),需要打包成 iBook Author 可用的 Widget 压缩包(.wdgt.zip)时使用。自动完成目录结构规范化、资源路径修正、Info...

0· 106·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the provided SKILL.md, README, and pack_widget.py. The script and instructions only perform filesystem operations (copy, modify HTML, generate Info.plist, create thumbnails, zip) required to produce a .wdgt package.
Instruction Scope
Instructions are narrowly scoped to packaging tasks (analyze index.html, copy resources, fix paths, create thumbnails, zip). The SKILL.md references a platform utility 'display_download_links' to provide download links — confirm this is the expected platform helper. The tool also suggests running 'pip3 install Pillow' when needed (normal).
Install Mechanism
This is an instruction-only skill with an included helper script; there is no install spec and no external downloads. The only package the script may ask to install is Pillow (via pip) to generate thumbnails, which is proportionate.
Credentials
The skill requests no environment variables, credentials, or config paths. The script operates on user-supplied filesystem paths only, which is consistent with its purpose.
Persistence & Privilege
Skill is not forced-always, does not request persistent or cross-skill privileges, and allows normal model invocation. No modifications to other skills or global agent settings are present.
Assessment
This skill appears to do exactly what it claims: create a .wdgt folder, fix resource paths, generate Info.plist and thumbnails, then zip the result. It does not contact external endpoints or ask for secrets. Precautions: (1) The script will remove an existing <widget>.wdgt directory (shutil.rmtree) before creating the new one — avoid using important system paths as the output and back up any existing data. (2) The widget_name parameter is used verbatim in paths; avoid passing names containing ../ or unexpected characters to prevent writing outside the intended output directory. (3) Review the generated index.html/Info.plist if you need to ensure no unintended modifications, and run the script in a safe/test directory first. (4) Verify that the 'display_download_links' helper mentioned in the README/SKILL.md is the legitimate platform utility before using it to publish files.

Like a lobster shell, security has layers — review code before you run it.

latestvk979snv6g714kbx0y5e152jv898379aw

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments