[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M758GFJJPPEQ8QJW7HVWA042":3,"skill-same:01M758GFJJPPEQ8QJW7HVWA042":122},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M758GFJJPPEQ8QJW7HVWA042","loongsuite-pilot-ops",null,"安装、卸载 LoongSuite Pilot（面向研发团队的 AI Coding 数据采集工具， 支持 Cursor \u002F Qoder \u002F Claude Code \u002F Codex）。当用户提到 loongsuite-pilot 安装、 pilot 部署、Node.js 前置条件、nvm 配置、Linux 7U glibc 补丁、SSH 远程安装、 新增或追加 SLS flusher、自定义 SLS\u002FWebTracking 上报配置时， 务必使用本 Skill——即使用户只问“怎么装”也应触发。安装完成后可在 ~\u002F.loongsuite-pilot\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002F 目录下找到诊断排查与观测面板的详细参考文档。","alibaba\u002Floongsuite-pilot","alibaba","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1961952?v=4","01M724428NXM34583QHARKE9XC","Alibaba","01M758FHA3DTJTFEW8NNHBBYNG",253,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: loongsuite-pilot-ops\nversion: 0.6.1\ndescription: >-\n  安装、卸载 LoongSuite Pilot（面向研发团队的 AI Coding 数据采集工具，\n  支持 Cursor \u002F Qoder \u002F Claude Code \u002F Codex）。当用户提到 loongsuite-pilot 安装、\n  pilot 部署、Node.js 前置条件、nvm 配置、Linux 7U glibc 补丁、SSH 远程安装、\n  新增或追加 SLS flusher、自定义 SLS\u002FWebTracking 上报配置时，\n  务必使用本 Skill——即使用户只问“怎么装”也应触发。安装完成后可在\n  ~\u002F.loongsuite-pilot\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002F 目录下找到诊断排查与观测面板的详细参考文档。\n---\n\n# LoongSuite Pilot — 安装 \u002F 配置 \u002F 卸载\n\nLoongSuite Pilot 是面向研发团队的 AI Coding 数据采集与效能评估工具，支持\nCursor、Qoder IDE\u002FCLI、Claude Code、Codex 的数据自动采集与上报。\n\n> 诊断排查请查阅 `~\u002F.loongsuite-pilot\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fdiagnostics.md`；\n> 观测面板与运维手册请查阅 `~\u002F.loongsuite-pilot\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fmonitoring.md`。\n> 以上两个文件在 pilot 安装完成后自动写入本地，可直接打开阅读。\n\n## 重要说明\n\n> **所有命令必须在完整权限环境下执行**（Shell 工具调用时设置 `required_permissions: [\"all\"]`）。\n> 沙箱环境下 `nvm`、`sudo` 及 PID 读取会受限，导致安装或诊断结果不可信。\n\n---\n\n## 1. 前置条件\n\n- Node.js 必须能加载 `node:sqlite`（22.13+、23.4+ 或更新版本），**必须通过 nvm 安装并使用 nvm 管理的 Node**（安装 `nvm install 22`，托管运行时为 22.22）\n- 支持 **Mac** \u002F **Linux 8U 开发机** \u002F **Linux ECS**（Linux 需 `sudo` 权限）\n- **Linux 7U 开发机**：需额外执行 glibc 兼容补丁（见第 5 节）\n\n> ⚠️ **务必使用 nvm 的 Node，不要使用任何 Agent 自带的 Node 环境**\n>\n> 部分 AI Coding Agent（例如 **Codex**、以及其他自带运行时的 CLI 工具）会在安装时\n> 内置一份 Node，并可能把 `node` 指向其私有目录（例如 `~\u002F.codex\u002F...` 或 Agent\n> 自身安装目录下的版本）。这类 Node **仅供该 Agent 内部使用**，用它安装 pilot\n> 会导致依赖错乱、hook 失效等问题。安装前务必确认：\n>\n> ```bash\n> which node    # 路径应包含 .nvm，例如 ~\u002F.nvm\u002Fversions\u002Fnode\u002Fv22.x.x\u002Fbin\u002Fnode\n> node -v       # 输出应 >= v22.13.0（或 23.4+ \u002F 24+），以便加载 node:sqlite\n> ```\n>\n> 若 `which node` 指向任一 Agent 的私有目录（如 `~\u002F.codex\u002F`、Agent 安装目录等），\n> 请先执行 `nvm use 22`（或在新终端中确认 `nvm` 已加载）后再继续安装。\n\n---\n\n## 2. 安装\n\n执行以下两步完成标准安装（Mac \u002F Linux 8U \u002F ECS）：\n\n```bash\n# 步骤一：安装 nvm + Node.js（已有可加载 node:sqlite 的 node，即 22.13+ \u002F 23.4+，可跳过）\ncurl -o- https:\u002F\u002Fraw.githubusercontent.com\u002Fnvm-sh\u002Fnvm\u002Fv0.39.7\u002Finstall.sh | bash\nnvm install 22\n\n# 步骤二：安装 LoongSuite Pilot（将 \u003C工号> 替换为 6 位员工号，含前导 0）\ncurl -fsSL https:\u002F\u002Faliyun-observability-release-cn-shanghai.oss-cn-shanghai.aliyuncs.com\u002Floongsuite\u002Floongsuite-pilot\u002Floongsuite-pilot-installer-inner.sh \\\n  | bash -s -- install --user.id \u003C工号>\n```\n\n安装成功后验证：\n\n```bash\n~\u002F.local\u002Fbin\u002Floongsuite-pilot status\n~\u002F.local\u002Fbin\u002Floongsuite-pilot info\n# diagnostics 与 monitoring 参考文档已自动写入 loongsuite-pilot-ops\u002Freferences\u002F\nls -l ~\u002F.loongsuite-pilot\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002F\n```\n\n---\n\n## 3. 自定义 Logstore（可选）\n\n安装时或安装完成后，询问用户是否需要使用自定义 Logstore 上报数据。\n\n- 如果用户**不需要**自定义 Logstore，跳过本节，使用默认配置即可。\n- 如果用户**需要**自定义 Logstore，先询问用户选择哪种访问方式，然后按对应流程操作：\n\n询问用户：**是否使用 AK\u002FSK 进行访问？**\n\n- **方式一：使用 AK\u002FSK 上报访问 Logstore**（需要提供 AK\u002FSK 凭证）\n- **方式二：使用 WebTracking 匿名上报**（需要在 Logstore 上开启 WebTracking）\n\n如果用户提供的是 `region + project + logstore`，安装脚本没有 `--sls-region` 参数，需要先把\n`region` 转成 `--sls-endpoint`：\n\n```bash\n--sls-endpoint \"https:\u002F\u002F{region}.log.aliyuncs.com\"\n```\n\n例如 `region=cn-hangzhou` 时，endpoint 是 `https:\u002F\u002Fcn-hangzhou.log.aliyuncs.com`。\n不要再使用 `--default-sls-override=false`，当前安装脚本会直接拒绝该参数。\n\n---\n\n### 方式一：使用 AK\u002FSK 上报访问 Logstore\n\n> ⚠️ **安全警告：以下命令包含 AK\u002FSK 敏感信息，禁止发送给 Agent！**\n>\n> 请用户**自行复制**下方命令模板，**手动填入** AK\u002FSK 等敏感参数后，\n> **在自己的终端中直接执行**。切勿将填写好的命令粘贴回对话窗口或发送给任何 Agent，\n> 以防 AK\u002FSK 泄露。\n\n请将以下命令模板展示给用户，让用户自行填写并执行：\n\n```bash\ncurl -fsSL https:\u002F\u002Faliyun-observability-release-cn-shanghai.oss-cn-shanghai.aliyuncs.com\u002Floongsuite\u002Floongsuite-pilot\u002Floongsuite-pilot-installer-inner.sh | bash -s -- install \\\n  --user.id={替换成你的工号，6位数字，如012345} \\\n  --sls-endpoint \"{endpoint链接，如https:\u002F\u002Fcn-hangzhou.log.aliyuncs.com}\" \\\n  --sls-project \"{project名字}\" \\\n  --sls-logstore \"{logstore名字}\" \\\n  --sls-ak-id \"{logstore ak}\" \\\n  --sls-ak-secret \"{logstore secret}\"\n```\n\n**Agent 操作规范：**\n1. 将上述命令模板**原样展示**给用户\n2. 提醒用户将各占位符替换为实际值\n3. **绝对不要**代替用户执行此命令\n4. **绝对不要**要求用户将填好的命令发回给 Agent\n5. 告知用户在终端执行完毕后，可以回来继续后续验证步骤\n\n---\n\n### 方式二：使用 WebTracking 匿名上报\n\n将 Logstore 设置为 WebTracking Enabled（开启匿名上报），无需提供 AK\u002FSK。\n\n如果用户已经明确选择 WebTracking，并提供了 `user.id`、`region`\u002F`endpoint`、`project`、\n`logstore`，Agent 可以将占位符替换为实际值后代替用户执行安装命令；如果信息不完整，\n再将以下命令模板展示给用户，让用户补齐：\n\n```bash\ncurl -fsSL https:\u002F\u002Faliyun-observability-release-cn-shanghai.oss-cn-shanghai.aliyuncs.com\u002Floongsuite\u002Floongsuite-pilot\u002Floongsuite-pilot-installer-inner.sh | bash -s -- install \\\n  --user.id={替换成你的工号，6位数字，如012345} \\\n  --sls-endpoint \"{endpoint链接，如https:\u002F\u002Fcn-hangzhou.log.aliyuncs.com}\" \\\n  --sls-project \"{project名字}\" \\\n  --sls-logstore \"{logstore名字}\"\n```\n\n**Agent 操作规范：**\n1. 先确认用户明确选择的是 WebTracking 匿名上报，不涉及 AK\u002FSK\n2. 如果用户提供的是 `region + project + logstore`，先按上文转换出 `--sls-endpoint`\n3. 执行前确认当前 `node` 来自 `nvm`，且 `node -e \"require('node:sqlite')\"` 成功（22.13+ 或 23.4+）；否则先切换到 `nvm use 22`\n4. 信息完整时，Agent **可以代替用户执行此命令**，并在安装后继续执行 `status` \u002F `info` 验证\n5. 提醒用户需要**提前在 SLS 控制台将对应 Logstore 开启 WebTracking**；如果安装或上报验证失败，优先提示检查 WebTracking 是否已开启\n\n---\n\n## 4. 添加一个新的 SLS flusher\n\n当用户说“新增 SLS 上报”、“添加 SLS flusher”、“再加一个 logstore”、“配置发送采集数据到\nproject\u002Fregion\u002Flogstore，走 WebTracking”时，**不要重新安装 pilot**，直接修改用户的\n`~\u002F.loongsuite-pilot\u002Fconfig.json`。\n\n需要的信息：\n\n- `project`\n- `logstore`\n- `region` 或完整 `endpoint`\n- 访问方式。若用户明确说走 WebTracking，则不需要 AK\u002FSK\n\n如果用户提供的是 `region + project + logstore`，先转换：\n\n```bash\nendpoint=\"https:\u002F\u002F{region}.log.aliyuncs.com\"\n```\n\n例如 `region=cn-heyuan` 时，endpoint 是 `https:\u002F\u002Fcn-heyuan.log.aliyuncs.com`。\n\n### 修改规则\n\n只修改 `config.json` 的 `sls` 字段，保留 `enabled`、`dataDir`、`userId`、`autoUpdate`、\n`installId` 等其他字段。\n\n- 如果 `sls` 不存在、为 `null`、为空对象 `{}` 或空数组 `[]`，设置成单个对象：\n\n```json\n{\n  \"endpoint\": \"https:\u002F\u002Fcn-heyuan.log.aliyuncs.com\",\n  \"project\": \"ai-coding-devops\",\n  \"logstore\": \"loongsuite-pilot-for-intern-contest2\"\n}\n```\n\n- 如果 `sls` 已经是对象，改成数组，并把旧对象和新对象都放进去：\n\n```json\n\"sls\": [\n  {\n    \"endpoint\": \"https:\u002F\u002Fcn-heyuan.log.aliyuncs.com\",\n    \"project\": \"ai-coding-devops\",\n    \"logstore\": \"loongsuite-pilot-for-internl-contest\"\n  },\n  {\n    \"endpoint\": \"https:\u002F\u002Fcn-heyuan.log.aliyuncs.com\",\n    \"project\": \"ai-coding-devops\",\n    \"logstore\": \"loongsuite-pilot-for-intern-contest2\"\n  }\n]\n```\n\n- 如果 `sls` 已经是数组，向数组追加新对象；如果完全相同的 `endpoint + project + logstore`\n  已存在，不要重复追加，直接告诉用户已存在。\n\nWebTracking 模式不要写入 AK\u002FSK。通常只写 `endpoint`、`project`、`logstore` 即可，pilot\n会按默认 WebTracking 处理。\n\n### 推荐执行方式\n\n用结构化 JSON 修改，不要用字符串替换。执行前先备份：\n\n```bash\nCONFIG=\"$HOME\u002F.loongsuite-pilot\u002Fconfig.json\"\ncp \"$CONFIG\" \"$CONFIG.bak.$(date +%Y%m%d-%H%M%S)\"\n```\n\n然后将下面变量替换成用户提供的新 flusher 信息后执行：\n\n```bash\nCONFIG=\"$HOME\u002F.loongsuite-pilot\u002Fconfig.json\"\nNEW_ENDPOINT=\"https:\u002F\u002Fcn-heyuan.log.aliyuncs.com\"\nNEW_PROJECT=\"ai-coding-devops\"\nNEW_LOGSTORE=\"loongsuite-pilot-for-intern-contest2\"\n\npython3 - \"$CONFIG\" \"$NEW_ENDPOINT\" \"$NEW_PROJECT\" \"$NEW_LOGSTORE\" \u003C\u003C'PY'\nimport json\nimport pathlib\nimport sys\n\npath = pathlib.Path(sys.argv[1]).expanduser()\nnew_endpoint, new_project, new_logstore = sys.argv[2:5]\nnew_sls = {\n    \"endpoint\": new_endpoint,\n    \"project\": new_project,\n    \"logstore\": new_logstore,\n}\n\ncfg = json.loads(path.read_text())\nsls = cfg.get(\"sls\")\n\ndef is_empty(value):\n    return value is None or value == {} or value == []\n\ndef same_endpoint(value):\n    return (\n        isinstance(value, dict)\n        and value.get(\"endpoint\") == new_sls[\"endpoint\"]\n        and value.get(\"project\") == new_sls[\"project\"]\n        and value.get(\"logstore\") == new_sls[\"logstore\"]\n    )\n\nif is_empty(sls):\n    cfg[\"sls\"] = new_sls\nelif isinstance(sls, list):\n    if not any(same_endpoint(item) for item in sls):\n        sls.append(new_sls)\n    cfg[\"sls\"] = sls\nelif isinstance(sls, dict):\n    if same_endpoint(sls):\n        cfg[\"sls\"] = sls\n    else:\n        cfg[\"sls\"] = [sls, new_sls]\nelse:\n    raise SystemExit(f\"unsupported sls config type: {type(sls).__name__}\")\n\npath.write_text(json.dumps(cfg, ensure_ascii=False, indent=2) + \"\\n\")\nPY\n```\n\n修改后执行：\n\n```bash\npython3 -m json.tool ~\u002F.loongsuite-pilot\u002Fconfig.json\n```\n\n告知用户：配置已写入，但需要 restart 后生效。\n\n如果用户明确要求 restart，例如“完成后执行 restart”、“帮我重启生效”，继续执行：\n\n```bash\n~\u002F.local\u002Fbin\u002Floongsuite-pilot restart\n~\u002F.local\u002Fbin\u002Floongsuite-pilot status\n~\u002F.local\u002Fbin\u002Floongsuite-pilot info\n```\n\n如果用户没有明确要求 restart，只提醒用户稍后执行：\n\n```bash\n~\u002F.local\u002Fbin\u002Floongsuite-pilot restart\n```\n\n同时提醒：对应 Logstore 必须在 SLS 控制台开启 WebTracking，否则上报会失败。\n\n---\n\n## 5. Linux 7U 补丁（glibc 兼容）\n\n> **仅限 Linux 7U 开发机**。其他环境跳过本节，直接执行第 2 节。\n\n用以下步骤替代第 2 节的\"步骤一\"，再执行第 2 节的\"步骤二\"：\n\n```bash\n# 安装 nvm + Node.js\ncurl -o- https:\u002F\u002Fraw.githubusercontent.com\u002Fnvm-sh\u002Fnvm\u002Fv0.39.7\u002Finstall.sh | bash\nnvm install 22\n\n# 打 glibc 补丁（补丁前 node -v 会报 glibc 版本错误）\ncurl -o- https:\u002F\u002Faliyun-observability-release-cn-shanghai.oss-cn-shanghai.aliyuncs.com\u002Floongsuite\u002Floongsuite-pilot\u002Fpatchelf_node_for_7u.sh | bash\n\nnode -v    # 补丁成功后正常输出版本号，再执行步骤二\n```\n\n---\n\n## 6. SSH 远程开发场景\n\n通过 Cursor \u002F Qoder SSH 连接远程开发机时：\n\n1. Pilot **必须安装在远程开发机**（本地 Mac 端无需安装）\n2. 远程机上按第 2 节或第 4 节的流程执行安装\n3. Hook 随 Cursor\u002FQoder Remote Server 在远端自动生效\n\n---\n\n## 7. 卸载\n\n```bash\n# 保留日志与配置（~\u002F.loongsuite-pilot\u002Flogs、config.json）\ncurl -fsSL https:\u002F\u002Faliyun-observability-release-cn-shanghai.oss-cn-shanghai.aliyuncs.com\u002Floongsuite\u002Floongsuite-pilot\u002Floongsuite-pilot-installer-inner.sh \\\n  | bash -s -- uninstall\n\n# 彻底清理（连同数据目录，不可恢复）\ncurl -fsSL https:\u002F\u002Faliyun-observability-release-cn-shanghai.oss-cn-shanghai.aliyuncs.com\u002Floongsuite\u002Floongsuite-pilot\u002Floongsuite-pilot-installer-inner.sh \\\n  | bash -s -- uninstall --purge\n```\n\n卸载脚本会自动清理 `loongsuite-pilot-ops\u002Freferences\u002F` 下的符号链接；本 `SKILL.md` 由用户手动维护，不受卸载影响。\n\n---\n\n## 8. 安装后的参考文档\n\npilot 安装成功后，以下两个文档自动写入本地，可直接打开阅读：\n\n| 文件 | 内容 |\n|------|------|\n| `~\u002F.loongsuite-pilot\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fdiagnostics.md` | 5 步系统化诊断排查 + 常见问题速查 |\n| `~\u002F.loongsuite-pilot\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fmonitoring.md` | 默认本地 Dashboard 与 `metrics-summary.json` + 全面健康检查 + 强制重启 + 版本回滚 |\n","# LoongSuite Pilot — 安装 \u002F 配置 \u002F 卸载\n\nLoongSuite Pilot 是面向研发团队的 AI Coding 数据采集与效能评估工具，支持\nCursor、Qoder IDE\u002FCLI、Claude Code、Codex 的数据自动采集与上报。\n\n> 诊断排查请查阅 `~\u002F.loongsuite-pilot\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fdiagnostics.md`；\n> 观测面板与运维手册请查阅 `~\u002F.loongsuite-pilot\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fmonitoring.md`。\n> 以上两个文件在 pilot 安装完成后自动写入本地，可直接打开阅读。\n\n## 重要说明\n\n> **所有命令必须在完整权限环境下执行**（Shell 工具调用时设置 `required_permissions: [\"all\"]`）。\n> 沙箱环境下 `nvm`、`sudo` 及 PID 读取会受限，导致安装或诊断结果不可信。\n\n---\n\n## 1. 前置条件\n\n- Node.js 必须能加载 `node:sqlite`（22.13+、23.4+ 或更新版本），**必须通过 nvm 安装并使用 nvm 管理的 Node**（安装 `nvm install 22`，托管运行时为 22.22）\n- 支持 **Mac** \u002F **Linux 8U 开发机** \u002F **Linux ECS**（Linux 需 `sudo` 权限）\n- **Linux 7U 开发机**：需额外执行 glibc 兼容补丁（见第 5 节）\n\n> ⚠️ **务必使用 nvm 的 Node，不要使用任何 Agent 自带的 Node 环境**\n>\n> 部分 AI Coding Agent（例如 **Codex**、以及其他自带运行时的 CLI 工具）会在安装时\n> 内置一份 Node，并可能把 `node` 指向其私有目录（例如 `~\u002F.codex\u002F...` 或 Agent\n> 自身安装目录下的版本）。这类 Node **仅供该 Agent 内部使用**，用它安装 pilot\n> 会导致依赖错乱、hook 失效等问题。安装前务必确认：\n>\n> ```bash\n> which node    # 路径应包含 .nvm，例如 ~\u002F.nvm\u002Fversions\u002Fnode\u002Fv22.x.x\u002Fbin\u002Fnode\n> node -v       # 输出应 >= v22.13.0（或 23.4+ \u002F 24+），以便加载 node:sqlite\n> ```\n>\n> 若 `which node` 指向任一 Agent 的私有目录（如 `~\u002F.codex\u002F`、Agent 安装目录等），\n> 请先执行 `nvm use 22`（或在新终端中确认 `nvm` 已加载）后再继续安装。\n\n---\n\n## 2. 安装\n\n执行以下两步完成标准安装（Mac \u002F Linux 8U \u002F ECS）：\n\n```bash\n# 步骤一：安装 nvm + Node.js（已有可加载 node:sqlite 的 node，即 22.13+ \u002F 23.4+，可跳过）\ncurl -o- https:\u002F\u002Fraw.githubusercontent.com\u002Fnvm-sh\u002Fnvm\u002Fv0.39.7\u002Finstall.sh | bash\nnvm install 22\n\n# 步骤二：安装 LoongSuite Pilot（将 \u003C工号> 替换为 6 位员工号，含前导 0）\ncurl -fsSL https:\u002F\u002Faliyun-observability-release-cn-shanghai.oss-cn-shanghai.aliyuncs.com\u002Floongsuite\u002Floongsuite-pilot\u002Floongsuite-pilot-installer-inner.sh \\\n  | bash -s -- install --user.id \u003C工号>\n```\n\n安装成功后验证：\n\n```bash\n~\u002F.local\u002Fbin\u002Floongsuite-pilot status\n~\u002F.local\u002Fbin\u002Floongsuite-pilot info\n# diagnostics 与 monitoring 参考文档已自动写入 loongsuite-pilot-ops\u002Freferences\u002F\nls -l ~\u002F.loongsuite-pilot\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002F\n```\n\n---\n\n## 3. 自定义 Logstore（可选）\n\n安装时或安装完成后，询问用户是否需要使用自定义 Logstore 上报数据。\n\n- 如果用户**不需要**自定义 Logstore，跳过本节，使用默认配置即可。\n- 如果用户**需要**自定义 Logstore，先询问用户选择哪种访问方式，然后按对应流程操作：\n\n询问用户：**是否使用 AK\u002FSK 进行访问？**\n\n- **方式一：使用 AK\u002FSK 上报访问 Logstore**（需要提供 AK\u002FSK 凭证）\n- **方式二：使用 WebTracking 匿名上报**（需要在 Logstore 上开启 WebTracking）\n\n如果用户提供的是 `region + project + logstore`，安装脚本没有 `--sls-region` 参数，需要先把\n`region` 转成 `--sls-endpoint`：\n\n```bash\n--sls-endpoint \"https:\u002F\u002F{region}.log.aliyuncs.com\"\n```\n\n例如 `region=cn-hangzhou` 时，endpoint 是 `https:\u002F\u002Fcn-hangzhou.log.aliyuncs.com`。\n不要再使用 `--default-sls-override=false`，当前安装脚本会直接拒绝该参数。\n\n---\n\n### 方式一：使用 AK\u002FSK 上报访问 Logstore\n\n> ⚠️ **安全警告：以下命令包含 AK\u002FSK 敏感信息，禁止发送给 Agent！**\n>\n> 请用户**自行复制**下方命令模板，**手动填入** AK\u002FSK 等敏感参数后，\n> **在自己的终端中直接执行**。切勿将填写好的命令粘贴回对话窗口或发送给任何 Agent，\n> 以防 AK\u002FSK 泄露。\n\n请将以下命令模板展示给用户，让用户自行填写并执行：\n\n```bash\ncurl -fsSL https:\u002F\u002Faliyun-observability-release-cn-shanghai.oss-cn-shanghai.aliyuncs.com\u002Floongsuite\u002Floongsuite-pilot\u002Floongsuite-pilot-installer-inner.sh | bash -s -- install \\\n  --user.id={替换成你的工号，6位数字，如012345} \\\n  --sls-endpoint \"{endpoint链接，如https:\u002F\u002Fcn-hangzhou.log.aliyuncs.com}\" \\\n  --sls-project \"{project名字}\" \\\n  --sls-logstore \"{logstore名字}\" \\\n  --sls-ak-id \"{logstore ak}\" \\\n  --sls-ak-secret \"{logstore secret}\"\n```\n\n**Agent 操作规范：**\n1. 将上述命令模板**原样展示**给用户\n2. 提醒用户将各占位符替换为实际值\n3. **绝对不要**代替用户执行此命令\n4. **绝对不要**要求用户将填好的命令发回给 Agent\n5. 告知用户在终端执行完毕后，可以回来继续后续验证步骤\n\n---\n\n### 方式二：使用 WebTracking 匿名上报\n\n将 Logstore 设置为 WebTracking Enabled（开启匿名上报），无需提供 AK\u002FSK。\n\n如果用户已经明确选择 WebTracking，并提供了 `user.id`、`region`\u002F`endpoint`、`project`、\n`logstore`，Agent 可以将占位符替换为实际值后代替用户执行安装命令；如果信息不完整，\n再将以下命令模板展示给用户，让用户补齐：\n\n```bash\ncurl -fsSL https:\u002F\u002Faliyun-observability-release-cn-shanghai.oss-cn-shanghai.aliyuncs.com\u002Floongsuite\u002Floongsuite-pilot\u002Floongsuite-pilot-installer-inner.sh | bash -s -- install \\\n  --user.id={替换成你的工号，6位数字，如012345} \\\n  --sls-endpoint \"{endpoint链接，如https:\u002F\u002Fcn-hangzhou.log.aliyuncs.com}\" \\\n  --sls-project \"{project名字}\" \\\n  --sls-logstore \"{logstore名字}\"\n```\n\n**Agent 操作规范：**\n1. 先确认用户明确选择的是 WebTracking 匿名上报，不涉及 AK\u002FSK\n2. 如果用户提供的是 `region + project + logstore`，先按上文转换出 `--sls-endpoint`\n3. 执行前确认当前 `node` 来自 `nvm`，且 `node -e \"require('node:sqlite')\"` 成功（22.13+ 或 23.4+）；否则先切换到 `nvm use 22`\n4. 信息完整时，Agent **可以代替用户执行此命令**，并在安装后继续执行 `status` \u002F `info` 验证\n5. 提醒用户需要**提前在 SLS 控制台将对应 Logstore 开启 WebTracking**；如果安装或上报验证失败，优先提示检查 WebTracking 是否已开启\n\n---\n\n## 4. 添加一个新的 SLS flusher\n\n当用户说“新增 SLS 上报”、“添加 SLS flusher”、“再加一个 logstore”、“配置发送采集数据到\nproject\u002Fregion\u002Flogstore，走 WebTracking”时，**不要重新安装 pilot**，直接修改用户的\n`~\u002F.loongsuite-pilot\u002Fconfig.json`。\n\n需要的信息：\n\n- `project`\n- `logstore`\n- `region` 或完整 `endpoint`\n- 访问方式。若用户明确说走 WebTracking，则不需要 AK\u002FSK\n\n如果用户提供的是 `region + project + logstore`，先转换：\n\n```bash\nendpoint=\"https:\u002F\u002F{region}.log.aliyuncs.com\"\n```\n\n例如 `region=cn-heyuan` 时，endpoint 是 `https:\u002F\u002Fcn-heyuan.log.aliyuncs.com`。\n\n### 修改规则\n\n只修改 `config.json` 的 `sls` 字段，保留 `enabled`、`dataDir`、`userId`、`autoUpdate`、\n`installId` 等其他字段。\n\n- 如果 `sls` 不存在、为 `null`、为空对象 `{}` 或空数组 `[]`，设置成单个对象：\n\n```json\n{\n  \"endpoint\": \"https:\u002F\u002Fcn-heyuan.log.aliyuncs.com\",\n  \"project\": \"ai-coding-devops\",\n  \"logstore\": \"loongsuite-pilot-for-intern-contest2\"\n}\n```\n\n- 如果 `sls` 已经是对象，改成数组，并把旧对象和新对象都放进去：\n\n```json\n\"sls\": [\n  {\n    \"endpoint\": \"https:\u002F\u002Fcn-heyuan.log.aliyuncs.com\",\n    \"project\": \"ai-coding-devops\",\n    \"logstore\": \"loongsuite-pilot-for-internl-contest\"\n  },\n  {\n    \"endpoint\": \"https:\u002F\u002Fcn-heyuan.log.aliyuncs.com\",\n    \"project\": \"ai-coding-devops\",\n    \"logstore\": \"loongsuite-pilot-for-intern-contest2\"\n  }\n]\n```\n\n- 如果 `sls` 已经是数组，向数组追加新对象；如果完全相同的 `endpoint + project + logstore`\n  已存在，不要重复追加，直接告诉用户已存在。\n\nWebTracking 模式不要写入 AK\u002FSK。通常只写 `endpoint`、`project`、`logstore` 即可，pilot\n会按默认 WebTracking 处理。\n\n### 推荐执行方式\n\n用结构化 JSON 修改，不要用字符串替换。执行前先备份：\n\n```bash\nCONFIG=\"$HOME\u002F.loongsuite-pilot\u002Fconfig.json\"\ncp \"$CONFIG\" \"$CONFIG.bak.$(date +%Y%m%d-%H%M%S)\"\n```\n\n然后将下面变量替换成用户提供的新 flusher 信息后执行：\n\n```bash\nCONFIG=\"$HOME\u002F.loongsuite-pilot\u002Fconfig.json\"\nNEW_ENDPOINT=\"https:\u002F\u002Fcn-heyuan.log.aliyuncs.com\"\nNEW_PROJECT=\"ai-coding-devops\"\nNEW_LOGSTORE=\"loongsuite-pilot-for-intern-contest2\"\n\npython3 - \"$CONFIG\" \"$NEW_ENDPOINT\" \"$NEW_PROJECT\" \"$NEW_LOGSTORE\" \u003C\u003C'PY'\nimport json\nimport pathlib\nimport sys\n\npath = pathlib.Path(sys.argv[1]).expanduser()\nnew_endpoint, new_project, new_logstore = sys.argv[2:5]\nnew_sls = {\n    \"endpoint\": new_endpoint,\n    \"project\": new_project,\n    \"logstore\": new_logstore,\n}\n\ncfg = json.loads(path.read_text())\nsls = cfg.get(\"sls\")\n\ndef is_empty(value):\n    return value is None or value == {} or value == []\n\ndef same_endpoint(value):\n    return (\n        isinstance(value, dict)\n        and value.get(\"endpoint\") == new_sls[\"endpoint\"]\n        and value.get(\"project\") == new_sls[\"project\"]\n        and value.get(\"logstore\") == new_sls[\"logstore\"]\n    )\n\nif is_empty(sls):\n    cfg[\"sls\"] = new_sls\nelif isinstance(sls, list):\n    if not any(same_endpoint(item) for item in sls):\n        sls.append(new_sls)\n    cfg[\"sls\"] = sls\nelif isinstance(sls, dict):\n    if same_endpoint(sls):\n        cfg[\"sls\"] = sls\n    else:\n        cfg[\"sls\"] = [sls, new_sls]\nelse:\n    raise SystemExit(f\"unsupported sls config type: {type(sls).__name__}\")\n\npath.write_text(json.dumps(cfg, ensure_ascii=False, indent=2) + \"\\n\")\nPY\n```\n\n修改后执行：\n\n```bash\npython3 -m json.tool ~\u002F.loongsuite-pilot\u002Fconfig.json\n```\n\n告知用户：配置已写入，但需要 restart 后生效。\n\n如果用户明确要求 restart，例如“完成后执行 restart”、“帮我重启生效”，继续执行：\n\n```bash\n~\u002F.local\u002Fbin\u002Floongsuite-pilot restart\n~\u002F.local\u002Fbin\u002Floongsuite-pilot status\n~\u002F.local\u002Fbin\u002Floongsuite-pilot info\n```\n\n如果用户没有明确要求 restart，只提醒用户稍后执行：\n\n```bash\n~\u002F.local\u002Fbin\u002Floongsuite-pilot restart\n```\n\n同时提醒：对应 Logstore 必须在 SLS 控制台开启 WebTracking，否则上报会失败。\n\n---\n\n## 5. Linux 7U 补丁（glibc 兼容）\n\n> **仅限 Linux 7U 开发机**。其他环境跳过本节，直接执行第 2 节。\n\n用以下步骤替代第 2 节的\"步骤一\"，再执行第 2 节的\"步骤二\"：\n\n```bash\n# 安装 nvm + Node.js\ncurl -o- https:\u002F\u002Fraw.githubusercontent.com\u002Fnvm-sh\u002Fnvm\u002Fv0.39.7\u002Finstall.sh | bash\nnvm install 22\n\n# 打 glibc 补丁（补丁前 node -v 会报 glibc 版本错误）\ncurl -o- https:\u002F\u002Faliyun-observability-release-cn-shanghai.oss-cn-shanghai.aliyuncs.com\u002Floongsuite\u002Floongsuite-pilot\u002Fpatchelf_node_for_7u.sh | bash\n\nnode -v    # 补丁成功后正常输出版本号，再执行步骤二\n```\n\n---\n\n## 6. SSH 远程开发场景\n\n通过 Cursor \u002F Qoder SSH 连接远程开发机时：\n\n1. Pilot **必须安装在远程开发机**（本地 Mac 端无需安装）\n2. 远程机上按第 2 节或第 4 节的流程执行安装\n3. Hook 随 Cursor\u002FQoder Remote Server 在远端自动生效\n\n---\n\n## 7. 卸载\n\n```bash\n# 保留日志与配置（~\u002F.loongsuite-pilot\u002Flogs、config.json）\ncurl -fsSL https:\u002F\u002Faliyun-observability-release-cn-shanghai.oss-cn-shanghai.aliyuncs.com\u002Floongsuite\u002Floongsuite-pilot\u002Floongsuite-pilot-installer-inner.sh \\\n  | bash -s -- uninstall\n\n# 彻底清理（连同数据目录，不可恢复）\ncurl -fsSL https:\u002F\u002Faliyun-observability-release-cn-shanghai.oss-cn-shanghai.aliyuncs.com\u002Floongsuite\u002Floongsuite-pilot\u002Floongsuite-pilot-installer-inner.sh \\\n  | bash -s -- uninstall --purge\n```\n\n卸载脚本会自动清理 `loongsuite-pilot-ops\u002Freferences\u002F` 下的符号链接；本 `SKILL.md` 由用户手动维护，不受卸载影响。\n\n---\n\n## 8. 安装后的参考文档\n\npilot 安装成功后，以下两个文档自动写入本地，可直接打开阅读：\n\n| 文件 | 内容 |\n|------|------|\n| `~\u002F.loongsuite-pilot\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fdiagnostics.md` | 5 步系统化诊断排查 + 常见问题速查 |\n| `~\u002F.loongsuite-pilot\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fmonitoring.md` | 默认本地 Dashboard 与 `metrics-summary.json` + 全面健康检查 + 强制重启 + 版本回滚 |\n",{"name":5,"version":24,"description":7},"0.6.1","main","45f8dbcf8fcbddbf28843b948e80d51fbe93eecc","assets\u002Fskills\u002Floongsuite-pilot-ops",62,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot","https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot#readme","https:\u002F\u002Fgithub.com\u002Falibaba","Alibaba Open Source","2026-11-13 19:29:19",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add alibaba\u002Floongsuite-pilot --skill loongsuite-pilot-ops",{"tool":40,"command":41},"bunx","bunx skills add alibaba\u002Floongsuite-pilot --skill loongsuite-pilot-ops",{"tool":43,"command":44},"pnpm","pnpm dlx skills add alibaba\u002Floongsuite-pilot --skill loongsuite-pilot-ops","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002FSKILL.md",true,[48,54,58,62,66,70,74,78,82,86,90,94,98,102,106,110,114,118],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fclaude-code-diagnostics.md","REFERENCE","参考文档",16866,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fclaude-code-diagnostics.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fcodex-diagnostics.md",9673,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fcodex-diagnostics.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fcursor-diagnostics.md",11277,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fcursor-diagnostics.md",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fdiagnostics.md",5460,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fdiagnostics.md",{"path":67,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fmonitoring.md",3621,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fmonitoring.md",{"path":71,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fopencode-diagnostics.md",7825,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fopencode-diagnostics.md",{"path":75,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fqoder-cn-diagnostics.md",10515,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fqoder-cn-diagnostics.md",{"path":79,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fqoder-diagnostics.md",17305,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fqoder-diagnostics.md",{"path":83,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fqoder-jetbrains-diagnostics.md",11638,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fqoder-jetbrains-diagnostics.md",{"path":87,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fqoder-work-cn-diagnostics.md",10187,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fqoder-work-cn-diagnostics.md",{"path":91,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fqoderwork-diagnostics.md",18594,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fqoderwork-diagnostics.md",{"path":95,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fqwen-code-cli-diagnostics.md",10882,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fqwen-code-cli-diagnostics.md",{"path":99,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fservice-diagnostics.md",11864,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fservice-diagnostics.md",{"path":103,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fsls-diagnostics.md",9995,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fsls-diagnostics.md",{"path":107,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Fsqlite-diagnostics.md",13260,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fsqlite-diagnostics.md",{"path":111,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":112,"sourceHtmlUrl":113},"references\u002Fupdater-diagnostics.md",10322,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fupdater-diagnostics.md",{"path":115,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":116,"sourceHtmlUrl":117},"references\u002Fwatchdog-diagnostics.md",9163,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fwatchdog-diagnostics.md",{"path":119,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":120,"sourceHtmlUrl":121},"references\u002Fwukong-diagnostics.md",10564,"https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fassets\u002Fskills\u002Floongsuite-pilot-ops\u002Freferences\u002Fwukong-diagnostics.md",[123,129,136,143,150],{"skillNo":124,"name":5,"nameZh":6,"description":5,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":125,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":19},"01M758FQDVPN41QSTASDYTAMN0","https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002FSKILL.md",[],[],{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":19},"01M758GBSP48FKM8XSB17STN86","sls-dashboard-builder","当任务需要创建、修改、扩展或重组阿里云 SLS 的 dashboard JSON 或可导入的大盘配置时使用；尤其适用于线上大盘、强对比的分析看板、已校验的查询包，或需要专业中文标签与指标定义的运维向大盘。","https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fapp\u002Fqoder-plugin\u002Fagentloop\u002Fskills\u002Fsls-dashboard-builder\u002FSKILL.md",[],[],{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":19},"01M758G8WSPYD6Z0WYGYSZ1131","agentloop-collector-setup","准备 AgentLoop 云环境、登录与切换账户或查询目标，以及安装、配置或重新获取采集器（loongsuite-pilot）时使用。\nTriggers: \"登录 AgentLoop\", \"切换账户\", \"切换账号\", \"切换 AgentSpace\", \"切换查询目标\", \"切换 Project\", \"选择空间\", \"安装 loongsuite-pilot\", \"安装 pilot\", \"安装采集器\", \"loongsuite-pilot\", \"配置 loongsuite-pilot\".","https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fapp\u002Fqoder-plugin\u002Fagentloop\u002Fskills\u002Fagentloop-collector-setup\u002FSKILL.md",[],[],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":19},"01M758G65R52MTV8WACF1N4NXS","agentloop-audit-query","查询 AgentLoop 行为、Token、风险、意图、拦截和实体数据；按用户需求返回实际结果、验证 SQL 或 CLI\u002FSDK 接入材料。仪表盘制作使用 agentloop-audit-dashboard。","https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fapp\u002Fqoder-plugin\u002Fagentloop\u002Fskills\u002Fagentloop-audit-query\u002FSKILL.md",[],[],{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":19},"01M758G2XKWM915SYRH22W6PJC","agentloop-audit-dashboard","基于 LoongSuite Pilot 采集的 AI Agent 事件生成事件洞察、组织洞察、数据质量、研发效能和 AI Native 使用类 SLS 报表时使用；包含 agent-event \u002F agent-event-webtracking 应用事实、audit-event 意图审计与 incident-event 风险事件语义，以及团队报表可选的部门维表、dept_user 组织关系、指标口径和公共 CTE，通常与 sls-dashboard-builder 一起使用。\nTriggers: \"报表\", \"生成报表\", \"HTML 报表\", \"审计报表\", \"大盘\", \"dashboard\", \"事件洞察\", \"团队报表\".","https:\u002F\u002Fgithub.com\u002Falibaba\u002Floongsuite-pilot\u002Fblob\u002Fmain\u002Fapp\u002Fqoder-plugin\u002Fagentloop\u002Fskills\u002Fagentloop-audit-dashboard\u002FSKILL.md",[],[]]