AI & Integration v1.0.0

spectral-topology

Spectral Topology Engine — Skill Overview Detect structural holes, hidden dependencies, and missing links in directed...

evezart 更新于 2026-06-28 1 浏览
下载 SKILL

技能说明

Spectral Topology Engine — Skill Overview Detect structural holes, hidden dependencies, and missing links in directed networks using eigenvalue decomposition of a combined adjacency + similarity matrix. Location `/home/openclaw/.openclaw/workspace/topology-engine/topology_engine.py` Quick Usage from

使用场景

Spectral Topology Engine — Skill Overview Detect structural holes, hidden dependencies, and missing links in directed networks using eigenvalue decomposition of a combined adjacency + similarity matrix. Location `/home/openclaw/.openclaw/workspace/topology-engine/topology_engine.py` Quick Usage from

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/spectral-topology
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 17 kB
SKILL.md text/markdown
# Spectral Topology Engine — Skill

## Overview
Detect structural holes, hidden dependencies, and missing links in directed networks using eigenvalue decomposition of a combined adjacency + similarity matrix.

## Location
`/home/openclaw/.openclaw/workspace/topology-engine/topology_engine.py`

## Quick Usage

```python
from topology_engine import GraphBuilder, SpectralTopologyAnalyzer, quick_analyze

# From edge list: (source, target, weight)
report = quick_analyze([(0,1,1.0), (1,2,1.0), (2,0,1.0)], n_nodes=3, alpha=0.3)
print(report.summary())

# With metadata similarity
features = np.array([[1,0], [0.9,0.1], [0,1]])
sim = GraphBuilder.cosine_similarity_matrix(features)
adj = GraphBuilder.from_edge_list(3, [(0,1,1.0), (1,2,1.0)])
analyzer = SpectralTopologyAnalyzer(alpha=0.3)
report = analyzer.analyze(adj, similarity=sim)
```

## Key Concepts
- **Negative eigenvalues** = structural gaps (edges that should exist but don't)
- **Alpha** = weighting for metadata similarity vs explicit graph structure (default 0.3)
- **Spectral gap** = difference between largest eigenvalues (measures overall connectivity)
- **Cohesion vectors** = identify which nodes participate in each gap

## Output
- `TopologyReport` with `.summary()` for human-readable output
- `.to_json(path)` for export
- `.gaps` list of `StructuralGap` objects with eigenvalue, node_indices, node_weights

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。