一键导入
wiki-graph-query
// SOP wrapping vault_query_graph — traverse knowledge graph from a node to explore its neighborhood and context.
// SOP wrapping vault_query_graph — traverse knowledge graph from a node to explore its neighborhood and context.
SOP wrapping vault_add_edge — create a typed relationship between two vault pages.
SOP for wiki page creation/update — create or update a synthesized wiki page with edges and index update.
SOP for source page creation — write immutable source page capturing raw material, then update search index.
SOP wrapping vault_lint — run batch validation, report issues, optionally auto-fix safe problems.
SOP wrapping vault_search — BM25 full-text search across vault pages. Returns ranked results with snippets.
Tactic for compiling research findings into vault pages — orchestrates page creation, updates, edge linking, and index maintenance. Minimum yield ≥3 page operations per invocation.
| name | wiki-graph-query |
| description | SOP wrapping vault_query_graph — traverse knowledge graph from a node to explore its neighborhood and context. |
| execution | sop |
| used-by | knowledge-compilation, vault-maintenance |
Explore the neighborhood of a node in the knowledge graph. Used for understanding context before updates, finding connection opportunities, and identifying orphans.
vault_query_graph
| Param | Required | Description |
|---|---|---|
| node | yes | Starting node path (e.g., "concepts/attention.md") |
| direction | yes | Traversal direction: "in", "out", or "both" |
| edge_type | no | Filter by edge type |
| depth | no | Traversal depth (default 1, max 3) |
vault_query_graph with node, direction, and optional filtersReturns: { nodes_found: number, edges_found: number, subgraph: object }