exploring-knowledge-graphlisted
Install: claude install-skill rjmurillo/ai-agents
# Exploring the Knowledge Graph
Forgetful stores knowledge as an interconnected graph: memories link to other memories, entities link to memories, and entities relate to each other. Deep exploration reveals context that simple queries miss.
## Triggers
| Trigger Phrase | Operation |
|----------------|-----------|
| `what do you know about X` | Full knowledge graph traversal |
| `how do I explore the knowledge graph` | Graph exploration workflow |
| `how are these concepts connected` | Entity relationship traversal |
| `give me comprehensive context on X` | Deep multi-phase exploration |
| `map out related knowledge for X` | Entity discovery and memory linking |
---
## When to Explore
Explore the knowledge graph when:
- Starting complex work that spans multiple topics
- User asks "what do you know about X"
- Planning requires understanding existing decisions/patterns
- Investigating how concepts connect across projects
- Need comprehensive context, not just top search results
## Exploration Phases
Track visited IDs to prevent cycles. Execute phases sequentially.
### Phase 1: Semantic Entry Point
```javascript
execute_forgetful_tool("query_memory", {
"query": "<topic>",
"query_context": "Exploring knowledge graph for comprehensive context",
"k": 5,
"include_links": true,
"max_links_per_primary": 5
})
```
Collect: `primary_memories` + `linked_memories` (1-hop connections).
### Phase 2: Expand Memory Details
For key memories, get full details:
```javascri