majiayu000/claude-skill-registry-data/exploring-knowledge-graph
Claude Code and agent skill by majiayu000/claude-skill-registry-data
- community
Checking that the SKILL.md file is still in the repository.
Author "majiayu000" has blocked skill(s)
Use when user asks "what do you know about X", when planning complex work that spans multiple topics, when investigating how concepts connect across projects, or when simple memory queries don't provide enough context. Deep traversal of Forgetful MCP knowledge graph (mcp__forgetful__* tools).
Install
npx vskill@latest install majiayu000/claude-skill-registry-data/exploring-knowledge-graphSKILL.md
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.
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
Collect: primary_memories + linked_memories (1-hop connections).
Phase 2: Expand Memory Details
For key memories, get full details:
Extract: document_ids, code_artifact_ids, project_ids, additional linked_memory_ids.
Phase 3: Entity Discovery
Find entities in discovered projects:
Phase 4: Entity Relationships
For relevant entities, map relationship graph:
Relationship types: works_for, owns, manages, collaborates_with, etc.
Phase 5: Entity-Linked Memories
For each entity, find all linked memories:
Returns {"memory_ids": [...], "count": N}. Fetch any new memories not already visited.
Presenting Results
Group findings by type:
Memories: Primary (direct matches) → Linked (1-hop) → Entity-linked (via entities)
Entities: Name, type, relationship count, linked memory count
Artifacts: Documents and code snippets found via memory links
Graph Summary: Total nodes, key themes, suggested follow-up queries
Depth Control
- Shallow (phases 1-2): Quick context, ~5-15 memories
- Medium (phases 1-4): Include entities and relationships
- Deep (all phases): Full graph traversal, comprehensive context
Match depth to task complexity. Start shallow, go deeper if context insufficient.
Efficiency Tips
- Check
truncatedflag from query_memory (8000 token budget) - Skip Phase 3-5 if no entities exist in discovered projects
- Use
project_idsfilter to scope exploration - Stop expanding when hitting diminishing returns
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdesign/exploring-knowledge-graph/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/majiayu000/claude-skill-registry-data/exploring-knowledge-graph)