wiki-export

Export Obsidian wikilink graphs into graph.json, graph.graphml, cypher.txt, and graph.html.

Updated Feb 2, 2016
One-click install
npx skills add https://github.com/zjykzk/blog --skill wiki-export-zjykzk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wiki-export
Source: https://github.com/zjykzk/blog/tree/main/.agents/skills/wiki-export
Command: npx skills add https://github.com/zjykzk/blog --skill wiki-export-zjykzk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Exports the Obsidian wiki's wikilink graph into structured formats so it can be used in external tools like Gephi, Neo4j, or custom scripts for visualization, analysis, and integration.

Core Features & Use Cases

  • Generate graph.json, graph.graphml, cypher.txt, and graph.html to interoperate with graph databases, visualization tools, and custom pipelines.
  • Apply project and visibility filters to focus exports on relevant subsets of pages, edges, and relationships.
  • Create a browsable visualization in graph.html and structured edge data for analysis and reporting.

Quick Start

Run the wiki-export skill against your vault to produce graph.json, graph.graphml, cypher.txt, and graph.html in a wiki-export/ directory.

Frequently Asked Questions about wiki-export

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I export my Obsidian wiki graph to Neo4j?

To export your Obsidian wiki graph to Neo4j, you generate a cypher.txt file containing structured node and edge data. This file provides the Cypher queries needed to import your wikilink graph directly into a Neo4j database.

Can I use Graphviz to visualize an Obsidian knowledge graph?

Yes, you can export the Obsidian wikilink graph to structured formats like graph.json and graph.html for visualization. These files provide the structured edge data and interactive browsable output needed to map your knowledge graph in external visualization tools.

What is the best way to filter Obsidian pages when exporting a wikilink graph?

The best way to filter pages when exporting a wikilink graph is to apply project and visibility filters during the export process. This refines the exported node and edge set, allowing you to focus the output on relevant subsets of your vault.

Does exporting an Obsidian wiki graph to GraphML support typed relationships?

Yes, exporting to GraphML supports typed relationships by parsing frontmatter and extracting wikilinks to structure the node and edge data. The export process satisfies the requirements for typed relationships and community labeling needed for graph analysis.

How do I run a wiki export to generate graph analysis files?

You run the wiki-export skill against your Obsidian vault to automatically produce graph.json, graph.graphml, cypher.txt, and graph.html files. These files are generated in a wiki-export directory for immediate use in custom pipelines.

Why do I need to export Obsidian vault data for Gephi?

You need to export Obsidian vault data for Gephi because Obsidian stores links internally, while Gephi requires structured formats like GraphML. Exporting translates your wikilinks and frontmatter into structured edge data for external network analysis.