AI Agent Hub
Back to skills
Universal Knowledge Graph Builder icon

Universal Knowledge Graph Builder

Knowledge Management Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md and install @user_19a6d235/knowledge-graph-builder.

About this skill

Problem

Technical documents, product notes, research papers, and code explanations often live across Markdown, PDF, and code files. Maintaining a manual index, summary, or relationship map can lag behind the content and makes it harder to answer questions such as where a concept appears. knowledge-graph-builder targets a local document directory and converts parseable content into a queryable, interactive knowledge graph rather than a static file listing.

Workflow

The skill checks the Python environment and LLM API configuration, then scans the document directory and estimates the token budget. Only after the user confirms the budget and parameters does it call the model to extract nodes and edges. The result is written to graph.json, then rendered into a single-file HTML page using an inline D3.js template that can be opened offline. When new documents are added later, it detects added, changed, and removed files, then performs an incremental update or full rebuild while reusing the existing configuration.

Boundaries

It depends on an external LLM API, so build time and cost scale with corpus size and model-call volume. 401, 429, proxy, or network errors require explicit configuration, concurrency, or network adjustments. It fits local knowledge organization and shared read-only exploration, not real-time synchronization, fine-grained permissions, or high-frequency collaborative editing.

Use Cases

  • Organize scattered technical notes into an interactive concept map
  • Build a local Markdown and PDF knowledge base for intranet sharing
  • Refresh an existing graph after adding a few new documents

Best For

  • Technical writers who need local notes turned into queryable pages
  • Product managers building shared browsing entry points for team docs
  • Engineers maintaining personal research materials with updates