# Wiki Graph Query

> Wiki Graph Query is an Agent Skill for research published in the yogsoth-ai/de-anthropocentric-research-engine repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

SOP wrapping vault_query_graph — traverse knowledge graph from a node to explore its neighborhood and context.

- Skill name: `wiki-graph-query`
- Category: [Research](https://www.openparable.com/skill/research/1)
- Source: https://github.com/yogsoth-ai/de-anthropocentric-research-engine/blob/HEAD/skills/wiki-graph-query/SKILL.md
- Repository: yogsoth-ai/de-anthropocentric-research-engine (386 GitHub stars when collected)

## SKILL.md

# Wiki Graph Query

Explore the neighborhood of a node in the knowledge graph. Used for understanding context before updates, finding connection opportunities, and identifying orphans.

## HARD-GATE

<HARD-GATE>
Node path must reference an existing file in the vault.
Verify the file exists before calling vault_query_graph.
</HARD-GATE>

## Tool

`vault_query_graph`

## Parameters

| 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) |

## Protocol

1. Confirm node file exists in vault
2. Call `vault_query_graph` with node, direction, and optional filters
3. Analyze subgraph: identify clusters, orphan branches, missing connections
4. Return subgraph data to calling tactic

## Yield

Returns: `{ nodes_found: number, edges_found: number, subgraph: object }`

---

Source: https://www.openparable.com/skill/research/wiki-graph-query (OpenParable). Cite the canonical URL above.
