← 返回 Skills 市场
249
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install bookmorph-magic
功能描述
Orchestrate book-to-content workflows to generate video, audio, cover images, and a manifest for episode or campaign packages.
使用说明 (SKILL.md)
BookMorph Magic
Use this skill as a publishable template for book-to-content orchestration. It is not a private, fixed workflow.
What this template does
- Takes one book or one episode-style request
- Produces a package of multi-format content
- Bundles the final outputs into a stable episode directory with a manifest
Typical outputs:
- one video
- one audio file
- three cover images (
3:4,4:3,1:1) - one
manifest.json
Important constraints
- This is a template, not a turnkey SaaS workflow.
- To run end to end, you must provide 3 adapters:
book selectorlongform content generatorcover generator
- If you already have existing skills or scripts for those adapters, wire them to the contracts in
references/integration-template.md.
Inputs
- A book file path, or
- A request containing one episode identifier such as
ep38,EP38,episode 38, or第38期
Output contract
- Output root is configurable
- Episode directory prefix is configurable; default is
episode- - Stable output filenames:
epNN-video.\x3Cext>epNN-audio.\x3Cext>epNN-cover-3x4.\x3Cext>epNN-cover-4x3.\x3Cext>epNN-cover-1x1.\x3Cext>manifest.json
Workflow
- Parse the episode identifier with
scripts/episode_bundle.py parse-episode. - Create or reset the target episode directory with
prepare-dest. - Run your
book selectoradapter until it chooses exactly one source book. - Run your
longform content generatoradapter to produce a video and an audio output. - Run your
cover generatoradapter to produce3:4,4:3, and1:1images. - Run
bundleto copy the final artifacts into the episode directory and writemanifest.json.
Adapter requirements
Book selector
Must return enough information to identify one selected source:
- book title
- author
- local source file path
- selection round or attempt count
- optional selector checkpoint path
Longform content generator
Must return:
- video file path
- audio file path
- attempt count
- optional generator checkpoint path
Cover generator
Must return:
- image path for
3:4 - image path for
4:3 - image path for
1:1 - attempt count
- optional prompt archive path
- optional generator checkpoint path
Failure rules
- If the episode number cannot be parsed, fail immediately.
- If no source book can be selected, stop and write a failed manifest.
- If longform media is incomplete, stop and write a failed or partial manifest.
- If any required cover image is missing, stop and write a failed or partial manifest.
Commands
python3 {baseDir}/scripts/episode_bundle.py parse-episode --text "制作ep38内容" --output-root "/abs/output/root"
python3 {baseDir}/scripts/episode_bundle.py prepare-dest --episode 38 --clear-existing --output-root "/abs/output/root"
python3 {baseDir}/scripts/episode_bundle.py bundle --episode 38 --video "/abs/video.mp4" --audio "/abs/audio.m4a" --image-3x4 "/abs/3x4.png" --image-4x3 "/abs/4x3.png" --image-1x1 "/abs/1x1.png" --book-title "Example Book" --author "Example Author" --book-path "/abs/book.epub" --selector-adapter "my-book-selector" --selector-reference "round-1" --selection-round 1 --longform-attempts 1 --cover-attempts 1 --prompt-archive "/abs/prompts.md" --output-root "/abs/output/root"
python3 {baseDir}/scripts/episode_bundle.py bundle --episode 38 --selection-round 3 --longform-attempts 0 --cover-attempts 0 --status failed --failure "selector=no valid source book" --output-root "/abs/output/root"
References
- Adapter contracts:
references/integration-template.md - Manifest fields:
references/manifest-schema.md
安全使用建议
This package is a local orchestration template: it expects you to wire your own adapters that produce media files, then call the included Python script to bundle them. Before installing or using it, check any adapters you wire in (or other skills you connect) for network access or credential usage, and avoid passing sensitive system paths to the bundle commands — the script will copy any absolute paths you supply into the episode directory. If you plan to run adapters from third parties, vet them separately because this template will happily package outputs they produce.
功能分析
Type: OpenClaw Skill
Name: bookmorph-magic
Version: 1.0.0
The skill bundle provides a legitimate orchestration template for converting books into multi-format content packages (video, audio, images). The primary logic resides in `scripts/episode_bundle.py`, which handles directory management, file copying, and manifest generation using standard Python libraries like `shutil` and `pathlib`. While the script includes a directory deletion feature (`shutil.rmtree`), it is constrained to specific episode subdirectories within a user-defined output root, which is consistent with the stated purpose of resetting a workflow. No evidence of data exfiltration, unauthorized network access, or malicious prompt injection was found.
能力评估
Purpose & Capability
The name/description promise (book→video/audio/cover bundle and manifest) matches the included instructions and script: parsing episode identifiers, preparing output directories, copying supplied media, and writing a manifest. Nothing requested (no env vars, no binaries) is unrelated to that purpose.
Instruction Scope
SKILL.md confines runtime behavior to: parse episode text, invoke a local Python helper, run three adapter steps (book selector, longform generator, cover generator) supplied by the integrator, and bundle/copy local files into an output directory. The instructions do not direct reading of unrelated system files, environment variables, or sending data to external endpoints. The adapters themselves are external and must be provided by the user.
Install Mechanism
No install spec or remote downloads; this is instruction-only with one included Python script. Nothing is fetched from arbitrary URLs or installed into system locations.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The script operates on absolute file paths supplied at runtime — this is appropriate for a bundling/template utility.
Persistence & Privilege
The skill is not always-enabled, is user-invocable, does not change other skills' configuration, and does not request persistent agent-level privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install bookmorph-magic - 安装完成后,直接呼叫该 Skill 的名称或使用
/bookmorph-magic触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial public template release
元数据
常见问题
BookMorph Magic 是什么?
Orchestrate book-to-content workflows to generate video, audio, cover images, and a manifest for episode or campaign packages. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 249 次。
如何安装 BookMorph Magic?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install bookmorph-magic」即可一键安装,无需额外配置。
BookMorph Magic 是免费的吗?
是的,BookMorph Magic 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
BookMorph Magic 支持哪些平台?
BookMorph Magic 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 BookMorph Magic?
由 OiiOAI(@oiioai)开发并维护,当前版本 v1.0.0。
推荐 Skills