← 返回 Skills 市场
Event Manager
作者
yuzhihui886
· GitHub ↗
· v1.0.0
· MIT-0
127
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install event-manager
功能描述
小说事件管理工具。创建、编辑、查询事件档案,支持因果链、时间线、多线叙事追踪。Use when: Architect 代理在 Phase 2 需要创建事件架构、管理因果链、规划多线叙事。
使用说明 (SKILL.md)
Event Manager - 事件管理工具
创建、编辑、查询事件档案的工具,支持因果链、时间线、多线叙事追踪。专为 AutoNovel Writer v5.0 设计,由 Architect 代理在 Phase 2 使用。
快速开始
cd ~/.openclaw/workspace/skills/event-manager
# 安装依赖
pip3 install -r requirements.txt --user
# 创建新事件
python3 scripts/manage_events.py create --title "获得传承" --type "转折点" --output events/main.yml
# 查看事件列表
python3 scripts/manage_events.py list --project ./my-novel
# 查询事件因果链
python3 scripts/manage_events.py query --title "获得传承" --project ./my-novel --show-chain
# 导出时间线
python3 scripts/manage_events.py export --project ./my-novel --output timeline.md
命令行选项
| 选项 | 说明 | 必填 |
|---|---|---|
create |
创建新事件档案 | - |
list |
列出所有事件 | - |
query |
查询事件信息 | - |
update |
更新事件档案 | - |
delete |
删除事件档案 | - |
export |
导出事件时间线 | - |
--title |
事件标题 | create/query/update |
--type |
事件类型(转折点/冲突/揭示/成长) | create |
--project |
项目目录 | list/export |
--output |
输出文件路径 | create/export |
事件档案结构
# events/main.yml
title: 获得传承
type: 转折点
chapter: 1
# 事件描述
description: 主角在山上采药时意外坠崖,被神秘老者所救,获得古老玉佩传承。
# 因果链
causality:
causes:
- title: 上山采药
chapter: 1
effects:
- title: 加入青云宗
chapter: 5
- title: 被同门嫉妒
chapter: 8
# 参与角色
characters:
- name: 林风
role: 主角
action: 获得传承
- name: 神秘老者
role: 导师
action: 传授传承
# 伏笔
foreshadowing:
- id: FS-001
description: 玉佩上的神秘纹路
payoff_chapter: 50
payoff_description: 揭示玉佩是上古宗门信物
# 情绪曲线
emotion_arc:
start: 平静
middle: 紧张
end: 惊喜
支持的事件类型
| 类型 | 说明 | 示例 |
|---|---|---|
| 转折点 | 改变故事方向的重大事件 | 获得传承、身份曝光 |
| 冲突 | 角色间的对抗事件 | 比武大会、宗门争斗 |
| 揭示 | 揭露秘密或真相 | 身世之谜、幕后黑手 |
| 成长 | 角色能力提升或心理成长 | 突破境界、领悟道理 |
| 相遇 | 重要角色首次见面 | 遇见女主角、结识盟友 |
| 离别 | 角色分离或死亡 | 亲友牺牲、分道扬镳 |
因果链示例
# 主线事件因果链
event_chain:
- title: 上山采药
chapter: 1
type: 日常
- title: 获得传承
chapter: 1
type: 转折点
causes: [上山采药]
effects: [加入青云宗]
- title: 加入青云宗
chapter: 5
type: 成长
causes: [获得传承]
effects: [被同门嫉妒,遇见女主角]
- title: 被同门嫉妒
chapter: 8
type: 冲突
causes: [加入青云宗]
effects: [比武大会]
使用场景 (V5 流水线)
| 阶段 | 代理 | 输入 | 输出 |
|---|---|---|---|
| Phase 2: 事件架构 | Architect | outline.md + world.yml | events/*.yml(因果链) |
依赖
pip3 install -r requirements.txt --user
主要依赖:
pyyaml>=6.0.1- YAML 文件处理rich>=13.7.0(可选) - CLI 美化输出
相关文件
scripts/manage_events.py- 主程序configs/event_templates.yml- 事件模板配置references/event_design.md- 事件设计指南
Version: 1.0.0 基于: AutoNovel Writer v5.0 项目规划
安全使用建议
This package appears coherent and local-file-focused, but take these basic precautions before installing/running: (1) Review scripts/manage_events.py yourself (it is included) to confirm behavior (you already did); (2) Back up any existing events/important YAMLs in your target project directory before running create/update/delete; delete operations prompt for confirmation but it's good to have backups; (3) Installing requirements via pip will install packages into your user environment — consider using a virtualenv to avoid impacting system/site packages; (4) The registry owner is unknown and there is no homepage — consider this when trusting future updates or running unreviewed code from unknown sources. If you want, I can scan the remaining/truncated portion of manage_events.py or run a line-by-line review of any file you point to.
能力评估
Purpose & Capability
The name/description (小说事件管理工具) matches the packaged files and code: scripts/manage_events.py implements create/list/query/update/delete/export of event YAMLs and uses provided templates. No unrelated binaries, services, or credentials are requested.
Instruction Scope
SKILL.md instructs installing the listed Python deps and running the included CLI script against a project directory. The runtime instructions only reference local paths (skill workspace, project directory, events/*.yml) and the code reads/writes YAML files and prints output. Deletion prompts the user for confirmation before removing files.
Install Mechanism
There is no automated install spec; SKILL.md recommends running pip3 install -r requirements.txt --user. requirements.txt lists common packages (pyyaml, rich) from PyPI. No downloads from arbitrary URLs or archive extraction are present in the bundle.
Credentials
The skill declares no required environment variables, credentials, or config paths. The code does not access environment credentials and only operates on project/event directories and local config templates.
Persistence & Privilege
always is false and model invocation is normal. The skill does not request permanent/system-level presence or modify other skills' configs. It writes event files within the project/events directory (expected behavior).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install event-manager - 安装完成后,直接呼叫该 Skill 的名称或使用
/event-manager触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
初始版本 - 小说事件管理工具
元数据
常见问题
Event Manager 是什么?
小说事件管理工具。创建、编辑、查询事件档案,支持因果链、时间线、多线叙事追踪。Use when: Architect 代理在 Phase 2 需要创建事件架构、管理因果链、规划多线叙事。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 127 次。
如何安装 Event Manager?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install event-manager」即可一键安装,无需额外配置。
Event Manager 是免费的吗?
是的,Event Manager 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Event Manager 支持哪些平台?
Event Manager 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Event Manager?
由 yuzhihui886(@yuzhihui886)开发并维护,当前版本 v1.0.0。
推荐 Skills