mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 03:10:46 +08:00
Evaluate keeps match keys for normalize/map pairing while diffs, reds, and the board show collected ports plus show-command provenance; add monitor-context and command-raw read APIs with biz-monitor:read scope. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
1.3 KiB
Markdown
21 lines
1.3 KiB
Markdown
# netx skills(唯一真源)
|
||
|
||
**一组一个 skill。** 只在这里改正文。
|
||
|
||
| Group | Skill bundle | 工具(MCP 裸名 / DSH = `netx__`+stem) |
|
||
|-------|--------------|----------------------------------------|
|
||
| `ops` | `ops/netx-ops/` | NMS 告警/库存/SQL + managed CLI + `findTopologyPaths` |
|
||
| `topology` | `topology/netx-topology/` | 画布 / Fabric / dual_unit / 布图 |
|
||
| `biz-monitor` | `biz-monitor/netx-biz-monitor/` | 割接/业务监控只读分析(**netxops 宿主工具**直连 REST;非 netx-mcp) |
|
||
| `biz-state` | `biz-state/netx-biz-state/` | 状态监控:TextFSM / parser / Profile(Cursor Agent;无 DSH 工具) |
|
||
|
||
## DSH 怎么用
|
||
|
||
1. 运行时优先:`NETX_SKILLS_ROOT` → 旁路 `../netx/skills` → 包内 `presets/netxops/skills`
|
||
2. 发 npm 前:`powershell -File netxops/scripts/sync-skills-from-netx.ps1`
|
||
3. Settings → 能力组开关:开哪组就注册哪组的 **tools + 对应 skill**(含 **bizMonitor**)
|
||
4. 其它预设可强制挂:`dsh-netxops/tools-ops|topology|biz-monitor`(旧别名 `tools-nms` / `tools-common` → ops)
|
||
|
||
MCP / Cursor:skill 根直接指本目录。MCP 包内不镜像 skills。业务监控分析工具只在 **netxops**,不要往 netx-mcp 加。
|
||
|
||
**Cursor Agent**:加 biz_state 监控命令时启用或点名 **netx-biz-state**(`skills/biz-state/netx-biz-state/`)。
|