[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CENEAE8VZQV6RCM0GCE75S":3,"skill-same:01M7CENEAE8VZQV6RCM0GCE75S":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7CENEAE8VZQV6RCM0GCE75S","toporealm",null,"TopoRealm 图工作空间的 CLI 操作手册——建图选图、增删改查、撤销重做、模块能力动态发现。凡会话涉及图工作空间、TopoRealm、建图、任务拓扑、对象关系、工作流执行、undo 撤销、模块安装或技能发现——哪怕用户没明说\"图\"——都按本技能用 toporealm CLI 操作，绝不直接读写图文件。","LUKAWI\u002Ftoporealm","LUKAWI","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F237365378?v=4","01M7CEMYEK2DC7S7Z99KP1R3EX","01M7CEMYF523PTP7QFE01KZSVJ",1,"MIT","https:\u002F\u002Fgithub.com\u002FLUKAWI\u002Ftoporealm\u002Fblob\u002Fmain\u002Fpackages\u002Ftoporealm\u002Fskills\u002Ftoporealm\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: toporealm\ndescription: TopoRealm 图工作空间的 CLI 操作手册——建图选图、增删改查、撤销重做、模块能力动态发现。凡会话涉及图工作空间、TopoRealm、建图、任务拓扑、对象关系、工作流执行、undo 撤销、模块安装或技能发现——哪怕用户没明说\"图\"——都按本技能用 toporealm CLI 操作，绝不直接读写图文件。\n---\n\n# TopoRealm CLI 使用指南\n\nTopoRealm 是单属主 daemon 的本地图工作空间：**所有读写经 CLI，客户端绝不直接读写图文件**。图的 YAML 与提交日志是唯一事实，daemon 是唯一写者。\n\n本技能只写主包高频动词，**不硬编码任何模块的能力**——模块的 kind\u002F命令\u002F技能随安装而变，一律当场动态发现（见「模块能力发现」）。\n\n## 会话入场\n\n会话涉及图工作 → 先跑三条发现命令，摸清现场再动手：\n\n```bash\ntoporealm status        # 当前图\u002Frevision\u002Fkind 计数\u002Fundo redo 可用性\u002F已装载模块\u002F警告\ntoporealm cmds          # 已装载模块的命令目录（模块命令怎么调以目录为准）\ntoporealm skills index  # 全池模块技能索引（任务匹配某技能描述就加载它）\n```\n\n据此决定接下来用哪些动词、是否需要加载某个模块技能；机器可读加 `--json`。\n\n未初始化目录（无 `.toporealm\u002F`）不是故障：`status`\u002F`cmds` 报 `NO_WORKSPACE`\n（exit 1，fix 即建图命令），`skills index` 空输出 exit 0；照 fix 跑\n`toporealm creategraph \u003C名>` 即自愈。\n\n图生命周期子命令（工作区文件操作，不触 daemon）：\n\n- `toporealm init` — 初始化项目工作区（建 `.toporealm` + 全局目录 + AGENTS.md 提示）。\n- `toporealm creategraph \u003C名> [--label L]` — 新建图并选中（自动初始化工作区）。\n- `toporealm use \u003C名>` — 切换选定图；输出会提示 `export TOPOREALM_GRAPH=\u003C名>`（见「多终端」）。\n- `toporealm graphs` — 列出工作区全部图（`*` 标当前）。\n\n## 读：read \u002F find\n\n- `toporealm read` — 全图读取（对象+关系）。\n- `toporealm read \u003Cid>` — 单点邻域：锚实体 + 触达它的全部关系，一次读拿全上下文。\n- 过滤读取：`toporealm read --kind \u003CK> --where \u003Ck=v> --fields id,status --limit N`\n  - `--kind`、`--where` 可重复出现，每次取一个值；`--fields` 逗号或重复写法等价\n    （`--fields id,status`），裸键解析为 `payload.\u003C键>`（写 `status` 即 `payload.status`）。\n  - **互斥**：过滤旗标与单点 `read \u003Cid>` 不能同用（exit 2）——按 kind 过滤请用 find，或去掉 `\u003Cid>`。\n- `toporealm find \u003Ck=v>... [--kind K] [--fields f]` — `read --where` 的糖，发现动词：\n  - `toporealm find status=active`；`--kind` 可重复，多 kind 取**并集**：\n    `toporealm find status=active --kind \u003CK1> --kind \u003CK2>`。\n  - 0 命中不是错误。先 find 确认存在，再决定写什么。\n\n## 写：四个动词，处处使用\n\n写命令作用于解析出的当前图（`--graph` 旗标 > `TOPOREALM_GRAPH` 环境变量 > `use` 选定图）。写动词（add\u002Fset\u002Flink\u002Frm\u002Fundo\u002Fredo）与模块命令的人类输出带 `[图名]` 前缀——**先看图名再确认结果**，多图工作区防误伤（读侧 read\u002Ffind\u002Fstatus\u002Flog\u002Fcmds 无此前缀）。\n\n- `toporealm add \u003Ckind> [--id X] [--payload '\u003Cjson>']` — 新建对象，回显 created id；\n  不给 `--id` 时 daemon 生成（`\u003C主类型尾段>-\u003C8位hex>` 形），一律以回显为准。\n- `toporealm set \u003Cid> [k=v]... [--payload '\u003Cjson>'] [--replace]` — 浅合并载荷；\n  `k=null` 删键；`--replace` 整体替换（需给完整载荷）。k=v 的值按 JSON 解析，非 JSON 按字符串。\n- `toporealm link \u003Csrc> \u003Ctgt> [--kind ns.rel] [--id X]` — 建关系，端点必须存在\n  （端点缺失时可与创建放同一提交）。图中只有一种关系类型时可省 `--kind`；\n  **首条关系必须显式 `--kind`**（空图没有类型可推断）。\n- `toporealm rm \u003Cid>` — 删除；仍有关系引用时被拦（DANGLING_RELATION 点名关系 id 并给 fix）：\n  先 `toporealm rm \u003C关系id>` 再删本实体。\n\n## 容器类（represent 声明 + member_of）\n\n模块在 module.yaml 声明 `represent: \"container\"` 的对象种类是**容器**（组织性类目，\n如 workflow 模块的 `wf.domain`）：容器就是普通对象，靠公共归属关系 `member_of` 聚合成员。\n**方向恒为 成员 → 类**（`link \u003C成员id> \u003C容器id> --kind member_of`）——**方向纯靠约定：\nmember_of 是公共类型（无命名空间前缀，跨模块共用），core 只查端点存在，两端不做任何领域校验**，\n写反了不会报错，WebUI 的容器分组却会错位。\n\n完整命令链（把任务 task-42 归入「认证域」容器）：\n\n```bash\ntoporealm add wf.domain --id auth --payload '{\"title\":\"认证域\"}'   # 建容器（本质是普通对象）\ntoporealm link task-42 auth --kind member_of                       # 成员在前，类在后\ntoporealm read --kind member_of                                    # 按归属关系过滤\ntoporealm set auth title=\"认证域（后端）\"                           # 容器照常 set\ntoporealm rm auth                                                  # 删容器：仍有成员关系引用时被拦（DANGLING_RELATION）——core 无级联删除，先逐条 rm 成员关系再删容器\n```\n\n附属对象（备注类）同理：`represent: \"annotation\"` 的 kind 渲染为宿主角标或附属侧栏，\n仍是普通对象 + 需要的边；不声明 `represent` = 普通节点。\n\n## 批注与人工确认（审阅回路）\n\n用户在 WebUI 审阅拓扑后写的**批注**是公共 kind `annotation` 的普通对象（基座约定，\nD48）：payload 带目标锚定（`target: {scope, ref}`，scope ∈ node\u002Fkind\u002Fgraph）、内容\n（`body`）、意图（`motivation`：comment\u002Fquestion\u002Fassessing）与解决状态（顶层布尔\n`resolved`）。WebUI 1.5.2 起是**纯审阅界面**（批注 + checkpoint 确认），一切图编辑\n在 CLI——用户批注就是审阅意见到达你的主要通道：\n\n- **读未解决批注**：`toporealm find resolved=false --kind annotation`；单条上下文\n  `read \u003C批注id>`（`target.ref` 指向被批注的对象\u002F类\u002F整图）。\n- **按批注行动**：批注是用户的审阅意见，优先级高于自拟计划；动手前先复述你理解的要点。\n- **行动完成后收口**：`toporealm set \u003C批注id> resolved=true resolvedAt=\u003CISO时间>`；\n  误收口用 `toporealm set \u003C批注id> resolved=false resolvedAt=null` 重开（null 删键）。\n- **替用户写批注**：`toporealm add annotation --payload '{\"title\":\"…\",\"body\":\"…\",\n  \"target\":{\"scope\":\"node\",\"ref\":\"\u003Cid>\"},\"resolved\":false,\"author\":\"agent\"}'`，\n  node 锚定再补 `toporealm link \u003C批注id> \u003C宿主id> --kind annotation_of`（方向恒为\n  批注 → 宿主，恰一条挂靠边时 WebUI 出宿主角标）。\n\n流程类任务的 **checkpoint 人工确认**：用户在 WebUI 打 √\u002F×，走模块命令（如 workflow\n的 `wf.record-checkpoint`，input 带 `actor: \"user\"` + `by: \"user\"`）。`human` 档位\ncheckpoint 的终态**只能由 user 身份确认**——agent 冒充会被领域钩子拦下\n（HUMAN_CONFIRMATION_REQUIRED），这是设计使然不是故障；已决策的检查点在 WebUI 只读展示。\n\n## 撤销与历史\n\n- `toporealm undo [N]` \u002F `toporealm redo [N]` — 撤销\u002F重做 N 步。undo 是用户的手，\n  模块领域门禁不得拦（钩子豁免）。步数超出可撤\u002F可重做范围时**钳位并报实际步数**。\n- `toporealm log [-n N]` — 提交日志尾读（缺省 20）：变更审计与「谁改了什么」的主要来源。\n  只显示 undo 游标之前的已生效提交——undo 后 log 变短是预期语义，不是丢数据。\n- 拿不准就先 `toporealm status`（当前图\u002Frevision\u002Fkind 计数\u002Fundo redo 可用性\u002F已装载模块\u002F警告），\n  再 `log` 对账。\n\n## 模块能力发现（永远动态，不背目录）\n\n模块能力随安装而变——不要假设，当场发现：\n\n- `toporealm cmds [--module ns]` — 当前图已装载模块的命令目录，永远等于注册事实\n  （did-you-mean 的真相源）。模块命令形如 `\u003Cns.name> [target] [--input '\u003Cjson>']`，\n  作为顶层子命令调用；具体命令名与必填输入键以目录输出为准。\n- `toporealm skills index` — 全池模块技能索引（技能名\u002F模块\u002F描述\u002F**SKILL.md 绝对路径**；\n  纯文件层不触 daemon，空索引 exit 0）。任务匹配某技能描述时，用 Read 加载该路径全文再行动。\n- 新装\u002F卸载模块无需重启 daemon：模块集摘要在**下次触达**任意 daemon 命令时自动检测换载。\n\n## 机器可读与退出码\n\n- 一切动词加 `--json`：成功 `{ok:true, data, revision?, instanceId?}`；\n  失败 `{ok:false, error:{code, message, hint?, fix?, details?}}`。\n- 退出码：**0** 成功 · **1** 领域错误（读 `error.hint`\u002F`error.fix` 换方式重试）· **2** 用法错误。\n- 错误里的 hint\u002Ffix 是可执行的修正建议，照做即可。\n- 全局选项：`--root \u003Cdir>`、`--graph \u003Cid>`；`toporealm help [cmd]` 看单动词用法；`--version` 查版本。\n\n## 多终端：TOPOREALM_GRAPH 锚\n\n每个终端壳有自己的专注图：环境变量 `TOPOREALM_GRAPH` 覆盖工作区选定图。两个终端可在同一工作区各专注一个图互不干扰；`use` 只改工作区选定图，不动其它已开终端的解析结果。壳里锚一次：`export TOPOREALM_GRAPH=\u003C名>`。指向不存在的图会在触达 daemon 时报 GRAPH_NOT_FOUND。`TOPOREALM_ROOT`（项目根）\u002F `TOPOREALM_HOME`（全局目录，缺省 `~\u002F.toporealm`）同理按进程覆盖路径解析。\n\n## 工作区布局\n\n- `.toporealm\u002Fgraphs\u002F\u003C图名>\u002F` — 图存储（YAML + 提交日志，可入库）。\n- `.toporealm\u002Fmodules\u002F\u003C模块>\u002F` — 项目池；`~\u002F.toporealm\u002Fmodules\u002F` — 全局池（所有项目生效）。\n\n## 边界与指路\n\n本技能止步于此；下面的内容去对应技能（同仓随包分发）：\n\n- **低频运维**——`module add\u002Frm\u002Flist`、`migrate`（0.x 旧图迁移）、`serve`（WebUI）、\n  多图策略、daemon 排障 → 读 `toporealm-ops` 技能。\n- **建模原则**——对象 vs 关系怎么选、payload 设计、id 策略、反模式 → 读 `toporealm-design` 技能。\n- **写模块**——从模板创建自己的模块 → 读 `module-creator` 技能。\n","# TopoRealm CLI 使用指南\n\nTopoRealm 是单属主 daemon 的本地图工作空间：**所有读写经 CLI，客户端绝不直接读写图文件**。图的 YAML 与提交日志是唯一事实，daemon 是唯一写者。\n\n本技能只写主包高频动词，**不硬编码任何模块的能力**——模块的 kind\u002F命令\u002F技能随安装而变，一律当场动态发现（见「模块能力发现」）。\n\n## 会话入场\n\n会话涉及图工作 → 先跑三条发现命令，摸清现场再动手：\n\n```bash\ntoporealm status        # 当前图\u002Frevision\u002Fkind 计数\u002Fundo redo 可用性\u002F已装载模块\u002F警告\ntoporealm cmds          # 已装载模块的命令目录（模块命令怎么调以目录为准）\ntoporealm skills index  # 全池模块技能索引（任务匹配某技能描述就加载它）\n```\n\n据此决定接下来用哪些动词、是否需要加载某个模块技能；机器可读加 `--json`。\n\n未初始化目录（无 `.toporealm\u002F`）不是故障：`status`\u002F`cmds` 报 `NO_WORKSPACE`\n（exit 1，fix 即建图命令），`skills index` 空输出 exit 0；照 fix 跑\n`toporealm creategraph \u003C名>` 即自愈。\n\n图生命周期子命令（工作区文件操作，不触 daemon）：\n\n- `toporealm init` — 初始化项目工作区（建 `.toporealm` + 全局目录 + AGENTS.md 提示）。\n- `toporealm creategraph \u003C名> [--label L]` — 新建图并选中（自动初始化工作区）。\n- `toporealm use \u003C名>` — 切换选定图；输出会提示 `export TOPOREALM_GRAPH=\u003C名>`（见「多终端」）。\n- `toporealm graphs` — 列出工作区全部图（`*` 标当前）。\n\n## 读：read \u002F find\n\n- `toporealm read` — 全图读取（对象+关系）。\n- `toporealm read \u003Cid>` — 单点邻域：锚实体 + 触达它的全部关系，一次读拿全上下文。\n- 过滤读取：`toporealm read --kind \u003CK> --where \u003Ck=v> --fields id,status --limit N`\n  - `--kind`、`--where` 可重复出现，每次取一个值；`--fields` 逗号或重复写法等价\n    （`--fields id,status`），裸键解析为 `payload.\u003C键>`（写 `status` 即 `payload.status`）。\n  - **互斥**：过滤旗标与单点 `read \u003Cid>` 不能同用（exit 2）——按 kind 过滤请用 find，或去掉 `\u003Cid>`。\n- `toporealm find \u003Ck=v>... [--kind K] [--fields f]` — `read --where` 的糖，发现动词：\n  - `toporealm find status=active`；`--kind` 可重复，多 kind 取**并集**：\n    `toporealm find status=active --kind \u003CK1> --kind \u003CK2>`。\n  - 0 命中不是错误。先 find 确认存在，再决定写什么。\n\n## 写：四个动词，处处使用\n\n写命令作用于解析出的当前图（`--graph` 旗标 > `TOPOREALM_GRAPH` 环境变量 > `use` 选定图）。写动词（add\u002Fset\u002Flink\u002Frm\u002Fundo\u002Fredo）与模块命令的人类输出带 `[图名]` 前缀——**先看图名再确认结果**，多图工作区防误伤（读侧 read\u002Ffind\u002Fstatus\u002Flog\u002Fcmds 无此前缀）。\n\n- `toporealm add \u003Ckind> [--id X] [--payload '\u003Cjson>']` — 新建对象，回显 created id；\n  不给 `--id` 时 daemon 生成（`\u003C主类型尾段>-\u003C8位hex>` 形），一律以回显为准。\n- `toporealm set \u003Cid> [k=v]... [--payload '\u003Cjson>'] [--replace]` — 浅合并载荷；\n  `k=null` 删键；`--replace` 整体替换（需给完整载荷）。k=v 的值按 JSON 解析，非 JSON 按字符串。\n- `toporealm link \u003Csrc> \u003Ctgt> [--kind ns.rel] [--id X]` — 建关系，端点必须存在\n  （端点缺失时可与创建放同一提交）。图中只有一种关系类型时可省 `--kind`；\n  **首条关系必须显式 `--kind`**（空图没有类型可推断）。\n- `toporealm rm \u003Cid>` — 删除；仍有关系引用时被拦（DANGLING_RELATION 点名关系 id 并给 fix）：\n  先 `toporealm rm \u003C关系id>` 再删本实体。\n\n## 容器类（represent 声明 + member_of）\n\n模块在 module.yaml 声明 `represent: \"container\"` 的对象种类是**容器**（组织性类目，\n如 workflow 模块的 `wf.domain`）：容器就是普通对象，靠公共归属关系 `member_of` 聚合成员。\n**方向恒为 成员 → 类**（`link \u003C成员id> \u003C容器id> --kind member_of`）——**方向纯靠约定：\nmember_of 是公共类型（无命名空间前缀，跨模块共用），core 只查端点存在，两端不做任何领域校验**，\n写反了不会报错，WebUI 的容器分组却会错位。\n\n完整命令链（把任务 task-42 归入「认证域」容器）：\n\n```bash\ntoporealm add wf.domain --id auth --payload '{\"title\":\"认证域\"}'   # 建容器（本质是普通对象）\ntoporealm link task-42 auth --kind member_of                       # 成员在前，类在后\ntoporealm read --kind member_of                                    # 按归属关系过滤\ntoporealm set auth title=\"认证域（后端）\"                           # 容器照常 set\ntoporealm rm auth                                                  # 删容器：仍有成员关系引用时被拦（DANGLING_RELATION）——core 无级联删除，先逐条 rm 成员关系再删容器\n```\n\n附属对象（备注类）同理：`represent: \"annotation\"` 的 kind 渲染为宿主角标或附属侧栏，\n仍是普通对象 + 需要的边；不声明 `represent` = 普通节点。\n\n## 批注与人工确认（审阅回路）\n\n用户在 WebUI 审阅拓扑后写的**批注**是公共 kind `annotation` 的普通对象（基座约定，\nD48）：payload 带目标锚定（`target: {scope, ref}`，scope ∈ node\u002Fkind\u002Fgraph）、内容\n（`body`）、意图（`motivation`：comment\u002Fquestion\u002Fassessing）与解决状态（顶层布尔\n`resolved`）。WebUI 1.5.2 起是**纯审阅界面**（批注 + checkpoint 确认），一切图编辑\n在 CLI——用户批注就是审阅意见到达你的主要通道：\n\n- **读未解决批注**：`toporealm find resolved=false --kind annotation`；单条上下文\n  `read \u003C批注id>`（`target.ref` 指向被批注的对象\u002F类\u002F整图）。\n- **按批注行动**：批注是用户的审阅意见，优先级高于自拟计划；动手前先复述你理解的要点。\n- **行动完成后收口**：`toporealm set \u003C批注id> resolved=true resolvedAt=\u003CISO时间>`；\n  误收口用 `toporealm set \u003C批注id> resolved=false resolvedAt=null` 重开（null 删键）。\n- **替用户写批注**：`toporealm add annotation --payload '{\"title\":\"…\",\"body\":\"…\",\n  \"target\":{\"scope\":\"node\",\"ref\":\"\u003Cid>\"},\"resolved\":false,\"author\":\"agent\"}'`，\n  node 锚定再补 `toporealm link \u003C批注id> \u003C宿主id> --kind annotation_of`（方向恒为\n  批注 → 宿主，恰一条挂靠边时 WebUI 出宿主角标）。\n\n流程类任务的 **checkpoint 人工确认**：用户在 WebUI 打 √\u002F×，走模块命令（如 workflow\n的 `wf.record-checkpoint`，input 带 `actor: \"user\"` + `by: \"user\"`）。`human` 档位\ncheckpoint 的终态**只能由 user 身份确认**——agent 冒充会被领域钩子拦下\n（HUMAN_CONFIRMATION_REQUIRED），这是设计使然不是故障；已决策的检查点在 WebUI 只读展示。\n\n## 撤销与历史\n\n- `toporealm undo [N]` \u002F `toporealm redo [N]` — 撤销\u002F重做 N 步。undo 是用户的手，\n  模块领域门禁不得拦（钩子豁免）。步数超出可撤\u002F可重做范围时**钳位并报实际步数**。\n- `toporealm log [-n N]` — 提交日志尾读（缺省 20）：变更审计与「谁改了什么」的主要来源。\n  只显示 undo 游标之前的已生效提交——undo 后 log 变短是预期语义，不是丢数据。\n- 拿不准就先 `toporealm status`（当前图\u002Frevision\u002Fkind 计数\u002Fundo redo 可用性\u002F已装载模块\u002F警告），\n  再 `log` 对账。\n\n## 模块能力发现（永远动态，不背目录）\n\n模块能力随安装而变——不要假设，当场发现：\n\n- `toporealm cmds [--module ns]` — 当前图已装载模块的命令目录，永远等于注册事实\n  （did-you-mean 的真相源）。模块命令形如 `\u003Cns.name> [target] [--input '\u003Cjson>']`，\n  作为顶层子命令调用；具体命令名与必填输入键以目录输出为准。\n- `toporealm skills index` — 全池模块技能索引（技能名\u002F模块\u002F描述\u002F**SKILL.md 绝对路径**；\n  纯文件层不触 daemon，空索引 exit 0）。任务匹配某技能描述时，用 Read 加载该路径全文再行动。\n- 新装\u002F卸载模块无需重启 daemon：模块集摘要在**下次触达**任意 daemon 命令时自动检测换载。\n\n## 机器可读与退出码\n\n- 一切动词加 `--json`：成功 `{ok:true, data, revision?, instanceId?}`；\n  失败 `{ok:false, error:{code, message, hint?, fix?, details?}}`。\n- 退出码：**0** 成功 · **1** 领域错误（读 `error.hint`\u002F`error.fix` 换方式重试）· **2** 用法错误。\n- 错误里的 hint\u002Ffix 是可执行的修正建议，照做即可。\n- 全局选项：`--root \u003Cdir>`、`--graph \u003Cid>`；`toporealm help [cmd]` 看单动词用法；`--version` 查版本。\n\n## 多终端：TOPOREALM_GRAPH 锚\n\n每个终端壳有自己的专注图：环境变量 `TOPOREALM_GRAPH` 覆盖工作区选定图。两个终端可在同一工作区各专注一个图互不干扰；`use` 只改工作区选定图，不动其它已开终端的解析结果。壳里锚一次：`export TOPOREALM_GRAPH=\u003C名>`。指向不存在的图会在触达 daemon 时报 GRAPH_NOT_FOUND。`TOPOREALM_ROOT`（项目根）\u002F `TOPOREALM_HOME`（全局目录，缺省 `~\u002F.toporealm`）同理按进程覆盖路径解析。\n\n## 工作区布局\n\n- `.toporealm\u002Fgraphs\u002F\u003C图名>\u002F` — 图存储（YAML + 提交日志，可入库）。\n- `.toporealm\u002Fmodules\u002F\u003C模块>\u002F` — 项目池；`~\u002F.toporealm\u002Fmodules\u002F` — 全局池（所有项目生效）。\n\n## 边界与指路\n\n本技能止步于此；下面的内容去对应技能（同仓随包分发）：\n\n- **低频运维**——`module add\u002Frm\u002Flist`、`migrate`（0.x 旧图迁移）、`serve`（WebUI）、\n  多图策略、daemon 排障 → 读 `toporealm-ops` 技能。\n- **建模原则**——对象 vs 关系怎么选、payload 设计、id 策略、反模式 → 读 `toporealm-design` 技能。\n- **写模块**——从模板创建自己的模块 → 读 `module-creator` 技能。\n",{"name":5,"description":7},"main","2c58c433fadb7967584214cb128e6f2e287aef01","packages\u002Ftoporealm\u002Fskills\u002Ftoporealm",0,"https:\u002F\u002Fgithub.com\u002FLUKAWI\u002Ftoporealm","https:\u002F\u002Fgithub.com\u002FLUKAWI","2026-09-30 20:26:11",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add LUKAWI\u002Ftoporealm --skill toporealm",{"tool":36,"command":37},"bunx","bunx skills add LUKAWI\u002Ftoporealm --skill toporealm",{"tool":39,"command":40},"pnpm","pnpm dlx skills add LUKAWI\u002Ftoporealm --skill toporealm","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLUKAWI\u002Ftoporealm\u002Fblob\u002Fmain\u002Fpackages\u002Ftoporealm\u002Fskills\u002Ftoporealm\u002FSKILL.md",true,[],[45,52,59,64,71,78],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M7CEP2E796YMCYXEB31NCFHR","example","Create example.card objects only when the current TopoRealm graph enables the example fixture module.","https:\u002F\u002Fgithub.com\u002FLUKAWI\u002Ftoporealm\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fpackages\u002Fexample-module\u002Fskills\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7CEP12K3Y504FY10PQNAA50","skilled-demo","Skilled fixture 模块的演示技能（host sync 双宿主投影用）。","https:\u002F\u002Fgithub.com\u002FLUKAWI\u002Ftoporealm\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fmodules\u002Fskilled\u002Fskills\u002Fskilled-demo\u002FSKILL.md",[],[],{"skillNo":60,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M7CENYM0VRED7YDAW0WGH0CY","https:\u002F\u002Fgithub.com\u002FLUKAWI\u002Ftoporealm\u002Fblob\u002Fmain\u002Fplugins\u002Fdev-marketplace\u002Ftoporealm\u002Fskills\u002Ftoporealm\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7CENV9X164JTQ2GWJ3NQPZX","toporealm-ops","TopoRealm 图生命周期运维——模块安装卸载与损坏自愈（module add\u002Frm\u002Flist）、0.x 旧图迁移（migrate）、WebUI 启动（serve）、多图与专注图切换纪律、TOPOREALM_* 环境变量体系、daemon 排障（启动失败死因、空闲退出、socket\u002F命名管道）。当用户要装\u002F卸模块、迁旧图、起 WebUI、切图配环境变量，或 daemon 连不上\u002F启动失败\u002FWebUI 白屏时使用。Do not 讲日常读写图的动词用法（那是 toporealm 技能的事）；Do not 触及图内数据建模（那是 toporealm-design 技能的事）。","https:\u002F\u002Fgithub.com\u002FLUKAWI\u002Ftoporealm\u002Fblob\u002Fmain\u002Fplugins\u002Fdev-marketplace\u002Ftoporealm\u002Fskills\u002Ftoporealm-ops\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7CENRDRNXR1G994F6SMXXTS","toporealm-design","TopoRealm 图建模的机械原则——对象与关系怎么分、kind 粒度、payload 形状、id 策略与数据纪律。设计或评审图结构、决定一笔数据该 add 还是 link、规划 kind 与 payload、或遇到 UNKNOWN_KIND \u002F DANGLING_RELATION \u002F OWNERSHIP_VIOLATION 需要归因时使用。Do not 教任何业务方法论；Do not 替代 toporealm 技能的动词语法手册。","https:\u002F\u002Fgithub.com\u002FLUKAWI\u002Ftoporealm\u002Fblob\u002Fmain\u002Fplugins\u002Fdev-marketplace\u002Ftoporealm\u002Fskills\u002Ftoporealm-design\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M7CENMZ335MSARWNSGQ33SJ2","module-creator","TopoRealm 模块创建指南：从 modules-template 模板起步创建一个新模块——命名规则、module.yaml 声明层、activate 可注册面（命令\u002F钩子\u002F表单）、自包含构建、安装与验证。当用户要求创建 TopoRealm 模块\u002F插件、脚手架模块，或询问模块结构时使用。","https:\u002F\u002Fgithub.com\u002FLUKAWI\u002Ftoporealm\u002Fblob\u002Fmain\u002Fplugins\u002Fdev-marketplace\u002Ftoporealm\u002Fskills\u002Fmodule-creator\u002FSKILL.md",[],[]]