一键导入
wiki-add-edge
SOP wrapping vault_add_edge — create a typed relationship between two vault pages.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
SOP wrapping vault_add_edge — create a typed relationship between two vault pages.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
SOP for detecting and resolving concept aliases — merge duplicate pages, redirect edges.
SOP for creating a claim page in the vault — atomic proposition with type classification, source attribution, and initial confidence.
SOP for creating a new concept page with proper frontmatter, content, and initial edges.
SOP for flagging contradictions in the causal model — identify conflicting evidence or mechanism claims.
SOP for creating a dimension page — documents an axis of variation with its values and semantics.
SOP for creating multiple edges in a batch — efficient bulk relationship creation.
| name | wiki-add-edge |
| description | SOP wrapping vault_add_edge — create a typed relationship between two vault pages. |
| execution | sop |
| used-by | knowledge-compilation, vault-maintenance |
Create a typed edge between two pages in the knowledge graph.
vault_add_edge
| Param | Required | Description |
|---|---|---|
| source | yes | Source page path (e.g., "concepts/transformer.md") |
| target | yes | Target page path (e.g., "concepts/attention.md") |
| edge_type | yes | One of: component_of, instance_of, supported_by, contradicts, supersedes, derived_from, addresses, raises, failed_for, related_to |
| weight | no | Edge weight 0.0-1.0 (default 1.0) |
vault_add_edge[[dir/slug]] pointing to the target (dir/slug = target path minus .md). Place at a semantically relevant location. If already present, skip. If no suitable location, append a sentence containing the wikilink at end of body.| Relationship | Edge Type |
|---|---|
| A is part of B | component_of |
| A is an example of B | instance_of |
| A provides evidence for B | supported_by |
| A conflicts with B | contradicts |
| A replaces B | supersedes |
| A was built from B | derived_from |
| A answers/solves B | addresses |
| A creates/implies B (question) | raises |
| A didn't work for B | failed_for |
| A is related to B (weak) | related_to |
Returns: { success: boolean, edge_type: string, edge_count: number }