Install
openclaw skills install @h4444433333/tree-graph-ragGuide for designing and implementing a PostgreSQL database that fuses PageIndex-style document trees with LightRAG-style entity-relationship anchors. Use this skill when Claude needs to design schemas, write ingestion logic, or implement retrieval SQL for a hybrid tree-graph knowledge base, especially when converting nested tree output into relational tables.
openclaw skills install @h4444433333/tree-graph-ragThis skill teaches Claude how to build the database layer of a Tree-Graph Hybrid RAG system. It focuses on the integration seam between PageIndex-style tree output and LightRAG-style graph extraction, both stored in PostgreSQL.
node_id in the Tree, enabling bidirectional traversal (from graph detail to tree context, or tree context to graph detail).This skill includes the minimum resources needed to teach Claude the database design and data flow:
nodes and text to node_contents.node_contents to an LLM to extract entities and relations.node_id as a foreign key.entities and relationships tables to find matching factual details.node_ids associated with the matched graph elements.nodes table using the node_ids. Traverse up (parent_id) to gather the section titles and summaries.node_contents only for the required nodes.When this skill is triggered, prefer producing:
node_idnodes or entities tables.workspace.relationships -> nodes -> node_contents to demonstrate the hybrid power.