[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DJM8CMSXXC6JFCYZ28FJF2":3,"skill-same:01M6DJM8CMSXXC6JFCYZ28FJF2":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":24,"linkOnly":25,"markdownContent":26,"markdownBody":27,"frontMatter":28,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M6DJM8CMSXXC6JFCYZ28FJF2","opengeolab-commands",null,"OpenGeoLab 命令协议与完整 action 参数参考；先 describe_action 再 execute_action，涵盖 geometry mesh scene 三大模块","HATTER-LONG\u002FOpenGeoLab","HATTER-LONG","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F31438141?v=4","01M6DJKYBT07BT5RXA143RV4PZ","Layton","01M6DJKYFSP4TF6WRMYHT9WVKX",3,"GPL-3.0","https:\u002F\u002Fgithub.com\u002FHATTER-LONG\u002FOpenGeoLab\u002Fblob\u002Fmain\u002Fplugins\u002Fai_chat_plugin\u002Fprompts\u002Fopengeolab-commands\u002FSKILL.md",[],[19,20,21,22,23],"commands","opengeolab commands","mesh","execute","geometry","2026-11-10 10:12:30",false,"---\nname: opengeolab-commands\ndescription: OpenGeoLab 命令协议与完整 action 参数参考；先 describe_action 再 execute_action，涵盖 geometry mesh scene 三大模块\n---\n\n# OpenGeoLab 命令协议\n\n## 执行铁律（每次都要遵守）\n\n1. 先确定目标 action\n2. 必须先调用 `describe_action(module_name, action_name)` 获取当前 schema\n3. 参数名、类型、必填严格按 schema 构造\n4. 调用 `execute_action(module, action, params)`\n5. 若 `ok: false`：读取 `summary`\u002F`error`，修正后重试\n6. 任务末尾统一用 `capture_viewport` 做二次验收\n\n## 模块名称（必须严格匹配，区分大小写）\n\n| 模块名 | 用途 |\n|--------|------|\n| `geometry` | 几何体创建、导入、查询、删除 |\n| `mesh` | 网格生成与查询 |\n| `scene` | 场景状态管理（选择、相机、标签、可见性） |\n\n⚠️ **仅这 3 个模块名有效**。`opengeolab`、`cad`、`io`、`opengeolab-commands` 等均不是模块名。\n\n## ID 体系（关键！）\n\n| 概念 | 说明 | 起始值 |\n|------|------|--------|\n| **shapeId** | 顶层形状标识符（由 create_box 等返回） | **0** |\n| **localId** | 子形状在该类型内的编号 | **1**（不是 0！） |\n| **EntityType** | 实体类型 | 见下方实体类型表 |\n\n## 参数名易错点（重点）\n\n实体 3 元组概念一致（shapeId + 类型 + localId），但字段名不统一：\n\n| 使用场景 | 实体类型字段名 |\n|----------|----------------|\n| `select` \u002F `deselect` \u002F `query_selection` \u002F `set_hover` | `type` |\n| `add_label` \u002F `remove_label` \u002F `describe_labels` | `entityType` |\n| `generate_mesh` \u002F `query_mesh_info` 的 entities | `type` |\n\n有效的实体类型值（`type` 和 `entityType` 通用）：\n\n| 类别 | 值 |\n|------|-----|\n| 几何拓扑 | `GeoVertex`、`GeoEdge`、`GeoWire`、`GeoFace`、`GeoSolid` |\n| 网格 | `MeshNode`、`MeshEdge`、`MeshElement` |\n\n⚠️ **实体类型必须精确匹配**：从 `query_selection` 返回的 `type` 值原样传给 `select` \u002F `deselect`，不要猜测或转换。\n\n字段映射速查：\n\n```json\n{\n\t\"selectionEntity\": {\"shapeId\": 0, \"type\": \"GeoFace\", \"localId\": 3},\n\t\"labelEntity\": {\"shapeId\": 0, \"entityType\": \"GeoFace\", \"localId\": 3},\n\t\"meshEntity\": {\"shapeId\": 0, \"type\": \"GeoFace\", \"localId\": 1}\n}\n```\n\n## 响应格式\n\n- 成功：`{\"ok\": true, \"action\": \"xxx\", ...}`\n- 失败：`{\"ok\": false, \"action\": \"xxx\", \"summary\": \"错误描述\", \"error\": \"traceback\"}`\n\n---\n\n## geometry 模块 (11 actions)\n\n### 创建几何体（4 个）\n\n所有创建 action 共享以下可选参数：\n\n| 参数 | 类型 | 默认值 | 说明 |\n|------|------|--------|------|\n| `name` | string | 按类型生成 | 形状名称 |\n| `tessellate` | boolean | true | 创建后自动三角化 |\n| `linearDeflection` | number | 0.1 | 三角化线性偏差 |\n| `angularDeflection` | number | 0.5 | 三角化角度偏差 |\n\n返回：`{ok, action, shapeId, name, topology: {solids, faces, edges, vertices, wires}}`\n\n| Action | 描述 | 专有参数（全部可选） |\n|--------|------|---------------------|\n| `create_box` | 创建长方体 | `width` (默认 1.0), `height` (默认 1.0), `depth` (默认 1.0), `origin` ([x,y,z] 默认 [0,0,0]) |\n| `create_cylinder` | 创建圆柱体 | `radius` (默认 0.5), `height` (默认 1.0), `origin` ([x,y,z] 默认 [0,0,0]) |\n| `create_sphere` | 创建球体 | `radius` (默认 1.0), **`center`** ([x,y,z] 默认 [0,0,0]) |\n| `create_torus` | 创建环面体 | `majorRadius` (默认 1.0), `minorRadius` (默认 0.25), `origin` ([x,y,z] 默认 [0,0,0]) |\n\n⚠️ sphere 使用 **`center`**，其余使用 `origin`。\n\n### 导入（2 个）\n\n| Action | 描述 | 必填参数 | 可选参数 |\n|--------|------|----------|----------|\n| `import_step` | 导入 STEP 文件 | **`path`** (string) | `name`, `tessellate`, `linearDeflection`, `angularDeflection` |\n| `import_brep` | 导入 BRep 文件 | **`path`** (string) | `name`, `tessellate`, `linearDeflection`, `angularDeflection` |\n\n⚠️ 参数名是 **`path`**，不是 `filePath`。\n\n返回：`{ok, action, shapeId, name, topology}`\n\n### 查询与管理（5 个）\n\n| Action | 描述 | 参数 | 关键返回 |\n|--------|------|------|----------|\n| `list_shapes` | 列出所有形状 | 无 | `{ok, count, shapes: [{shapeId, name, shapeType, hasTessellation, topology, boundingBox}]}` |\n| `query_shape` | 查询形状详情 | `shapeId` (**必填**) | `{ok, shapeId, name, topology, boundingBox: {min:[x,y,z], max:[x,y,z]}}` |\n| `list_sub_shapes` | 列出子形状 localId | `shapeId` (**必填**) | `{ok, shapeId, name, subShapes: {faces:[1,2,...], edges:[...], vertices:[...], solids:[...], wires:[...]}}` |\n| `tessellate` | 重新三角化 | `shapeId` (**必填**); 可选: `linearDeflection`, `angularDeflection` | `{ok, shapeId}` |\n| `delete_shape` | 删除形状 | `shapeId` (**必填**) | `{ok, shapeId}` |\n\n**典型流程：创建几何体 → 查子形状 → 生成网格**\n\n```\n1. execute_action(\"geometry\", \"create_box\", {\"width\":10, \"height\":10, \"depth\":10})  → shapeId: 0\n2. execute_action(\"geometry\", \"list_sub_shapes\", {\"shapeId\": 0})  → subShapes: {faces:[1,2,3,4,5,6], edges:[1..12], ...}\n3. execute_action(\"mesh\", \"generate_mesh\", {\"entities\":[{\"shapeId\":0, \"type\":\"GeoFace\", \"localId\":1}, ...], \"elementSize\":1.0})\n```\n\n⚠️ 禁止假设 localId！必须先用 `list_sub_shapes` 查询。\n\n---\n\n## mesh 模块 (3 actions)\n\n### generate_mesh\n\n从几何面\u002F实体生成网格（gmsh 引擎）。\n\n| 参数 | 类型 | 必填 | 默认 | 说明 |\n|------|------|------|------|------|\n| `entities` | array | **是** | — | `[{shapeId, type, localId}]`，type 限 `GeoFace` 或 `GeoSolid` |\n| `elementSize` | number | 否 | 1.0 | 目标单元尺寸 |\n| `dimension` | integer | 否 | 2 | 网格维度：2（表面）或 3（体积） |\n| `elementType` | string | 否 | `\"triangle\"` | `\"triangle\"` 或 `\"quad\"` |\n| `algorithm` | string | 否 | `\"delaunay\"` | 网格算法名称 |\n| `advanced` | object | 否 | — | `{minSize, maxSize, order, optimize}` |\n\n返回：`{ok, results: [{shapeId, nodeCount, elementCount}]}`\n\n### query_mesh_info\n\n查询网格节点\u002F边\u002F单元详情。\n\n| 参数 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `entities` | array | **是** | `[{shapeId, type, localId}]`，type 限 `MeshNode` \u002F `MeshEdge` \u002F `MeshElement` |\n\n⚠️ 参数是 **`entities`** 数组（**必填**），不是 `shapeId`。\n\n返回（按 type 不同）：\n- **MeshNode**：`{shapeId, type, localId, ok, position: [x,y,z]}`\n- **MeshElement**：`{shapeId, type, localId, ok, elementType: \"Triangle\"|\"Quad\"|..., nodeLocalIds: [...]}`\n- **MeshEdge**：`{shapeId, type, localId, ok, summary: \"Mesh edges are derived at render time only.\"}`\n\n### clear_mesh\n\n| 参数 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shapeId` | integer | 否 | 指定形状的网格；省略则清除全部 |\n\n返回：`{ok, cleared: \u003C数量>}`\n\n---\n\n## scene 模块 (20 actions)\n\n详见 **viewport-operations** skill 文档，包含完整参数表和任务模板。\n\n快速参考：\n\n| Action | 描述 | 关键参数 |\n|--------|------|----------|\n| `capture_viewport` | 捕获视口截图与元数据 | `width`, `height`, `captureImage`, `outputPath` |\n| `select` | 添加实体到选择集 | `entities[]`, `append` |\n| `deselect` | 移除选择 | `entities[]` |\n| `clear_selection` | 清空选择集 | 无 |\n| `query_selection` | 返回当前选中实体 | 无 |\n| `set_pick_mode` | 设置拾取模式和掩码 | `pickMask`, `enabled` |\n| `set_hover` | 设置悬停实体 | `entity` (可选对象，null 清除) |\n| `set_visibility` | 批量设置节点可见性 | `type` (\"geometry\"\u002F\"mesh\"\u002F\"node\"), `nodes[]` |\n| `list_nodes` | 查询所有场景节点 | 无 |\n| `fit_to_scene` | 相机适配场景 | 无 |\n| `set_view_preset` | 预设视角 | `preset`: Front\u002FBack\u002FTop\u002FBottom\u002FLeft\u002FRight\u002FIsometric |\n| `set_camera` | 设置相机位置 | `position[]`, `target[]`, `up[]` (各 [x,y,z]) |\n| `pick_area` | 框选（**异步**） | `x0`, `y0`, `x1`, `y1`, `coordType`, `pickAction` |\n| `new_model` | 重置工作区 | 无 |\n| `add_label` | 创建标签（文本自动生成） | `shapeId`, `entityType`, `localId` |\n| `remove_label` | 移除标签 | `shapeId`, `entityType`, `localId` |\n| `clear_labels` | 清除所有标签 | 无 |\n| `describe_labels` | 查询标签状态 | 无 |\n| `set_labels_visible` | 启用\u002F禁用标签渲染 | `visible` |\n| `set_auto_label` | 启用\u002F禁用自动标签 | `enabled` |\n\n⚠️ `pick_area` 为异步动作，返回 `async: true` 后要再调用 `query_selection` 获取最终选择结果。\n\n---\n\n## 参数约束\n\n- 参数名和类型必须与 `describe_action` 返回的 schema 完全匹配\n- `shapeId` 来自创建\u002F导入结果，禁止虚构\n- `localId` 是 **1-based**，禁止使用 0\n- 数值参数使用标准 JSON 数字格式\n- 文件路径使用绝对路径\n\n## 错误处理\n\n- `ok: false` 时：`summary` 包含简洁错误描述，`error` 包含详细 traceback\n- 出错时先 `describe_action` 重新检查参数 schema，再修正重试\n- 常见错误：参数名拼写错误（如 `filePath` 应为 `path`）、localId 从 0 开始、实体类型不匹配\n\n## 完成判定\n\n1. 核心业务 action 返回 `ok: true`\n2. 必要回查已完成：\n\t- 框选后做 `query_selection`\n\t- 网格后做 `query_mesh_info`（若任务目标包含网格）\n3. 最后一轮做 `capture_viewport`，确认视图状态与任务一致\n","# OpenGeoLab 命令协议\n\n## 执行铁律（每次都要遵守）\n\n1. 先确定目标 action\n2. 必须先调用 `describe_action(module_name, action_name)` 获取当前 schema\n3. 参数名、类型、必填严格按 schema 构造\n4. 调用 `execute_action(module, action, params)`\n5. 若 `ok: false`：读取 `summary`\u002F`error`，修正后重试\n6. 任务末尾统一用 `capture_viewport` 做二次验收\n\n## 模块名称（必须严格匹配，区分大小写）\n\n| 模块名 | 用途 |\n|--------|------|\n| `geometry` | 几何体创建、导入、查询、删除 |\n| `mesh` | 网格生成与查询 |\n| `scene` | 场景状态管理（选择、相机、标签、可见性） |\n\n⚠️ **仅这 3 个模块名有效**。`opengeolab`、`cad`、`io`、`opengeolab-commands` 等均不是模块名。\n\n## ID 体系（关键！）\n\n| 概念 | 说明 | 起始值 |\n|------|------|--------|\n| **shapeId** | 顶层形状标识符（由 create_box 等返回） | **0** |\n| **localId** | 子形状在该类型内的编号 | **1**（不是 0！） |\n| **EntityType** | 实体类型 | 见下方实体类型表 |\n\n## 参数名易错点（重点）\n\n实体 3 元组概念一致（shapeId + 类型 + localId），但字段名不统一：\n\n| 使用场景 | 实体类型字段名 |\n|----------|----------------|\n| `select` \u002F `deselect` \u002F `query_selection` \u002F `set_hover` | `type` |\n| `add_label` \u002F `remove_label` \u002F `describe_labels` | `entityType` |\n| `generate_mesh` \u002F `query_mesh_info` 的 entities | `type` |\n\n有效的实体类型值（`type` 和 `entityType` 通用）：\n\n| 类别 | 值 |\n|------|-----|\n| 几何拓扑 | `GeoVertex`、`GeoEdge`、`GeoWire`、`GeoFace`、`GeoSolid` |\n| 网格 | `MeshNode`、`MeshEdge`、`MeshElement` |\n\n⚠️ **实体类型必须精确匹配**：从 `query_selection` 返回的 `type` 值原样传给 `select` \u002F `deselect`，不要猜测或转换。\n\n字段映射速查：\n\n```json\n{\n\t\"selectionEntity\": {\"shapeId\": 0, \"type\": \"GeoFace\", \"localId\": 3},\n\t\"labelEntity\": {\"shapeId\": 0, \"entityType\": \"GeoFace\", \"localId\": 3},\n\t\"meshEntity\": {\"shapeId\": 0, \"type\": \"GeoFace\", \"localId\": 1}\n}\n```\n\n## 响应格式\n\n- 成功：`{\"ok\": true, \"action\": \"xxx\", ...}`\n- 失败：`{\"ok\": false, \"action\": \"xxx\", \"summary\": \"错误描述\", \"error\": \"traceback\"}`\n\n---\n\n## geometry 模块 (11 actions)\n\n### 创建几何体（4 个）\n\n所有创建 action 共享以下可选参数：\n\n| 参数 | 类型 | 默认值 | 说明 |\n|------|------|--------|------|\n| `name` | string | 按类型生成 | 形状名称 |\n| `tessellate` | boolean | true | 创建后自动三角化 |\n| `linearDeflection` | number | 0.1 | 三角化线性偏差 |\n| `angularDeflection` | number | 0.5 | 三角化角度偏差 |\n\n返回：`{ok, action, shapeId, name, topology: {solids, faces, edges, vertices, wires}}`\n\n| Action | 描述 | 专有参数（全部可选） |\n|--------|------|---------------------|\n| `create_box` | 创建长方体 | `width` (默认 1.0), `height` (默认 1.0), `depth` (默认 1.0), `origin` ([x,y,z] 默认 [0,0,0]) |\n| `create_cylinder` | 创建圆柱体 | `radius` (默认 0.5), `height` (默认 1.0), `origin` ([x,y,z] 默认 [0,0,0]) |\n| `create_sphere` | 创建球体 | `radius` (默认 1.0), **`center`** ([x,y,z] 默认 [0,0,0]) |\n| `create_torus` | 创建环面体 | `majorRadius` (默认 1.0), `minorRadius` (默认 0.25), `origin` ([x,y,z] 默认 [0,0,0]) |\n\n⚠️ sphere 使用 **`center`**，其余使用 `origin`。\n\n### 导入（2 个）\n\n| Action | 描述 | 必填参数 | 可选参数 |\n|--------|------|----------|----------|\n| `import_step` | 导入 STEP 文件 | **`path`** (string) | `name`, `tessellate`, `linearDeflection`, `angularDeflection` |\n| `import_brep` | 导入 BRep 文件 | **`path`** (string) | `name`, `tessellate`, `linearDeflection`, `angularDeflection` |\n\n⚠️ 参数名是 **`path`**，不是 `filePath`。\n\n返回：`{ok, action, shapeId, name, topology}`\n\n### 查询与管理（5 个）\n\n| Action | 描述 | 参数 | 关键返回 |\n|--------|------|------|----------|\n| `list_shapes` | 列出所有形状 | 无 | `{ok, count, shapes: [{shapeId, name, shapeType, hasTessellation, topology, boundingBox}]}` |\n| `query_shape` | 查询形状详情 | `shapeId` (**必填**) | `{ok, shapeId, name, topology, boundingBox: {min:[x,y,z], max:[x,y,z]}}` |\n| `list_sub_shapes` | 列出子形状 localId | `shapeId` (**必填**) | `{ok, shapeId, name, subShapes: {faces:[1,2,...], edges:[...], vertices:[...], solids:[...], wires:[...]}}` |\n| `tessellate` | 重新三角化 | `shapeId` (**必填**); 可选: `linearDeflection`, `angularDeflection` | `{ok, shapeId}` |\n| `delete_shape` | 删除形状 | `shapeId` (**必填**) | `{ok, shapeId}` |\n\n**典型流程：创建几何体 → 查子形状 → 生成网格**\n\n```\n1. execute_action(\"geometry\", \"create_box\", {\"width\":10, \"height\":10, \"depth\":10})  → shapeId: 0\n2. execute_action(\"geometry\", \"list_sub_shapes\", {\"shapeId\": 0})  → subShapes: {faces:[1,2,3,4,5,6], edges:[1..12], ...}\n3. execute_action(\"mesh\", \"generate_mesh\", {\"entities\":[{\"shapeId\":0, \"type\":\"GeoFace\", \"localId\":1}, ...], \"elementSize\":1.0})\n```\n\n⚠️ 禁止假设 localId！必须先用 `list_sub_shapes` 查询。\n\n---\n\n## mesh 模块 (3 actions)\n\n### generate_mesh\n\n从几何面\u002F实体生成网格（gmsh 引擎）。\n\n| 参数 | 类型 | 必填 | 默认 | 说明 |\n|------|------|------|------|------|\n| `entities` | array | **是** | — | `[{shapeId, type, localId}]`，type 限 `GeoFace` 或 `GeoSolid` |\n| `elementSize` | number | 否 | 1.0 | 目标单元尺寸 |\n| `dimension` | integer | 否 | 2 | 网格维度：2（表面）或 3（体积） |\n| `elementType` | string | 否 | `\"triangle\"` | `\"triangle\"` 或 `\"quad\"` |\n| `algorithm` | string | 否 | `\"delaunay\"` | 网格算法名称 |\n| `advanced` | object | 否 | — | `{minSize, maxSize, order, optimize}` |\n\n返回：`{ok, results: [{shapeId, nodeCount, elementCount}]}`\n\n### query_mesh_info\n\n查询网格节点\u002F边\u002F单元详情。\n\n| 参数 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `entities` | array | **是** | `[{shapeId, type, localId}]`，type 限 `MeshNode` \u002F `MeshEdge` \u002F `MeshElement` |\n\n⚠️ 参数是 **`entities`** 数组（**必填**），不是 `shapeId`。\n\n返回（按 type 不同）：\n- **MeshNode**：`{shapeId, type, localId, ok, position: [x,y,z]}`\n- **MeshElement**：`{shapeId, type, localId, ok, elementType: \"Triangle\"|\"Quad\"|..., nodeLocalIds: [...]}`\n- **MeshEdge**：`{shapeId, type, localId, ok, summary: \"Mesh edges are derived at render time only.\"}`\n\n### clear_mesh\n\n| 参数 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shapeId` | integer | 否 | 指定形状的网格；省略则清除全部 |\n\n返回：`{ok, cleared: \u003C数量>}`\n\n---\n\n## scene 模块 (20 actions)\n\n详见 **viewport-operations** skill 文档，包含完整参数表和任务模板。\n\n快速参考：\n\n| Action | 描述 | 关键参数 |\n|--------|------|----------|\n| `capture_viewport` | 捕获视口截图与元数据 | `width`, `height`, `captureImage`, `outputPath` |\n| `select` | 添加实体到选择集 | `entities[]`, `append` |\n| `deselect` | 移除选择 | `entities[]` |\n| `clear_selection` | 清空选择集 | 无 |\n| `query_selection` | 返回当前选中实体 | 无 |\n| `set_pick_mode` | 设置拾取模式和掩码 | `pickMask`, `enabled` |\n| `set_hover` | 设置悬停实体 | `entity` (可选对象，null 清除) |\n| `set_visibility` | 批量设置节点可见性 | `type` (\"geometry\"\u002F\"mesh\"\u002F\"node\"), `nodes[]` |\n| `list_nodes` | 查询所有场景节点 | 无 |\n| `fit_to_scene` | 相机适配场景 | 无 |\n| `set_view_preset` | 预设视角 | `preset`: Front\u002FBack\u002FTop\u002FBottom\u002FLeft\u002FRight\u002FIsometric |\n| `set_camera` | 设置相机位置 | `position[]`, `target[]`, `up[]` (各 [x,y,z]) |\n| `pick_area` | 框选（**异步**） | `x0`, `y0`, `x1`, `y1`, `coordType`, `pickAction` |\n| `new_model` | 重置工作区 | 无 |\n| `add_label` | 创建标签（文本自动生成） | `shapeId`, `entityType`, `localId` |\n| `remove_label` | 移除标签 | `shapeId`, `entityType`, `localId` |\n| `clear_labels` | 清除所有标签 | 无 |\n| `describe_labels` | 查询标签状态 | 无 |\n| `set_labels_visible` | 启用\u002F禁用标签渲染 | `visible` |\n| `set_auto_label` | 启用\u002F禁用自动标签 | `enabled` |\n\n⚠️ `pick_area` 为异步动作，返回 `async: true` 后要再调用 `query_selection` 获取最终选择结果。\n\n---\n\n## 参数约束\n\n- 参数名和类型必须与 `describe_action` 返回的 schema 完全匹配\n- `shapeId` 来自创建\u002F导入结果，禁止虚构\n- `localId` 是 **1-based**，禁止使用 0\n- 数值参数使用标准 JSON 数字格式\n- 文件路径使用绝对路径\n\n## 错误处理\n\n- `ok: false` 时：`summary` 包含简洁错误描述，`error` 包含详细 traceback\n- 出错时先 `describe_action` 重新检查参数 schema，再修正重试\n- 常见错误：参数名拼写错误（如 `filePath` 应为 `path`）、localId 从 0 开始、实体类型不匹配\n\n## 完成判定\n\n1. 核心业务 action 返回 `ok: true`\n2. 必要回查已完成：\n\t- 框选后做 `query_selection`\n\t- 网格后做 `query_mesh_info`（若任务目标包含网格）\n3. 最后一轮做 `capture_viewport`，确认视图状态与任务一致\n",{"name":5,"description":7},"main","af9eb983789f2ca07f2ed05de89230334ca3cf9b","plugins\u002Fai_chat_plugin\u002Fprompts\u002Fopengeolab-commands",1,"https:\u002F\u002Fgithub.com\u002FHATTER-LONG\u002FOpenGeoLab","https:\u002F\u002Fgithub.com\u002FHATTER-LONG","2026-08-19 16:11:13",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add HATTER-LONG\u002FOpenGeoLab --skill opengeolab-commands",{"tool":42,"command":43},"bunx","bunx skills add HATTER-LONG\u002FOpenGeoLab --skill opengeolab-commands",{"tool":45,"command":46},"pnpm","pnpm dlx skills add HATTER-LONG\u002FOpenGeoLab --skill opengeolab-commands","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHATTER-LONG\u002FOpenGeoLab\u002Fblob\u002Fmain\u002Fplugins\u002Fai_chat_plugin\u002Fprompts\u002Fopengeolab-commands\u002FSKILL.md",true,[],[51,67,72],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":24},"01M6DJMNNFVCY0V3DEZKSX9B65","viewport-operations","OpenGeoLab 3D 视口操作完整参考：capture_viewport, camera, selection, labels, visibility, pick_area; enforce describe_action then execute_action with exact schema","https:\u002F\u002Fgithub.com\u002FHATTER-LONG\u002FOpenGeoLab\u002Fblob\u002Fmain\u002Fplugins\u002Fai_chat_plugin\u002Fprompts\u002Fviewport-operations\u002FSKILL.md",[],[58,59,60,61,62,63,64,22,65,66],"viewport operations","operations","3D","enforce","selection","camera","schema","capture","pick",{"skillNo":68,"name":53,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":24},"01M6DJM6846KAFPN1G18S3RY2Y","https:\u002F\u002Fgithub.com\u002FHATTER-LONG\u002FOpenGeoLab\u002Fblob\u002Fmain\u002Fdocs\u002Fsuperpowers\u002Fskills\u002Fviewport-operations\u002FSKILL.md",[],[59,58],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":24},"01M6DJM3DHWT8TWPAV85N8SZCZ","action-remote-call","需要通过 HTTP 控制 OpenGeoLab 时使用 — 创建几何体、截取视窗、控制相机、管理选择、生成网格，或通过 REST API 远程调用任意 Action","https:\u002F\u002Fgithub.com\u002FHATTER-LONG\u002FOpenGeoLab\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Faction-remote-call\u002FSKILL.md",[],[79,80,81,82,83,84,85],"call","action remote call","http","rest api","生成","api","REST"]